From 139f9b3f3691ab21422ef092fcdaad8392a9b25a Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Fri, 26 Nov 2021 10:25:32 +0100 Subject: [PATCH] Replace stalebot with stale workflow Signed-off-by: Johan Haals --- .github/stale.yml | 21 --------------------- .github/workflows/stale.yml | 6 ++---- 2 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index 3cd0d53720..0000000000 --- a/.github/stale.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 60 -# 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 - - plugin - - help wanted - - good first issue - - rfc -# 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 index a5d6c1664f..4e8c7faad3 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,8 +1,8 @@ name: 'Stale workflow' on: workflow_dispatch: - # schedule: - # - cron: '0 0 * * *' # at 00:00 every day + schedule: + - cron: '*/10 * * * *' # run every 10 minutes as it also removes labels. jobs: stale: @@ -27,7 +27,5 @@ jobs: days-before-pr-close: 3 exempt-pr-labels: reviewer-approved,awaiting-review stale-pr-label: stale - # Will be removed once we are happy with the new workflow. - debug-only: true - name: Print outputs run: echo ${{ join(steps.stale.outputs.*, ',') }}