Close stale pull requests #2
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 pull requests' | |
on: | |
schedule: | |
# Runs the action once a day | |
- cron: '0 0 * * *' | |
jobs: | |
close_stale_prs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Close stale pull requests | |
uses: actions/stale@v8 | |
with: | |
days-before-stale: 7 | |
days-before-close: 1 | |
stale-issue-message: 'This PR has been marked as stale due to 7 days of inactivity.' | |
close-issue-message: 'Closing this PR due to prolonged inactivity. Please reopen if necessary.' | |
stale-pr-label: 'stale' | |
only-prs: true |