Skip to content

Commit 09025b1

Browse files
Add actions/stale gh-action
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
1 parent c675243 commit 09025b1

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/stale.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "21 4 * * *"
6+
7+
jobs:
8+
stale:
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/stale@v8
16+
with:
17+
stale-issue-message: 'This issue has become stale and will be closed automatically within 90 days if no activity is recorded.`
18+
stale-pr-message: 'This pull request has become stale and will be closed automatically within 90 days if no activity is recorded.'
19+
stale-issue-label: 'life-cycle/stale'
20+
stale-pr-label: 'life-cycle/stale'
21+
days-before-stale: 90
22+
close-issue-message: 'This issue was automatically closed due to inactivity.'
23+
close-pr-message: 'This pull request was automatically closed due to inactivity.'
24+
close-issue-label: 'life-cycle/rotten'
25+
close-pr-label: 'life-cycle/rotten'
26+
days-before-issue-close: 180
27+
days-before-pr-close: 180
28+
remove-stale-when-updated: true

0 commit comments

Comments
 (0)