From c00119a501ffa2796535eed8c6200e9a2ab33690 Mon Sep 17 00:00:00 2001 From: Lukas Hollaender Date: Wed, 14 Oct 2020 10:32:26 +0200 Subject: [PATCH] improve stale issue action - automatically remove the stale label when the issue is updated - don't mark issues with certain labels as stale --- .github/workflows/stale.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index ab67c3832..be495958a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -10,10 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/stale@v1 + - uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.' stale-issue-label: 'no-issue-activity' + exempt-issue-labels: ['Bug', 'Feature Request', 'persistent'] + remove-stale-when-updated: true days-before-stale: 90 days-before-close: 7