Skip to content

Commit cf0e8b2

Browse files
Create stale.yml
1 parent 4ef9767 commit cf0e8b2

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/stale.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "30 1 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v1
14+
with:
15+
repo-token: ${{ secrets.RELEASE_USER_TOKEN }}
16+
days-before-stale: 14
17+
18+
stale-issue-message: >
19+
There has not been any activity to this issue in the last 30 days.
20+
It will automatically be closed after 7 more days. Remove the `stale` label to prevent this.
21+
stale-issue-label: 'stale'
22+
exempt-issue-label: 'confirmed,help wanted'
23+
24+
stale-pr-message: >
25+
There has not been any activity to this pull request in the last 30 days.
26+
It will automatically be closed after 7 more days. Remove the `stale` label to prevent this.
27+
stale-pr-label: 'stale'
28+
exempt-pr-labels: 'awaiting-approval,work-in-progress'

0 commit comments

Comments
 (0)