From 5ab442c03a47f2a96bb8da0e70001607564a3544 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 31 Dec 2021 01:23:39 -0500 Subject: [PATCH] Updates GitHub actions Improves stale issue handling after updates --- .github/workflows/issues-lock.yml | 6 +++--- .github/workflows/issues-stale.yml | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/issues-lock.yml b/.github/workflows/issues-lock.yml index f276be3..706c6ed 100644 --- a/.github/workflows/issues-lock.yml +++ b/.github/workflows/issues-lock.yml @@ -9,9 +9,9 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: dessant/lock-threads@v2 + - uses: dessant/lock-threads@v3 with: github-token: ${{ secrets.GITHUB_TOKEN }} - issue-lock-comment: 'This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.' - issue-lock-inactive-days: 30 + issue-comment: 'This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.' + issue-inactive-days: 30 process-only: 'issues' diff --git a/.github/workflows/issues-stale.yml b/.github/workflows/issues-stale.yml index a05a094..61b4b6a 100644 --- a/.github/workflows/issues-stale.yml +++ b/.github/workflows/issues-stale.yml @@ -9,7 +9,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v3 + - uses: actions/stale@v4 with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-close: 7 @@ -18,3 +18,5 @@ jobs: close-issue-message: 'Closing this issue because it needs more information and has not had recent activity. Please re-open this issue if more details can be provided. Thanks!' stale-issue-label: 'inactive' stale-issue-message: 'This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks!' + labels-to-add-when-unstale: 'triage' + labels-to-remove-when-unstale: 'needs-more-info'