Skip to content

Commit d27fa24

Browse files
authored
[skip-changelog] fix and update Close stale issue workflow (#680)
1 parent 320f7de commit d27fa24

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/close-stale-issues.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
name: Close stale issues
22
on:
3+
workflow_dispatch:
34
schedule:
45
- cron: '30 8 * * mon'
56

7+
permission:
8+
issues: write
9+
610
jobs:
711
stale:
812
runs-on: ubuntu-latest
913
steps:
10-
- uses: actions/stale@v3
14+
- uses: actions/stale@v4
1115
with:
12-
stale-issue-message: 'This issue has been marked as stale because it has been open 14 days with no activity. Remove **status: stale** label or comment, otherwise it will be closed in 7 days '
13-
close-issue-label: 'status: stale'
14-
close-issue-message: 'This issue has been closed becasue has been stale for 7 days. If you think this issue deserves some attention feel free to reopen it'
16+
stale-issue-message: 'This issue has been marked as stale because it has been open for more than 14 days with no activity. Remove stale label or comment, otherwise it will be closed in 7 days '
17+
stale-issue-label: 'status: stale'
18+
close-issue-message: 'This issue has been closed becasue has been stale for more than 7 days. If you think this issue deserves some attention feel free to reopen it'
1519
close-issue-label: 'conclusion: stale'
1620
days-before-stale: 14
1721
days-before-close: 7

0 commit comments

Comments
 (0)