From 6bf2ab869736d1096a6225f0e9b022eb979ec595 Mon Sep 17 00:00:00 2001 From: Nick Floyd <139819+nickfloyd@users.noreply.github.com> Date: Tue, 29 Nov 2022 11:52:31 -0600 Subject: [PATCH] Create stale action for PRs and Issues (#1393) --- .github/workflows/stale.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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 0000000000..185372254c --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,26 @@ +name: 'Close stale issues and PRs' +on: + workflow_dispatch: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v4 + with: + stale-issue-message: > + 👋 Hey Friends, this issue has been automatically marked as `stale` because it has no recent activity. + It will be closed if no further activity occurs. + Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active. + Thank you for your contributions and help in keeping things tidy! + stale-pr-message: > + 👋 Hey Friends, this pull request has been automatically marked as `stale` because it has no recent activity. + It will be closed if no further activity occurs. + Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active. + Thank you for your contributions and help in keeping things tidy! + days-before-stale: 270 + days-before-close: 7 + exempt-issue-labels: 'Status: Pinned' + exempt-pr-labels: 'Status: Pinned'