woocommerce/plugins/woocommerce-blocks/.github/workflows/close-stale-issues.yml

23 lines
1.2 KiB
YAML
Raw Normal View History

name: "Close stale issues"
on:
schedule:
# Runs daily at 9am UTC
- cron: "0 9 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 10
remove-stale-when-updated: true
exempt-issue-labels: 'priority: critical,priority: high,Epic'
stale-issue-message: "This issue has been marked as `stale` because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at. \n\n###### Internal: After 10 days with no activity this issue will be automatically be closed."
stale-pr-message: "This PR has been marked as `stale` because it has not seen any activity within the past 60 days. Our team uses this tool to help surface pull requests that have slipped through review. \n\n###### If deemed still relevant, the pr can be kept active by ensuring it's up to date with the main branch and removing the stale label - otherwise it will automatically be closed after 10 days."
stale-issue-label: 'stale'
stale-pr-label: 'stale'