Skip to content

Close stale issues and PRs #132

Close stale issues and PRs

Close stale issues and PRs #132

Workflow file for this run

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 22 * * *'
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 }}
days-before-issue-stale: 10
days-before-pr-stale: 10
days-before-issue-close: 10
days-before-pr-close: 10
stale-issue-label: 'no-issue-activity'
stale-issue-message: 'This issue is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 3 days.'
close-issue-message: 'This issue was closed because it has been stalled for 10 days with no activity.'
stale-pr-label: 'no-pr-activity'
stale-pr-message: 'This PR is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 2 days.'
close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'