Close stale issues and PRs #138
This file contains hidden or 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
| # https://github.com/actions/stale?tab=readme-ov-file#list-of-input-options | |
| name: "Close stale issues and PRs" | |
| on: | |
| schedule: | |
| # every day, midnight UTC | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| actions: write | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| stale-pr-message: > | |
| This PR has been automatically marked as stale because it has been inactive for a while. | |
| Remove the tag, comment, or update the PR (e.g. by pushing a new commit) to keep it active. | |
| delete-branch: true |