Add CI logic to run distribution check when DistributionInfo.json is modified (#11868)

* Add CI logic to run distribution check when DistributionInfo.json is modified * Trigger workflow * Fix workflow name * Undo change

Blue committed Aug 1, 2024 at 13:15 UTC ca8133df722ae95392714ad7994b7199b35c96b9
1 file changed +17
.github/workflows/distributions.yml new
+17
@@ -0,0 +1,17 @@
1 +name: Validate distributions
2 +
3 +on:
4 + pull_request:
5 + paths: ['distributions/**']
6 +
7 +jobs:
8 + check:
9 + name: Validate distributions
10 + runs-on: ubuntu-latest
11 + steps:
12 + - name: Checkout repo
13 + uses: actions/checkout@v4
14 +
15 + - name: Run validation
16 + run: python distributions/validate.py distributions/DistributionInfo.json
17 + shell: bash