From 888d87619d3feb4616d927324229b85ad5e517a1 Mon Sep 17 00:00:00 2001 From: Rob Winch <362503+rwinch@users.noreply.github.com> Date: Tue, 10 Jun 2025 10:46:23 -0500 Subject: [PATCH] Explicit Permissions for codeql.yml --- .github/workflows/codeql.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 60b01f76f1..dabe0665f0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -7,7 +7,11 @@ on: schedule: # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule - cron: '0 5 * * *' - +permissions: read-all jobs: codeql-analysis-call: + permissions: + actions: read + contents: read + security-events: write uses: spring-io/github-actions/.github/workflows/codeql-analysis.yml@1