Skip to content

Commit bfbe6c6

Browse files
authored
chore: add permissions for github actions (#4905)
1 parent 2e45c91 commit bfbe6c6

File tree

9 files changed

+30
-0
lines changed

9 files changed

+30
-0
lines changed

.github/workflows/announce.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Slack Announcement
22

3+
permissions:
4+
contents: read
5+
36
on:
47
release:
58
types:

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# or to provide custom queries or build logic.
66
name: "CodeQL"
77

8+
permissions:
9+
contents: read
10+
811
on:
912
push:
1013
branches: [master, v1]

.github/workflows/coverage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: CodeCov Coverage
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
pull_request:

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Documentation Workflows
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
pull_request:
48
merge_group:

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Lint
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
pull_request:
48
merge_group:

.github/workflows/nightly.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Nightly Acceptance Tests
22

3+
permissions:
4+
contents: read
5+
36
on:
47
schedule:
58
# Will run at 00:00 every day

.github/workflows/purge.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Manual Purge
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
workflow_dispatch:
48

.github/workflows/unit-tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Tests
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
merge_group:

.github/workflows/wasm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: WebAssembly
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
merge_group:

0 commit comments

Comments
 (0)