Skip to content

Commit 2d7469b

Browse files
fix(workflows): align trigger permissions with GH-AW lock files (#1304)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent ac3491b commit 2d7469b

85 files changed

Lines changed: 147 additions & 36 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/trigger-agent-suggestions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77
workflow_dispatch:
88

99
permissions:
10+
actions: read
1011
contents: read
12+
copilot-requests: write
1113
issues: write
1214
pull-requests: read
1315

.github/workflows/trigger-autonomy-atomicity-analyzer.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77
workflow_dispatch:
88

99
permissions:
10+
actions: read
1011
contents: read
12+
copilot-requests: write
1113
issues: write
1214
pull-requests: read
1315

.github/workflows/trigger-branch-actions-detective.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
permissions:
1010
actions: read
1111
contents: read
12+
copilot-requests: write
1213
issues: write
1314

1415
jobs:

.github/workflows/trigger-breaking-change-detector.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77
workflow_dispatch:
88

99
permissions:
10+
actions: read
1011
contents: read
12+
copilot-requests: write
1113
issues: write
1214
pull-requests: read
1315

.github/workflows/trigger-bug-hunter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
permissions:
1010
actions: read
1111
contents: write
12+
copilot-requests: write
1213
issues: write
1314
pull-requests: write
1415

.github/workflows/trigger-code-complexity-detector.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ on:
77
workflow_dispatch:
88

99
permissions:
10+
actions: read
1011
contents: write
12+
copilot-requests: write
1113
issues: write
1214
pull-requests: write
1315

14-
actions: read
1516
jobs:
1617
run:
1718
uses: ./.github/workflows/gh-aw-code-complexity-detector.lock.yml

.github/workflows/trigger-code-duplication-detector.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ on:
77
workflow_dispatch:
88

99
permissions:
10+
actions: read
1011
contents: write
12+
copilot-requests: write
1113
issues: write
1214
pull-requests: write
1315

14-
actions: read
1516
jobs:
1617
run:
1718
uses: ./.github/workflows/gh-aw-code-duplication-detector.lock.yml

.github/workflows/trigger-dependency-review.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
permissions:
99
actions: read
1010
contents: read
11+
copilot-requests: write
1112
issues: write
1213
pull-requests: write
1314

.github/workflows/trigger-docs-patrol.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ on:
77
workflow_dispatch:
88

99
permissions:
10+
actions: read
1011
contents: write
12+
copilot-requests: write
1113
issues: write
1214
pull-requests: write
1315

14-
actions: read
1516
jobs:
1617
run:
1718
uses: ./.github/workflows/gh-aw-docs-patrol.lock.yml

.github/workflows/trigger-duplicate-issue-detector.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ on:
66
types: [opened]
77

88
permissions:
9+
actions: read
910
contents: read
10-
discussions: write
11+
copilot-requests: write
1112
issues: write
1213
pull-requests: read
1314

0 commit comments

Comments
 (0)