Skip to content

Commit 2c293b0

Browse files
committed
chore(ci): add stale action
1 parent 746e5e5 commit 2c293b0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/stale.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Close stale issues and PRs"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v1
11+
with:
12+
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
stale-issue-message: 'This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.'
14+
stale-issue-label: 'stale'
15+
exempt-issue-label: 'never stale'
16+
stale-pr-message: 'This PR is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.'
17+
stale-pr-label: 'stale'
18+
exempt-pr-label: 'never stale'
19+
days-before-stale: 90
20+
days-before-close: 14

0 commit comments

Comments
 (0)