Skip to content

Commit cf9132a

Browse files
authored
Update stale action to version 10 and add permissions (#156)
1 parent 86478f1 commit cf9132a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/stale.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
name: 'Close stale issues and PRs'
22
on:
3+
workflow_dispatch:
34
schedule:
45
- cron: '30 1 * * *'
56

7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
611
jobs:
712
stale:
813
runs-on: ubuntu-latest
914
steps:
10-
- uses: actions/stale@v4
15+
- uses: actions/stale@v10
1116
with:
1217
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your interest in GoldRush!'
1318
days-before-stale: 30

0 commit comments

Comments
 (0)