mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 00:44:55 -06:00
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:
parent
d41e2be704
commit
ca8133df72
17
.github/workflows/distributions.yml
vendored
Normal file
17
.github/workflows/distributions.yml
vendored
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user