Skip to content

Commit 9473576

Browse files
committed
Updates the permissions block to be minimal
And adds a permissions block to the README.
1 parent 8ddd620 commit 9473576

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
versions: ${{ steps.compare.outputs.versions }}
1818

1919
permissions:
20-
actions: read
21-
contents: read
2220
security-events: write
2321

2422
steps:
@@ -68,8 +66,6 @@ jobs:
6866
runs-on: ${{ matrix.os }}
6967

7068
permissions:
71-
actions: read
72-
contents: read
7369
security-events: write
7470

7571
steps:

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
4343
runs-on: ubuntu-latest
4444

45+
permissions:
46+
security-events: write
47+
4548
steps:
4649
- name: Checkout repository
4750
uses: actions/checkout@v2

0 commit comments

Comments
 (0)