Add stale workflow

Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-11-25 15:31:53 +01:00
parent 781f91ab30
commit 79d4246407
+33
View File
@@ -0,0 +1,33 @@
name: 'Stale workflow'
on:
workflow_dispatch:
# schedule:
# - cron: '0 0 * * *' # at 00:00 every day
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@main
id: stale
with:
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. Thank you
for your contributions.
days-before-issue-stale: 60
days-before-issue-close: 7
exempt-issue-labels: 'pinned,security,plugin,help wanted,good first issue,rfc'
stale-issue-label: stale
stale-pr-message: >
This PR has been automatically marked as stale because it has not had
recent activity from the author. It will be closed if no further activity occurs.
If you are the author and the PR has been closed, feel free to re-open the PR and continue the contribution!
days-before-pr-stale: 7
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.*, ',') }}