Skip to content

stale

stale #459

Workflow file for this run

name: stale
on:
workflow_dispatch:
schedule:
# The start of everyday and at hour 12
- cron: '00 00 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
id: stale
with:
# Overall configuration
operations-per-run: 100
# PR configuration
days-before-pr-stale: 30
stale-pr-message: 'This PR has become stale because it has been open for 30 days with no activity. Please update this PR or remove the `lifecycle/stale` label before it is automatically closed in 30 days. Adding the `lifecycle/frozen` label will cause this PR to ignore lifecycle events.'
days-before-pr-close: 30
close-pr-message: 'This PR has been closed as no updates were detected after 30 days of being stale. Please feel free to reopen this PR if necessary.'
stale-pr-label: lifecycle/stale
exempt-pr-labels: lifecycle/frozen
close-pr-label: lifecycle/rotten
# Issue configuration
days-before-issue-stale: 60
stale-issue-message: 'This issue has become stale because it has been open 60 days with no activity. The maintainers of this repo will remove this label during issue triage or it will be removed automatically after an update. Adding the `lifecycle/frozen` label will cause this issue to ignore lifecycle events.'
days-before-issue-close: -1
stale-issue-label: lifecycle/stale
exempt-issue-labels: lifecycle/frozen