Skip to content

Commit 9896340

Browse files
authored
Merge pull request #1789 from python-gitlab/jlvillal/stale
chore: add a stale workflow
2 parents bc6c6e6 + 2c036a9 commit 9896340

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/stale.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
any-of-labels: 'need info,Waiting for response'
21+
stale-issue-message: >
22+
This issue was marked stale because it has been open 60 days with no
23+
activity. Please remove the stale label or comment on this issue. Otherwise,
24+
it will be closed in 15 days.
25+
days-before-issue-stale: 60
26+
days-before-issue-close: 15
27+
close-issue-message: >
28+
This issue was closed because it has been marked stale for 15 days with no
29+
activity. If this issue is still valid, please re-open.
30+
31+
stale-pr-message: >
32+
This Pull Request (PR) was marked stale because it has been open 90 days
33+
with no activity. Please remove the stale label or comment on this PR.
34+
Otherwise, it will be closed in 15 days.
35+
days-before-pr-stale: 90
36+
days-before-pr-close: 15
37+
close-pr-message: >
38+
This PR was closed because it has been marked stale for 15 days with no
39+
activity. If this PR is still valid, please re-open.
40+

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