Skip to content

Commit 43f1743

Browse files
chore: add a stale workflow
Use the stale action to close issues and pull-requests with no activity. Issues: It will mark them as stale after 60 days and then close them once they have been stale for 15 days. Pull-Requests: It will mark pull-requests as stale after 90 days and then close them once they have been stale for 15 days. https://github.com/actions/stale Closes: #1649
1 parent ca58008 commit 43f1743

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/stale.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# https://github.com/actions/stale
2+
name: 'Close stale issues and PRs'
3+
on:
4+
schedule:
5+
- cron: '30 1 * * *'
6+
7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
11+
concurrency:
12+
group: lock
13+
14+
jobs:
15+
stale:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/stale@v4
19+
with:
20+
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 15 days.'
21+
days-before-issue-stale: 60
22+
days-before-issue-close: 15
23+
close-issue-message: 'This issue was closed because it has been stalled for 15 days with no activity. If this issue is still valid please re-open'
24+
25+
stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days.'
26+
days-before-pr-stale: 90
27+
days-before-pr-close: 15
28+
close-pr-message: 'This PR was closed because it has been stalled for 15 days with no activity. If this PR is still valid please re-open'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy