diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ad75e6c..1a66310 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -8,6 +8,11 @@ on: schedule: - cron: "0 6 * * 1" +# Default-deny at the top level (Scorecard Token-Permissions); the +# analyze job below re-grants exactly what CodeQL needs. +permissions: + contents: read + jobs: analyze: name: Analyze