Skip to content

Commit 705048d

Browse files
Copilotshenxianpeng
andcommitted
Fix stale workflow permissions mismatch
Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com>
1 parent 9770b6f commit 705048d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/stale.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ name: 'Close stale issues'
22
on:
33
schedule:
44
- cron: '30 1 * * *'
5-
permissions:
6-
issues: write
5+
permissions: {}
76

87
jobs:
98
stale:
9+
permissions:
10+
contents: read
11+
issues: write
12+
pull-requests: write
1013
uses: cpp-linter/.github/.github/workflows/stale.yml@main

0 commit comments

Comments
 (0)