commit from snyk #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: main | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - release/* | ||
| - snapshot/* | ||
| tags: | ||
| - v* | ||
| pull_request: | ||
| merge_group: | ||
| release: | ||
| types: | ||
| - published | ||
| jobs: | ||
| # First job: Run snyk workflow only for snyk-* branches | ||
| snyk: | ||
| name: 'snyk workflow' | ||
| if: ${{ startsWith(github.head_ref, 'snyk-') || startsWith(github.ref_name, 'snyk-') }} | ||
| uses: ./.github/workflows/snyk.yml | ||
|
Check failure on line 21 in .github/workflows/main.yml
|
||
| secrets: inherit | ||
| # Second job: Run docs workflow | ||
| docs: | ||
| name: 'docs workflow' | ||
| needs: [snyk] | ||
| if: ${{ always() && (needs.snyk.result == 'success' || needs.snyk.result == 'skipped') }} | ||
| uses: ./.github/workflows/doc.yml | ||
| secrets: inherit | ||
| # Third job: Run ci workflow | ||
| ci: | ||
| name: 'ci workflow' | ||
| needs: [snyk] | ||
| if: ${{ always() && (needs.snyk.result == 'success' || needs.snyk.result == 'skipped') }} | ||
| uses: ./.github/workflows/ci.yml | ||
| secrets: inherit | ||