From 39cccaf8716d5e9ff73918a7b6bdd2bd56c8d92a Mon Sep 17 00:00:00 2001 From: bbhtt Date: Wed, 19 Mar 2025 17:18:28 +0530 Subject: [PATCH] stale: Run on issues too only quality guideline issues for now --- .github/workflows/stale.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 373e293..176d118 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -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