From 537cc4977b4fcc1c7679abcc9ca4ddf2fbafdcd2 Mon Sep 17 00:00:00 2001 From: Groq GitHub Bot Date: Thu, 31 Oct 2024 23:18:59 +0000 Subject: [PATCH] fix: GitHub Terraform: Create/Update .github/workflows/stale.yaml [skip ci] --- .github/workflows/stale.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/stale.yaml diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 0000000..a05b1ce --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,21 @@ +##################################### +# DO NOT EDIT DIRECTLY. # +# This file is managed by Terraform # +##################################### + +name: 'Close stale PRs' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.' + close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.' + days-before-pr-stale: 30 + days-before-pr-close: 7 + exempt-pr-labels: 'dependencies,security'