Skip to content

Commit dc56e9d

Browse files
Add workflow permissions
1 parent f8f35c5 commit dc56e9d

18 files changed

+49
-0
lines changed

.github/workflows/code-scanning-pack-gen.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Code Scanning Query Pack Generation
2+
permissions:
3+
contents: read
24

35
on:
46
merge_group:

.github/workflows/codeql_unit_tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: CodeQL Unit Testing
2+
permissions:
3+
contents: read
24

35
on:
46
merge_group:

.github/workflows/dispatch-matrix-test-on-comment.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: 🤖 Run Matrix Check (On Comment)
2+
permissions:
3+
contents: read
4+
actions: write
5+
pull-requests: write
26

37
on:
48
issue_comment:

.github/workflows/dispatch-release-performance-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: 🏁 Run Release Performance Check
2+
permissions:
3+
contents: read
4+
actions: write
5+
pull-requests: write
26

37
on:
48
issue_comment:

.github/workflows/extra-rule-validation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: ⚙️ Extra Rule Validation
2+
permissions:
3+
contents: read
24

35
on:
46
merge_group:

.github/workflows/finalize-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
name: Finalize Release
2+
permissions:
3+
contents: write
4+
pull-requests: write
5+
actions: write
6+
27
on:
38
pull_request:
49
types:

.github/workflows/generate-html-docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Generate HTML documentation
2+
permissions:
3+
contents: read
24

35
on:
46
merge_group:

.github/workflows/standard_library_upgrade_tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: CodeQL Standard Library Upgrade tests
2+
permission:
3+
contents: read
24

35
# Run this workflow every time the "supported_codeql_configs.json" file is changed
46
on:

.github/workflows/tooling-unit-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: 🧰 Tooling unit tests
2+
permissions:
3+
contents: read
24

35
on:
46
merge_group:

.github/workflows/update-check-run.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Update check run
2+
permissions:
3+
contents: read
24

35
on:
46
workflow_dispatch:

0 commit comments

Comments
 (0)