From 60d15e8b59576e4549acb0d57eae85b503f000c4 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Tue, 6 Feb 2024 12:45:27 +0100 Subject: [PATCH] ci: Add stale workflow --- .github/workflows/stale.yml | 18 ++++++++++++++++++ 1 file changed, 18 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 000000000000..48fe5bd4d76c --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,18 @@ +name: "Close stale issues and PRs" +on: + schedule: + - cron: "30 1 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v9 + with: + enable-statistics: true + debug-only: true + stale-issue-message: "Message to comment on stale issues. If none provided, will not mark issues stale" + stale-pr-message: "Message to comment on stale PRs. If none provided, will not mark PRs stale"