Skip to content

Close stale issues and PRs #7

Close stale issues and PRs

Close stale issues and PRs #7

Workflow file for this run

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
actions: write # Needed for stateful resume behavior
jobs:
stale:
runs-on: ubuntu-slim
steps:
- uses: actions/stale@v10
with:
days-before-stale: 60
days-before-close: 30
stale-issue-message: >
This issue has been inactive for 60 days and is now marked as stale.
Add a comment or update labels if you want to keep it open; otherwise
it will be closed in 30 days.
stale-pr-message: >
This pull request has been inactive for 60 days and is now marked as stale.
Push new commits or comment if you want to keep it open; otherwise
it will be closed in 30 days.
close-issue-message: >
This issue was closed automatically after being stale for 30 days without activity.
close-pr-message: >
This pull request was closed automatically after being stale for 30 days without activity.
stale-issue-label: 'status:stale'
stale-pr-label: 'status:stale'
exempt-issue-labels: 'prio:critical,prio:high,type:security,status:blocked,type:feat'
exempt-pr-labels: 'prio:critical,prio:high,type:security,status:blocked,type:feat'
exempt-all-assignees: true
remove-stale-when-updated: true
delete-branch: false