Skip to content

Commit 5465af8

Browse files
authored
ci: add workflow "stale" (#354)
1 parent 52f5ae6 commit 5465af8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/stale.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# https://github.com/actions/stale
2+
3+
name: Mark stale issues and pull requests
4+
5+
on:
6+
schedule:
7+
- cron: '30 1 * * *'
8+
9+
jobs:
10+
stale:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/stale@v3
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: 'Marking Issue as stale, will be closed in 7 days if no more activity is seen'
17+
close-issue-message: 'Closing Issue because it is marked as stale'
18+
stale-issue-label: stale
19+
only-labels: question,can't reproduce,Needs More Information,needs repro script,stale
20+
exempt-issue-labels: help wanted,docs,enhancement,feature,dependencies
21+
days-before-stale: 60
22+
days-before-close: 7
23+
remove-stale-when-updated: true

0 commit comments

Comments
 (0)