Test failure scenarios #4
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
| # OSV-Scanner PR scanning reusable workflow, can be used as a PR action to | |
| # detect new vulnerabilities being introduced. | |
| name: Use OSV to do SCA on main (daily) and PRs | |
| on: | |
| pull_request: | |
| branches: [main] | |
| merge_group: | |
| branches: [main] | |
| schedule: | |
| - cron: 0 0 * * * | |
| push: | |
| branches: [main] | |
| jobs: | |
| ## run the following on PRs | |
| osv-scan-pr: | |
| uses: digitalbazaar/github-workflow-shared-action-osv-scanner/.github/workflows/osv-scanner-pr.yaml@325a12e8844d1e9664e69208f46b47760d1a8ca3 | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| ## run the following only on the main branch | |
| osv-scan-main: | |
| uses: digitalbazaar/github-workflow-shared-action-osv-scanner/.github/workflows/osv-scanner-main.yaml@325a12e8844d1e9664e69208f46b47760d1a8ca3 | |
| permissions: | |
| contents: read | |
| issues: write |