Close stale PRs #126
This file contains 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: 'Close stale PRs' | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-pr-message: '@SparkEdUAB/contributors There has been no activity on this PR for the past 24hrs. Will close in the next day if no further activity. You may reopen if you still intend to work on this PR.' | |
close-pr-message: '@SparkEdUAB/contributors This PR has been closed due to inactivity. Please reopen if you still intend to work on this PR.' | |
ignore-pr-updates: true | |
exempt-pr-label: 'Needs Review' | |
days-before-pr-stale: 1 | |
days-before-pr-close: 1 |