From b0f4bc4e0cb85c6f9afa780820e3eaa8f756c39c Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 7 Feb 2025 13:45:12 +0000 Subject: [PATCH] Close stale PRs after 180 days (#2130) * Close stale PRs after 180 days Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update triage-stale.yml --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .github/workflows/triage-stale.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/triage-stale.yml diff --git a/.github/workflows/triage-stale.yml b/.github/workflows/triage-stale.yml new file mode 100644 index 00000000..ef99aa92 --- /dev/null +++ b/.github/workflows/triage-stale.yml @@ -0,0 +1,20 @@ +name: Close stale PRs +on: + workflow_dispatch: {} + schedule: + - cron: "30 1 * * *" +permissions: {} +jobs: + close: + runs-on: ubuntu-24.04 + permissions: + actions: write + issues: write + pull-requests: write + steps: + - uses: actions/stale@v9 + with: + operations-per-run: 100 + days-before-pr-stale: 180 + days-before-pr-close: 0 + close-pr-message: "This PR has been automatically closed because it has been stale for 180 days. If you wish to continue working on this PR, please ping a maintainer to reopen it."