From 79d424640792ae712039df62e994f4a9e1d19323 Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Thu, 25 Nov 2021 15:31:53 +0100 Subject: [PATCH] Add stale workflow Co-authored-by: blam Signed-off-by: Johan Haals --- .github/workflows/stale.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..a5d6c1664f --- /dev/null +++ b/.github/workflows/stale.yml @@ -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.*, ',') }}