From f51b84f0f43bdef09585419ee01338f908bd2eb7 Mon Sep 17 00:00:00 2001 From: Michael Tibben Date: Mon, 20 Feb 2023 20:35:53 +1100 Subject: [PATCH] Fix stale in CI --- .github/stale.yml | 17 ----------------- .github/workflows/stale.yml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 .github/stale.yml create mode 100644 .github/workflows/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index 094510623..000000000 --- a/.github/stale.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 180 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 7 -# Issues with these labels will never be considered stale -exemptLabels: - - pinned - - security -# 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: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: false diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..f1c293299 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,17 @@ +# See https://github.com/actions/stale +name: Mark and close stale issues +on: + schedule: + - cron: '15 10 * * *' +jobs: + stale: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/stale@v7 + with: + days-before-stale: 180 + days-before-close: 7 + stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.' + exempt-issue-labels: pinned,security,feature