From 642e3454350f1352215cd115f238ccfc57021c40 Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Mon, 7 Aug 2023 00:18:32 +0200 Subject: [PATCH] ci(stale): added workflow --- .github/workflows/stale.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 000000000..3900d2e66 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +permissions: + contents: write # only for delete-branch option + issues: write + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + exempt-all-pr-assignees: true + exempt-issue-assignees: true + exempt-draft-pr: true + days-before-stale: 20 + days-before-close: 5 + stale-issue-message: "Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion." + stale-pr-message: "Thanks for your contributions, we'll be closing this PR as it has gone stale. Feel free to reopen if you'd like to continue the discussion." \ No newline at end of file