Replace stalebot with stale workflow

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-11-26 10:25:32 +01:00
parent 5f01829180
commit 139f9b3f36
2 changed files with 2 additions and 25 deletions
-21
View File
@@ -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
+2 -4
View File
@@ -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.*, ',') }}