| 1 | name: Code Scan Cron |
| 2 | |
| 3 | on: |
| 4 | schedule: |
| 5 | - cron: '0 0 * * SUN' |
| 6 | |
| 7 | jobs: |
| 8 | code-scan: |
| 9 | permissions: |
| 10 | actions: read |
| 11 | contents: read |
| 12 | security-events: write |
| 13 | uses: smallstep/workflows/.github/workflows/code-scan.yml@main |
| 14 | secrets: inherit |
| 15 | with: |
| 16 | codeql-build-mode: manual # tell codeql we'll build; skips autobuild's Makefile heuristic |
| 17 | codeql-build-cmd: go build ./... |