Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8652697

Browse files
Copilotshenxianpeng
andauthored
fix: stale workflow permissions for reusable workflow compatibility (#334)
* Initial plan * Fix stale workflow permissions for reusable workflow compatibility Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com>
1 parent 8b34252 commit 8652697

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)

AltStyle によって変換されたページ (->オリジナル) /