Skip to content

Commit 8c2d9e6

Browse files
authored
Fix issue notification workflow permissions (#3952)
1 parent 88b28f6 commit 8c2d9e6

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/codeql-daily.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
uses: github/codeql-action/analyze@v3
3636

3737
scheduled-job-notification:
38+
permissions:
39+
issues: write
3840
needs:
3941
- analyze
4042
if: always()

.github/workflows/owasp-dependency-check-daily.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
path: agent/agent/build/reports
3131

3232
scheduled-job-notification:
33-
permissions: write-all
33+
permissions:
34+
issues: write
3435
needs:
3536
- analyze
3637
if: always()

.github/workflows/reusable-scheduled-job-notification.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99

1010
jobs:
1111
notify-if-needed:
12+
permissions:
13+
issues: write
1214
runs-on: ubuntu-latest
1315
steps:
1416
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)