Stale Issues and Pull Requests #85
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: Stale Issues and Pull Requests | |
on: | |
schedule: | |
- cron: '0 0 * * *' # Runs every day at midnight | |
workflow_dispatch: | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for stale issues and pull requests | |
uses: actions/stale@v8 | |
with: | |
repo-token: ${{ secrets.SECRET_TOKEN }} | |
stale-issue-message: 'This issue is marked as stale by the stale_bot.' | |
stale-pr-message: 'This pull request is marked as stale by the stale_bot.' | |
close-issue-message: 'This issue was closed by the stale_bot because it has been stalled for 7 days with no activity.' | |
close-pr-message: 'This PR was closed by the stale_bot because it has been stalled for 7 days with no activity.' | |
days-before-stale: 30 | |
days-before-close: 7 | |
stale-issue-label: stale | |
stale-pr-label: stale | |
close-issue-label: closed | |
exempt-issue-labels: 'in-progress, bug, enhancement, pinned' | |
exempt-pr-labels: 'work-in-progress, bug' |