Skip to content

Mark stale issues #3830

Mark stale issues

Mark stale issues #3830

name: 'Mark stale issues'
on:
schedule:
# Run every 6 hours at xx:30.
- cron: '30 */6 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Message to be added to stale issues.
stale-issue-message: 'This issue is stale because 720 days have passed with no activity. A member of @kitkat-team will review and if required close this issue within 7 days. If you disagree and would like this issue to remain open, please provide additional context, updated reproduction steps and/or screenshots.'
# Days before issue is considered stale.
days-before-issue-stale: 720
# Override stale setting for PRs.
days-before-pr-stale: -1
# Exempted issue labels.
exempt-issue-labels: '[Pri] High,[Pri] BLOCKER,[Status] Keep Open,'
# Message to be added to stale PRs.
stale-pr-message: 'This PR has been marked as stale due to lack of activity within the last 30 days.'
# Exempted PR labels.
exempt-pr-labels: '[Pri] High,[Pri] BLOCKER,[Status] Keep Open'
# Disable auto-close of both issues and PRs.
days-before-close: -1
# Get issues in ascending (oldest first) order.
ascending: true
# Label to apply when issue is marked stale.
stale-issue-label: '[Status] Stale'
# Label to apply when PR is marked as stale.
stale-pr-label: '[Status] Stale'
# Increase number of operations executed per run.
operations-per-run: 525