From 7145b75ee4340ae065d469db9e5097ba0ec03307 Mon Sep 17 00:00:00 2001 From: David Konigsberg <72822263+davidkonigsberg@users.noreply.github.com> Date: Wed, 25 Jun 2025 09:36:35 -0400 Subject: [PATCH] Create stale-bot.yml --- .github/workflows/stale-bot.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/stale-bot.yml diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml new file mode 100644 index 0000000..20f2179 --- /dev/null +++ b/.github/workflows/stale-bot.yml @@ -0,0 +1,22 @@ +name: 'Close stale PRs' +on: + schedule: + - cron: '30 1 * * *' + workflow_dispatch: + +permissions: + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-pr-message: 'This PR is stale because it has been open 25 days with no activity. Remove stale label or comment or this will be closed in 5 days.' + close-pr-message: 'This PR was closed because it has been inactive for 5 days after being marked stale.' + days-before-issue-stale: -1 + days-before-issue-close: -1 + days-before-pr-stale: 25 + days-before-pr-close: 5 + operations-per-run: 300