Skip to content

Commit c791464

Browse files
committed
Changes for stale GHA v9 [skip ci]
1 parent ca946ac commit c791464

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

.github/workflows/stale-tidy.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: 'Close inactive issues'
2+
on:
3+
schedule:
4+
- cron: '30 1 * * 2,4,6'
5+
6+
jobs:
7+
stale:
8+
if: github.repository == 'matplotlib/matplotlib'
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v9
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
operations-per-run: 300
15+
days-before-stale: -1
16+
stale-pr-label: "status: inactive"
17+
days-before-pr-close: -1
18+
stale-issue-label: "status: inactive"
19+
close-issue-label: "status: closed as inactive"
20+
days-before-issue-close: 30
21+
ascending: true
22+
exempt-issue-labels: "keep"
23+
exempt-pr-labels: "keep,status: orphaned PR"

.github/workflows/stale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
if: github.repository == 'matplotlib/matplotlib'
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/stale@v8
11+
- uses: actions/stale@v9
1212
with:
1313
repo-token: ${{ secrets.GITHUB_TOKEN }}
14-
operations-per-run: 150
14+
operations-per-run: 20
1515
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.'
1616
stale-pr-label: "status: inactive"
1717
days-before-pr-stale: 60

0 commit comments

Comments
 (0)