Skip to content
This repository was archived by the owner on May 20, 2022. It is now read-only.

Commit 772fc26

Browse files
committed
chore: upgrade stale workflow, fix permissions
1 parent e8a9c98 commit 772fc26

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

.github/workflows/stale.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
name: "Close stale issues"
1+
name: 'Close stale issues'
22
on:
33
schedule:
4-
- cron: "30 1 * * *"
4+
- cron: '30 1 * * *'
55

66
jobs:
77
stale:
88
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
911
steps:
10-
- uses: actions/stale@v3
11-
with:
12-
repo-token: ${{ secrets.GITHUB_TOKEN }}
13-
stale-issue-message: >
14-
This issue has been automatically marked as stale because it has not had
15-
recent activity. It will be closed if no further activity occurs. Thank you
16-
for your contributions.
17-
days-before-stale: 30
18-
stale-issue-label: "stale"
19-
exempt-issue-labels: "pinned,security"
12+
- uses: actions/stale@v5
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15+
stale-issue-message: >
16+
This issue has been automatically marked as stale because it has not had
17+
activity within the last 30 days. It will be closed if no further activity occurs. Thank you
18+
for your contributions.
19+
days-before-stale: 30
20+
stale-issue-label: 'stale'
21+
exempt-issue-labels: 'pinned,security'

0 commit comments

Comments
 (0)