From 7bb08a220ade4fe41d6baf5de7439dc0f5f94aa9 Mon Sep 17 00:00:00 2001 From: Alexander Graf <17130992+aandergr@users.noreply.github.com> Date: Sun, 24 May 2020 11:25:37 +0200 Subject: [PATCH] Update issue stale action --- .github/workflows/stale.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 5f64f5d..0436ac4 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -2,7 +2,7 @@ name: Mark stale issues and pull requests on: schedule: - - cron: "15 16 * * *" + - cron: "27 9 * * *" jobs: stale: @@ -10,15 +10,27 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/stale@v1 + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + only-labels: 'question' + stale-issue-message: 'There has been no activity on this question for an extended period of time. This issue will be closed after further 14 days of inactivity.' + stale-issue-label: 'stale' + exempt-issue-labels: 'leave open' + days-before-stale: 15 + days-before-close: -1 + operations-per-run: 7 + remove-stale-when-updated: false + - uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'There has been no activity on this issue for an extended period of time. This issue will be closed after further 14 days of inactivity.' stale-pr-message: 'There has been no activity on this Pull Request for an extended period of time. This Pull Request will be closed after further 14 days of inactivity.' stale-issue-label: 'stale' stale-pr-label: 'stale' - exempt-issue-label: 'leave open' - exempt-pr-label: 'leave open' + exempt-issue-labels: 'leave open' + exempt-pr-labels: 'leave open' days-before-stale: 90 days-before-close: 14 operations-per-run: 7 + remove-stale-when-updated: false