Merge pull request #29508 from woocommerce/fix/29507

add stalebot action with dry run enabled
This commit is contained in:
Néstor Soriano 2021-03-31 15:45:32 +02:00 committed by GitHub
commit 966b71bac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
.github/workflows/stalebot.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: 'Close stale needs-feedback issues'
on:
schedule:
- cron: '0 21 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "As a part of this repositorys maintenance, this issue is being marked as stale due to inactivity. Please feel free to comment on it in case we missed something.\n\n###### After 7 days with no activity this issue will be automatically be closed."
close-issue-message: 'This issue was closed because it has been 14 days with no activity.'
days-before-issue-stale: 7
days-before-issue-close: 7
days-before-pr-close: -1
only-issue-label: 'needs feedback'
close-issue-label: "category: can't reproduce"
debug-only: true