Skip to content

Commit e9c221c

Browse files
authored
fix permissions for codeql-action (#3800)
1 parent 142dfc8 commit e9c221c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
runs-on: ubuntu-latest
173173
permissions:
174174
contents: read # for actions/checkout
175-
security-events: write
175+
security-events: write # for codeql-action
176176
steps:
177177
- name: Checkout repo
178178
uses: actions/checkout@v3

.github/workflows/pull_request.yml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ jobs:
55
ci:
66
permissions:
77
contents: read # for actions/checkout
8+
security-events: write # for codeql-action
89
uses: ./.github/workflows/ci.yml
910

1011
dependency-review:

0 commit comments

Comments
 (0)