Skip to content

Commit fed682a

Browse files
YPandasYuqi Huang
andauthored
scoped down github action permission to the minimum required permission (#1276)
Co-authored-by: Yuqi Huang <[email protected]>
1 parent 31945d1 commit fed682a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ on:
2020
schedule:
2121
- cron: '41 13 * * 2'
2222

23+
permissions:
24+
security-events: write
25+
2326
jobs:
2427
analyze:
2528
name: Analyze
@@ -41,6 +44,7 @@ jobs:
4144
- name: Initialize CodeQL
4245
uses: github/codeql-action/init@v2
4346
with:
47+
aws-region: us-west-2
4448
languages: ${{ matrix.language }}
4549
# If you wish to specify custom queries, you can do so here or in a config file.
4650
# By default, queries listed here will override any specified in a config file.

0 commit comments

Comments
 (0)