Updated stale handler (#3414)

This commit is contained in:
Esun Kim 2026-02-09 13:14:35 -08:00 committed by GitHub
parent 1f249d1310
commit 6941b2bfa8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 23 deletions

15
.github/stale.yml vendored
View file

@ -1,15 +0,0 @@
# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale Issue or Pull Request is closed
daysUntilClose: 15
# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has no
recent activity. It will be closed if no further activity occurs. Thank you.
# Comment to post when removing the stale label. Set to `false` to disable
unmarkComment: false
closeComment: >
Closing as stale. Please reopen if you'd like to work on this further.
limitPerRun: 30
# Limit to only `issues` or `pulls`
only: issues

View file

@ -8,22 +8,32 @@ on:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: >
"This issue is being marked as stale due to inactivity. Remove label or
comment to prevent closure in 5 days."
This issue is being marked as stale due to inactivity. Remove the stale label
or comment to prevent closure in 5 days.
stale-pr-message: >
"This PR is being marked as stale due to inactivity. Remove label or
comment to prevent closure in 5 days."
This PR is being marked as stale due to inactivity. Remove the stale label
or comment to prevent closure in 5 days.
close-issue-message: >
"This issue is being closed because it has been marked as
stale for 5 days with no further activity."
This issue is being closed because it has been marked as stale for 5 days
with no further activity.
close-pr-message: >
"This PR is being closed because it has been marked as
stale for 5 days with no further activity."
This PR is being closed because it has been marked as stale for 5 days
with no further activity.
days-before-issue-stale: 25
days-before-issue-close: 5
days-before-pr-stale: 40
days-before-pr-close: 5
operations-per-run: 100
exempt-all-assignees: true
exempt-all-milestones: true
exempt-draft-pr: true
exempt-issue-labels: 'pinned,security'
exempt-pr-labels: 'pinned,security'