diff --git a/.github/workflows/advisory-scan.yml b/.github/workflows/advisory-scan.yml new file mode 100644 index 0000000..cc4acc0 --- /dev/null +++ b/.github/workflows/advisory-scan.yml @@ -0,0 +1,18 @@ +# Weekly advisory scan for SHA-pinned GitHub Actions. Findings appear as +# code-scanning alerts in the Security tab. +name: Advisory scan + +on: + schedule: + - cron: "37 4 * * 1" + workflow_dispatch: + +permissions: {} + +jobs: + scan: + permissions: + contents: read + security-events: write # upload SARIF to code scanning + actions: read # upload-sarif reads the workflow run on private repositories + uses: DevelopmentFinanceObservatory/.github/.github/workflows/advisory-scan.yml@3bdabfd8bc9289bc0957be2f8b7f91bbdc52a751 # main