Skip to content

Commit c8c9f6f

Browse files
Merge pull request #4920 from Hacker0x01/martijnrusschen-patch-4
Update stale.yml
2 parents 7a0c971 + afea368 commit c8c9f6f

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/stale.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
1-
name: 'Close stale issues and PRs'
1+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+
#
3+
# You can adjust the behavior by modifying this file.
4+
# For more information, see:
5+
# https://github.com/actions/stale
6+
name: Mark stale issues and pull requests
7+
28
on:
39
schedule:
410
- cron: '30 1 * * *'
511

612
jobs:
713
stale:
814
runs-on: ubuntu-latest
15+
permissions:
16+
issues: write
17+
pull-requests: write
18+
919
steps:
1020
- uses: actions/stale@v9
1121
with:
22+
repo-token: ${{ secrets.GITHUB_TOKEN }}
1223
stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
1324
stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
25+
stale-issue-label: 'stale'
26+
stale-pr-label: 'stale'
1427
close-issue-message: 'This issue was closed because it has been stalled for 10 days with no activity.'
1528
close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'
1629
days-before-issue-stale: 180
1730
days-before-pr-stale: 90
1831
days-before-issue-close: 10
19-
days-before-pr-close: 10
32+
days-before-pr-close: 10

0 commit comments

Comments
 (0)