Skip to content

Commit 89dbd4a

Browse files
committed
Remove unnecessary permissions from codeql.yml
This is another change back to the way we had it before, but the removals are based specifically on the guidance in the default workflow comments about why each permission was given by default.
1 parent d7ce09f commit 89dbd4a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/codeql.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,8 @@ jobs:
2727
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
2828
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
2929
permissions:
30-
# required for all workflows
3130
security-events: write
3231

33-
# required to fetch internal or private CodeQL packs
34-
packages: read
35-
36-
# only required for workflows in private repositories
37-
actions: read
38-
contents: read
39-
4032
strategy:
4133
fail-fast: false
4234
matrix:

0 commit comments

Comments
 (0)