Skip to content

Commit 3719b64

Browse files
authored
Merge pull request #298 from AdnaneKhan/update/scopedown-github-token
Scope down GitHub Token permissions
2 parents d4bd0dd + 1d21cde commit 3719b64

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ on:
2424
# GitHub codeowners
2525
- '.github/CODEOWNERS'
2626

27+
28+
permissions:
29+
contents: read
30+
2731
concurrency:
2832
group: ${{ github.ref }}
2933
cancel-in-progress: true

.github/workflows/validate-changelog.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
paths:
66
- 'CHANGELOG.md'
77

8+
9+
permissions:
10+
contents: read
11+
812
jobs:
913
validate:
1014
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)