Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ on:

permissions:
contents: read
actions: read
security-events: write

jobs:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/goCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ jobs:
PAT: ${{ secrets.PAT }}

# NOTE(@azazeal): callers that set run-codeql: true must also grant
# security-events: write to the job that calls goCI.yml. Reusable workflows
# cannot be granted more than the caller has.
# actions: read and security-events: write to the job that calls goCI.yml.
# Reusable workflows cannot be granted more than the caller has.
#
# ref: https://docs.github.com/en/actions/reference/reusable-workflows-reference
codeql:
Expand All @@ -176,6 +176,7 @@ jobs:
build-mode: ${{ inputs.codeql-build-mode }}
permissions:
contents: read
actions: read
security-events: write
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
Expand Down