woocommerce/.github/workflows/stalebot.yml

23 lines
928 B
YAML
Raw Normal View History

name: 'Close stale needs-feedback issues'
on:
schedule:
- cron: '21 0 * * *'
jobs:
stale:
if: |
! contains(github.event.issue.labels.*.name, 'enhancement')
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
2021-04-01 17:54:59 +00:00
only-issue-labels: 'needs feedback'
close-issue-label: "category: can't reproduce"
ascending: true