Skip to content

Commit bcfb854

Browse files
authored
Create stale.yml
1 parent 5390dc8 commit bcfb854

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/stale.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: '* * * * *'
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
15+
steps:
16+
- uses: actions/stale@v5
17+
with:
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
days-before-stale: 14
20+
days-before-close: 5
21+
stale-issue-message: 'This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days'
22+
stale-pr-message: 'This pull request is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days'
23+
stale-issue-label: 'no-issue-activity'
24+
stale-pr-label: 'no-pr-activity'

0 commit comments

Comments
 (0)