Close Stale Issues #23
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 Issues' | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '59 23 1/16 * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@main | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-issue-stale: 21 | |
stale-issue-message: | | |
"This issue has been automatically marked as `stale` because it has not had recent activity. | |
It will be closed if no further activity occurs. Thank you for your contributions." | |
days-before-issue-close: 7 | |
close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as `stale`." | |
stale-issue-label: "stale" | |
exempt-issue-labels: "bug,in progress,help wanted" | |
days-before-pr-stale: 35 | |
days-before-pr-close: -1 | |
stale-pr-message: "This pull request has been automatically marked as `stale` because it has not had recent activity." | |
stale-pr-label: "stale" | |
exempt-pr-labels: "bug,in progress,help wanted" | |
remove-stale-when-updated: "true" | |
labels-to-remove-when-unstale: "stale" |