Skip to content

Commit 8a58080

Browse files
authored
ci(workflows): add permissions (#669)
1 parent dbfeab2 commit 8a58080

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

Diff for: .github/workflows/codeql-analysis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ on:
1010
schedule:
1111
- cron: '0 13 * * 5'
1212

13+
permissions:
14+
contents: read
15+
actions: read
16+
security-events: write
17+
1318
jobs:
1419
CodeQL-Build:
1520

Diff for: .github/workflows/release.yml

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ name: Release
66
- next
77
- beta
88
- "*.x"
9+
10+
permissions:
11+
contents: read
12+
913
jobs:
1014
release:
1115
name: release

Diff for: .github/workflows/test.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ name: Test
88
types:
99
- opened
1010
- synchronize
11+
12+
permissions:
13+
contents: read
14+
1115
jobs:
1216
test_matrix:
1317
runs-on: ubuntu-latest

Diff for: .github/workflows/update-prettier.yml

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Update Prettier
33
push:
44
branches:
55
- renovate/prettier-*
6+
7+
permissions:
8+
contents: read
9+
610
jobs:
711
update_prettier:
812
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)