Skip to content

Commit e8e787d

Browse files
rauno56dyladan
andauthored
chore: regularly close stale issues (#2533)
Co-authored-by: Daniel Dyla <[email protected]>
1 parent 2e378fd commit e8e787d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/close-stale.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '30 6 * * 1'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v4
11+
with:
12+
days-before-stale: 60
13+
days-before-close: 14
14+
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
15+
close-issue-message: 'This issue was closed because it has been stale for 14 days with no activity.'
16+
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
17+
close-pr-message: 'This PR was closed because it has been stale for 14 days with no activity.'
18+
stale-issue-label: stale
19+
stale-pr-label: stale
20+
exempt-issue-labels: never-stale
21+
exempt-pr-labels: never-stale

0 commit comments

Comments
 (0)