File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : ' SFTI Lint Specifications: OpenAPI Compliance'
22
33on :
4- pull_request :
54 push :
65 branches :
76 - main
Original file line number Diff line number Diff line change 11name : ' SFTI Lint PRs'
22
33on :
4- pull_request :
4+ workflow_run :
5+ workflows :
6+ - ' SFTI Bundle API specification'
57 types :
6- - opened
7- - reopened
8- - synchronize
9- paths-ignore :
10- - ' src/**'
8+ - completed
119
1210jobs :
1311 bundle-run-status :
1412 uses : swissfintechinnovations/.github/.github/workflows/reusable-bundle-status-workflow.yaml@main
13+ with :
14+ bundle_status : ${{ github.event.workflow_run.conclusion }}
1515
1616 yaml-lint-src :
17- needs : bundle-run-status
18- if : ${{ always() }}
1917 uses : swissfintechinnovations/.github/.github/workflows/reusable-lint-yaml-workflow.yaml@main
2018 with :
2119 filenames : ' src/**.yaml'
2220
2321 yaml-lint :
24- needs : bundle-run-status
25- if : ${{ success() }}
22+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
2623 uses : swissfintechinnovations/.github/.github/workflows/reusable-lint-yaml-workflow.yaml@main
2724 with :
2825 filenames : ' *.yaml'
2926
3027 openapi-lint :
31- needs : bundle-run-status
32- if : ${{ success() }}
28+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
3329 uses : swissfintechinnovations/.github/.github/workflows/reusable-lint-openapi-workflow.yaml@main
3430 with :
3531 filenames : ' *.yaml'
You can’t perform that action at this time.
0 commit comments