Close Inactive Issues and PullRequests #5680
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 Inactive Issues and PullRequests | |
on: | |
schedule: | |
- cron: "* * * 1 *" | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: "進捗無いからもう少ししたら閉じちゃうよ" | |
close-issue-message: "閉じるよ" | |
exempt-issue-labels: "bug-1 重大バグ" | |
days-before-issue-stale: 180 | |
days-before-issue-close: 14 | |
stale-pr-message: "進捗無いからもう少ししたら閉じちゃうよ" | |
close-pr-message: "閉じるよ" | |
exempt-pr-labels: "bug-1 重大バグ" | |
days-before-pr-stale: 180 | |
days-before-pr-close: 14 |