Repository navigation
Security scan #691
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: Security scan | |
| # Scans this repo (the org-wide reusable workflows live here) via the reusable | |
| # security-scan: gitleaks + osv-scanner + zizmor (GitHub Actions security) on | |
| # every push/PR, trufflehog deep-history on schedule. This replaces the old | |
| # SonarQube job, which had no GitHub Actions analyzer and so never delivered | |
| # the workflow analysis it was added for — zizmor does. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| - cron: '0 6 * * *' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| permissions: | |
| contents: read | |
| security-events: write | |
| jobs: | |
| scan: | |
| name: Secrets + CVE + Actions | |
| uses: ./.github/workflows/reusable-security-scan.yml | |
| secrets: inherit |