From 0f7df0190b6238509c1ee949a5dda3a12c231213 Mon Sep 17 00:00:00 2001 From: Evan Baker Date: Fri, 15 Dec 2023 17:24:21 +0000 Subject: [PATCH] update stale workflow Signed-off-by: Evan Baker --- .github/workflows/stale.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index e728472ec4..55c413c551 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -8,6 +8,7 @@ jobs: stale: runs-on: ubuntu-latest permissions: + contents: write issues: write pull-requests: write steps: @@ -17,11 +18,12 @@ jobs: ascending: true close-issue-message: 'Issue closed due to inactivity.' close-pr-message: 'Pull request closed due to inactivity.' - days-before-close: 14 - days-before-stale: 60 - exempt-issue-labels: 'blocked,must,should,keep' + days-before-close: 7 + days-before-stale: 14 + delete-branch: true + exempt-issue-labels: 'exempt-stale' operations-per-run: 100 - stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days' - stale-pr-message: 'This pull request is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days' + stale-issue-message: 'This issue is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days' + stale-pr-message: 'This pull request is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days' - name: Print outputs run: echo ${{ join(steps.stale.outputs.*, ',') }}