Browse Source

Explicit Permissions for codeql.yml

pull/11338/head
Rob Winch 6 months ago
parent
commit
2c5bd4c916
No known key found for this signature in database
  1. 6
      .github/workflows/codeql.yml

6
.github/workflows/codeql.yml

@ -7,7 +7,11 @@ on: @@ -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

Loading…
Cancel
Save