From 7784e9082a0040435734b7038c5e54c4bea51f0d Mon Sep 17 00:00:00 2001 From: powerhome-software-apply <125933697+powerhome-software-apply@users.noreply.github.com> Date: Tue, 7 Jan 2025 11:37:50 -0300 Subject: [PATCH] Add Stalebot workflow configuration --- .github/workflows/stale.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 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 0000000..93b2f54 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,35 @@ +# Managed by https://github.com/powerhome/software. Do not make changes here, they will be reverted. + +name: 'Close stale issues and PRs' +on: + workflow_dispatch: + schedule: + - cron: '27 2 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9 + with: + operations-per-run: 200 + delete-branch: true + stale-pr-message: > + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed in 24 hours if no further activity occurs. + + If this change is desirable, please accelerate completing it. If it is not, + please close the PR. If you're blocked on something, please ensure there's + a reference to this PR in a story on your team's board so the team will + follow up, and consider closing the PR for now. + + Please do not artificially extend the deadline with a dummy comment. If + necessary, provide a status update, such as "this change is being actively + tested". + + Thank you for your contributions and your collaboration in reducing WIP + and cycle time. + days-before-stale: 4 + days-before-close: 1 + days-before-issue-stale: -1 + exempt-pr-labels: dependencies