From b2e3a517581b9cf0d1d00dd3cd8bbfdafe8c308f Mon Sep 17 00:00:00 2001 From: tools-netlify Date: Mon, 18 Apr 2022 13:38:39 +0000 Subject: [PATCH] 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 00000000..8653d788 --- /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