File tree Expand file tree Collapse file tree 4 files changed +91
-40
lines changed
Expand file tree Collapse file tree 4 files changed +91
-40
lines changed Original file line number Diff line number Diff line change 77jobs :
88 docs-test-job :
99 name : ' Tests for variables.yaml'
10- if : " github.event_name == 'pull_request' || github.event_name == 'push'"
10+ if : github.event_name == 'pull_request' || github.event_name == 'push'
1111 runs-on : ubuntu-latest
1212 container :
1313 image : openroad/ubuntu-cpp20
@@ -19,13 +19,17 @@ jobs:
1919 - name : Run generate-variables-docs.py
2020 run : |
2121 python3 flow/scripts/generate-variables-docs.py
22+ - name : Check if FlowVariables.md is up to date
23+ run : |
24+ git diff --exit-code docs/user/FlowVariables.md
2225 - name : Run yamlfix check
2326 run : |
27+ pip install yamlfix==1.17.0
2428 yamlfix -c yamlfix.toml flow/scripts/variables.yaml --check
2529
2630 docs-pr-update :
2731 name : ' Create PR to update ORFS FlowVariables.md and variables.yaml'
28- if : " github.event_name == 'pull_request' || github.event_name == ' push'"
32+ if : github.event_name == 'push'
2933 needs :
3034 - docs-test-job
3135 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments