From e829b43e0605c55156d74c8ffda3f9c2b1acf2ac Mon Sep 17 00:00:00 2001 From: Joey Schoblaska Date: Fri, 10 May 2024 10:27:29 -0500 Subject: [PATCH] add shared config for actions/stale --- .github/workflows/stale.yml | 14 ++++++++++++++ 1 file changed, 14 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..daabc95 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,14 @@ +name: 'Close stale issues and PRs' + +on: + workflow_call: +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'This issue has been marked stale because it has been open for six months with no activity. To prevent this issue from automatically being closed in one week, update it or remove the stale label.' + stale-pr-message: 'This PR has been marked stale because it has been open for six months with no activity. To prevent this PR from automatically being closed in one week, update it or remove the stale label.' + days-before-stale: 180 + days-before-close: 7