From afd63aa3c894beb0e47253376561f637054ccbd7 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sat, 8 Jan 2022 12:49:45 +0000 Subject: [PATCH] test --- .github/stale.yml | 25 ------------------------ .github/workflows/close-stale-issues.yml | 14 ++++++------- 2 files changed, 7 insertions(+), 32 deletions(-) delete mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index 03a73ab39..000000000 --- a/.github/stale.yml +++ /dev/null @@ -1,25 +0,0 @@ -# Configuration for probot-stale - https://github.com/probot/stale -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 30 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 7 -# Issues with these labels will never be considered stale -exemptLabels: - - "good first issue" - - "upstream" - - "backlog" - - "high" - - "medium" - - "spec" - - "cannot reproduce" -# Label to use when marking an issue as stale -staleLabel: stale -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. - You may comment on the issue and I will leave it open. - Thank you for your contributions. -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: > - Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. -only: issues diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index 825a1a4c7..f68a82f92 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -1,19 +1,19 @@ name: 'Close stale issues' -on: [push] -# on: -# schedule: -# - cron: '30 * * * *' +on: + schedule: + - cron: '0 16 * * *' permissions: issues: write jobs: - stale: + ProcessStaleIssues: runs-on: ubuntu-latest steps: - uses: actions/stale@v4 with: - debug-only: true + # Use this to do a dry run from a pull request + # debug-only: true stale-issue-message: "Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions." - days-before-stale: 21 + days-before-stale: 30 days-before-close: 7 exempt-issue-labels: 'good first issue,upstream,backlog,high,medium,spec,cannot reproduce' stale-issue-label: 'stale'