From d672d951a5e4d5a5bedf949e8872efbe2d7c02d6 Mon Sep 17 00:00:00 2001 From: tools-netlify Date: Sat, 24 Apr 2021 02:27:08 +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..4b650a5 --- /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 60 days.' + days-before-pr-close: -1 From 5fb315867ee7f64cce79203ba1ff720887bdc9f5 Mon Sep 17 00:00:00 2001 From: Ryan Neal Date: Mon, 26 Apr 2021 12:13:56 -0700 Subject: [PATCH 2/2] Update stalebot.yml --- .github/workflows/stalebot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stalebot.yml b/.github/workflows/stalebot.yml index 4b650a5..8653d78 100644 --- a/.github/workflows/stalebot.yml +++ b/.github/workflows/stalebot.yml @@ -14,5 +14,5 @@ jobs: 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 60 days.' + close-issue-message: 'This issue was closed because it had no activity for over 1 year.' days-before-pr-close: -1