Close stale PR #16
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 PR" | |
on: | |
schedule: | |
- cron: "0 0 * * 1,4" | |
workflow_dispatch: | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.FLATHUBBOT_TOKEN }} | |
stale-pr-message: "This PR hasn't received any updates in a year and will be automatically closed in 30 days. If you still plan to work on this please comment or re-open the PR." | |
days-before-stale: -1 | |
days-before-close: -1 | |
days-before-pr-stale: 365 | |
days-before-pr-close: 30 | |
any-of-pr-labels: awaiting-changes,blocked,work-in-progress,awaiting-upstream | |
remove-pr-stale-when-updated: true | |
exempt-pr-labels: leave-open | |
operations-per-run: 100 |