From ee48ad212cd3a19ac46394d8cdcd3049ba40df55 Mon Sep 17 00:00:00 2001 From: Steve Fenton <99181436+steve-fenton-octopus@users.noreply.github.com> Date: Wed, 27 May 2026 13:09:02 +0100 Subject: [PATCH] Mark stale PRs automatically Mark as stale at 60 days and close them two weeks after marking them as stale if there is still no activity. --- .github/workflows/stale-pull-requests.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/stale-pull-requests.yml diff --git a/.github/workflows/stale-pull-requests.yml b/.github/workflows/stale-pull-requests.yml new file mode 100644 index 0000000000..743c0a8128 --- /dev/null +++ b/.github/workflows/stale-pull-requests.yml @@ -0,0 +1,16 @@ +name: Mark stale PRs +on: + schedule: + - cron: '0 1 * * 3' # Every Wednesday at 1am UTC + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-pr-message: 'Things seem to have gone quiet on this PR. There has been no activity for 60 days, so it will be closed in 14 days if there is still no movement.' + close-pr-message: 'Closing due to inactivity.' + days-before-pr-stale: 60 + days-before-pr-close: 14 + stale-pr-label: 'stale'