Skip to content

Issues and PRs Stale Cron #534

Issues and PRs Stale Cron

Issues and PRs Stale Cron #534

Workflow file for this run

name: Issues and PRs Stale Cron
on:
schedule:
- cron: "0 10 * * *" # 10am UTC
permissions:
contents: read
jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Stale non-active and remove marked with stale label
uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
with:
# issues
days-before-issue-stale: 14
days-before-issue-close: 14
only-issue-labels: "needs-triage,question/discussion"
exempt-issue-labels: "keep"
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open 14 days, labeled with 'needs-triage' and 'question/discussion', and with no activity. Remove stale label or comment or this will be closed in 14 days."
# pull requests
days-before-pr-stale: 90
days-before-pr-close: 30
stale-pr-label: "stale"
exempt-pr-labels: "keep"
stale-pr-message: "This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days."