Skip to content

Commit 3a8735e

Browse files
authored
Add missing GitHub API permissions to test workflows (#5961)
1 parent 1671255 commit 3a8735e

9 files changed

Lines changed: 26 additions & 2 deletions

.github/workflows/firewall-escape.lock.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/firewall-escape.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
permissions:
1414
contents: read
1515
actions: read
16+
issues: read
1617
pull-requests: read
1718

1819
strict: false

.github/workflows/release.lock.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/smoke-srt-custom-config.lock.yml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/smoke-srt-custom-config.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
workflow_dispatch:
77
permissions:
88
contents: read
9+
issues: read
10+
pull-requests: read
911
name: Smoke SRT Custom Config
1012
engine: copilot
1113
network:

.github/workflows/smoke-srt.lock.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/smoke-srt.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
permissions:
1111
contents: read
1212
issues: read
13+
pull-requests: read
1314
name: Smoke SRT
1415
engine: copilot
1516
network:

.github/workflows/test-discussion-expires.lock.yml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/test-discussion-expires.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
permissions:
66
contents: read
77
discussions: write
8+
issues: read
9+
pull-requests: read
810
engine: copilot
911
safe-outputs:
1012
create-discussion:

0 commit comments

Comments
 (0)