Skip to content

Commit facbc37

Browse files
authored
Add GitHub action Stale
1 parent 1372569 commit facbc37

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Stale issues and prs
2+
3+
on:
4+
schedule:
5+
- cron: "00 0 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v3
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: 'This issue is stale because of 30 days with no activity, this issue will be closed in 5 days'
17+
stale-pr-message: 'This pull request is stale because of 30 days with no activity, this pr will be closed in 5 days'
18+
stale-issue-label: 'stale-issue'
19+
stale-pr-label: 'stale-pr'
20+
days-before-stale: 30
21+
days-before-close: 5

0 commit comments

Comments
 (0)