From 6bdaff48b5c5b97516054d827078a118deab66e6 Mon Sep 17 00:00:00 2001 From: chris-bateman Date: Sat, 28 Sep 2024 19:02:35 +1000 Subject: [PATCH] Add stale action --- .github/workflows/stale/yml | 19 +++++++++++++++++++ 1 file changed, 19 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 000000000..85b34a9c9 --- /dev/null +++ b/.github/workflows/stale/yml @@ -0,0 +1,19 @@ +name: 'Close stale issues and PRs' + +permissions: + issues: write + pull-requests: write + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' + days-before-stale: 30 + days-before-close: 5 \ No newline at end of file