Skip to content

Commit cce7e62

Browse files
Copilotpelikhan
andcommitted
Remove issues:write permission, use safe-outputs for write operations
- Changed smoke-detector permissions from issues:write to issues:read - Safe-outputs (add-comment, create-issue) handle all write operations - Updated investigate-on-failure jobs to use read-only permissions - Maintains security by keeping writes in controlled safe-output jobs Co-authored-by: pelikhan <[email protected]>
1 parent 6cdf728 commit cce7e62

File tree

8 files changed

+3
-9
lines changed

8 files changed

+3
-9
lines changed

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

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

.github/workflows/smoke-claude.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
uses: ./.github/workflows/smoke-detector.lock.yml
2828
permissions:
2929
contents: read
30-
issues: write
3130
pull-requests: read
3231
actions: read
3332
with:

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

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

.github/workflows/smoke-codex.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
uses: ./.github/workflows/smoke-detector.lock.yml
2727
permissions:
2828
contents: read
29-
issues: write
3029
pull-requests: read
3130
actions: read
3231
with:

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

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

.github/workflows/smoke-copilot.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
uses: ./.github/workflows/smoke-detector.lock.yml
3131
permissions:
3232
contents: read
33-
issues: write
3433
pull-requests: read
3534
actions: read
3635
with:

.github/workflows/smoke-detector.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-detector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
type: string
3030
permissions:
3131
contents: read
32-
issues: write
32+
issues: read
3333
pull-requests: read
3434
actions: read
3535
safe-outputs:

0 commit comments

Comments
 (0)