Skip to content

Close stale issues and PRs #173

Close stale issues and PRs

Close stale issues and PRs #173

Workflow file for this run

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 22 * * 5'
jobs:
stale:
runs-on: ubuntu-22.04
permissions:
issues: write
pull-requests: write
steps:
- name: 'Mark stale issues and PRs'
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-label: "no-issue-activity"
days-before-issue-stale: 60
stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days."
days-before-issue-close: 30
close-issue-message: "This issue was closed because it has been stalled for 30 days with no activity."
stale-pr-label: "no-pr-activity"
days-before-pr-stale: 15
stale-pr-message: "This PR is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 10 days."
days-before-pr-close: 10
close-pr-message: "This PR was closed because it has been stalled for 10 days with no activity."