stale: Run on issues too

only quality guideline issues for now
This commit is contained in:
bbhtt
2025-03-19 17:18:28 +05:30
parent 394315a2af
commit 39cccaf871
+14 -6
View File
@@ -7,6 +7,7 @@ on:
jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
@@ -14,13 +15,20 @@ jobs:
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This PR hasn't received any updates in a year and will be automatically closed in 30 days. If you still plan to work on this please comment or re-open the PR."
days-before-stale: -1
days-before-close: -1
days-before-pr-stale: 365
days-before-pr-close: 30
stale-issue-message: |-
This hasn't received any updates in 6 months and will be
automatically closed in 7 days. Please comment or reopen if
necessary.
stale-pr-message: |-
This hasn't received any updates in 6 months and will be
automatically closed in 7 days. Please comment or reopen if
necessary.
days-before-stale: 183
days-before-close: 7
any-of-issue-labels: quality-guidelines
any-of-pr-labels: awaiting-changes,blocked,work-in-progress,awaiting-upstream
remove-pr-stale-when-updated: true
remove-stale-when-updated: true
exempt-issue-labels: leave-open
exempt-pr-labels: leave-open
operations-per-run: 500
ascending: true