From 6ac4ee5f2f59a67263b9ec433f5f68cc03c14433 Mon Sep 17 00:00:00 2001 From: Evan Baker Date: Tue, 8 Feb 2022 23:59:19 +0000 Subject: [PATCH] update stale parameters and include PR messages Signed-off-by: Evan Baker --- .github/workflows/stale.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index a6f78c1dcf..e728472ec4 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -7,13 +7,21 @@ on: jobs: stale: runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write steps: - uses: actions/stale@main id: stale with: - stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days' - days-before-stale: 30 - days-before-close: 5 + 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' + 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' - name: Print outputs run: echo ${{ join(steps.stale.outputs.*, ',') }}