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
This commit is contained in:
Blue 2024-08-01 13:15:23 -07:00 committed by GitHub
parent d41e2be704
commit ca8133df72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

17
.github/workflows/distributions.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Validate distributions
on:
pull_request:
paths: ['distributions/**']
jobs:
check:
name: Validate distributions
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Run validation
run: python distributions/validate.py distributions/DistributionInfo.json
shell: bash