Skip to content

Changes for stale GHA v9 #27523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/stale-tidy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Close inactive issues'
on:
schedule:
- cron: '30 1 * * 2,4,6'

jobs:
stale:
if: github.repository == 'matplotlib/matplotlib'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
operations-per-run: 300
days-before-stale: -1
stale-pr-label: "status: inactive"
days-before-pr-close: -1
stale-issue-label: "status: inactive"
close-issue-label: "status: closed as inactive"
days-before-issue-close: 30
ascending: true
exempt-issue-labels: "keep"
exempt-pr-labels: "keep,status: orphaned PR"
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
if: github.repository == 'matplotlib/matplotlib'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
operations-per-run: 150
operations-per-run: 20
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.'
stale-pr-label: "status: inactive"
days-before-pr-stale: 60
Expand Down