Mark and close stale PRs #63
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |