Close stale issues #330
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: | |
schedule: | |
- cron: "0 0 * * *" | |
# see: https://github.com/actions/stale | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'wildfly' | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-pr-message: 'There has been no activity on this PR for 45 days. It will be auto-closed after 90 days.' | |
close-pr-message: 'There has been no activity on this PR for 90 days and it has been closed automatically.' | |
days-before-stale: 45 | |
days-before-close: 90 |