Skip to content

Mark and close stale PRs #63

Mark and close stale PRs

Mark and close stale PRs #63

Workflow file for this run

name: Mark and close stale PRs
on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC
workflow_dispatch: # Allows manual trigger
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This pull request has been automatically marked as stale due to inactivity.'
close-pr-message: 'Closing this pull request due to prolonged inactivity.'
days-before-stale: 14 # Number of days of inactivity before marking as stale
days-before-close: 7 # Number of days after being marked stale to close
stale-issue-message: '' # No action on issues
close-issue-message: ''
days-before-issue-stale: -1
days-before-issue-close: -1