From 41158b65d186771775a9b299e60762dc8d107682 Mon Sep 17 00:00:00 2001 From: tools-netlify Date: Wed, 21 Jul 2021 17:43:29 +0000 Subject: [PATCH 1/2] create github actions workflow files for stalebot --- .github/workflows/stalebot.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/stalebot.yml diff --git a/.github/workflows/stalebot.yml b/.github/workflows/stalebot.yml new file mode 100644 index 0000000..8653d78 --- /dev/null +++ b/.github/workflows/stalebot.yml @@ -0,0 +1,18 @@ +name: 'Mark and close stale issues in the repo' +on: + schedule: + - cron: '30 1 * * *' # runs daily at 1:30 https://crontab.guru/#30_1_*_*_* + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3.0.18 + with: + exempt-issue-labels: 'WIP,security,action_item,never_stale' + days-before-issue-stale: 365 + stale-issue-label: 'stale' + stale-issue-message: 'This issue has been automatically marked as stale because it has not had activity in 1 year. It will be closed in 7 days if no further activity occurs. Thanks!' + days-before-issue-close: 7 + close-issue-message: 'This issue was closed because it had no activity for over 1 year.' + days-before-pr-close: -1 From 953015476e7d382162cf6e105abf923f80ec266b Mon Sep 17 00:00:00 2001 From: tools-netlify Date: Wed, 21 Jul 2021 17:51:41 +0000 Subject: [PATCH 2/2] create github actions workflow files for stalebot