Close stale issues and PRs #511
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 and PRs' | |
on: | |
schedule: | |
- cron: '30 1 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
# Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`. | |
repo-token: ${{ secrets.GH_PAT }} | |
# The message to post on the issue when tagging it. If none provided, will not mark issues stale. | |
stale-issue-message: 'This Issue is stale' | |
stale-pr-message: 'This PR is stale' | |
close-issue-message: 'Close Stale Issue' | |
close-pr-message: 'Close Stale PR' | |