Skip to content

Commit 07c43e4

Browse files
authored
Merge pull request matplotlib#25163 from jklymak/bld-stale-action
GitHub: auto set inactive label
2 parents 80a6868 + ddaa7ce commit 07c43e4

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/stale.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 'Label inactive PRs'
2+
on:
3+
schedule:
4+
- cron: '30 1 * * *'
5+
6+
jobs:
7+
stale:
8+
if: github.repository == 'matplotlib/matplotlib'
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v7
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
operations-per-run: 30
15+
stale-pr-message: 'Since this Pull Request has not been updated in 60 days, it has been marked "inactive." This does not mean that it will be closed, though it may be moved to a "Draft" state. This helps maintainers prioritize their reviewing efforts. You can pick the PR back up anytime - please ping us if you need a review or guidance to move the PR forward! If you do not plan on continuing the work, please let us know so that we can either find someone to take the PR over, or close it.'
16+
stale-pr-label: 'inactive'
17+
days-before-pr-stale: 60
18+
days-before-pr-close: -1
19+
stale-issue-message: 'This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!'
20+
stale-issue-label: 'inactive'
21+
days-before-issue-stale: 365
22+
days-before-issue-close: 30
23+
ascending: true
24+
exempt-issue-labels: "keep"
25+
exempt-pr-label: "keep,status: orphaned PR"

0 commit comments

Comments
 (0)