Mark stale issues and pull requests #76
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: Mark stale issues and pull requests | |
on: | |
schedule: | |
- cron: '32 7 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v5 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-stale: 30 | |
days-before-close: 15 | |
stale-issue-message: 'This issue has been marked as stale due to inactivity. Please provide an update or it may be closed automatically.' | |
stale-pr-message: 'This pull request has been marked as stale due to inactivity. Please review and update as necessary or it may be closed automatically.' | |
stale-issue-label: 'stale-issue' | |
stale-pr-label: 'stale-pr' |