From 6579a012f84b6357867e9c34fb1548ddd9181a7f Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Fri, 12 Apr 2024 11:48:07 +1000 Subject: [PATCH] Create stale.yml --- .github/workflows/stale.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..2e443e8 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,21 @@ +name: Clean Stale Issues And Pull Requests + +on: + workflow_dispatch: + schedule: + - cron: "0 1 * * *" + +permissions: + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - name: Close stale issues + uses: actions/stale@v9.0.0 + with: + exempt-all-assignees: true + # exclude issues/PRs with the specified labels + exempt-labels: good-first-issue