Skip to content

Commit 7cee170

Browse files
authored
Create stale.yml
1 parent 8f42407 commit 7cee170

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/stale.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: '25 12 * * *'
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/[email protected]
17+
with:
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
days-before-stale: 360
20+
days-before-issue-stale: 180
21+
days-before-pr-stale: 360
22+
stale-issue-message: 'This issue has been inactive for 180 days'
23+
stale-pr-message: 'This pull request has been inactive for 360 days'
24+
stale-issue-label: 'stale'
25+
stale-pr-label: 'stale'
26+
exempt-issue-labels: 'no-stale'
27+
exempt-pr-labels: 'no-stale'
28+
exempt-all-milestones: true
29+
days-before-close: -1

0 commit comments

Comments
 (0)