fix: enable stale cleanup after 74 inactive days (#311)

This commit is contained in:
Suneha Bose
2026-11-09 15:33:08 -05:00
committed by GitHub
parent 4339b0e932
commit bd99bd231d
+12 -14
View File
@@ -10,26 +10,24 @@ jobs:
build: build:
# The type of runner that the job will run on # The type of runner that the job will run on
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 #v11.0.0 - uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 #v11.0.0
name: Setting issue as idle name: Mark idle issues and PRs and close inactive ones
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is idle because it has been open for 14 days with no activity.' stale-issue-message: 'This issue is idle after 60 days with no activity. It will be closed in 14 days if there is no further activity.'
stale-issue-label: 'idle' stale-issue-label: 'idle'
days-before-stale: 14 close-issue-message: 'Closing this issue after 14 more days with no activity since it was marked idle.'
days-before-close: -1 stale-pr-message: 'This PR is idle after 60 days with no activity. It will be closed in 14 days if there is no further activity.'
stale-pr-label: 'idle'
close-pr-message: 'Closing this PR after 14 more days with no activity since it was marked idle.'
days-before-stale: 60
days-before-close: 14
remove-stale-when-updated: true
operations-per-run: 100 operations-per-run: 100
exempt-issue-labels: 'backlog' exempt-issue-labels: 'backlog'
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 #v11.0.0
name: Setting PR as idle
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This PR is idle because it has been open for 14 days with no activity.'
stale-pr-label: 'idle'
days-before-stale: 14
days-before-close: -1
operations-per-run: 100