Skip to content

Commit

Permalink
stale: Prevent marking issues as stale and only process labeled PRs
Browse files Browse the repository at this point in the history
Also increase the limit to wait for 30 days before closing

stale workflow has no option on running on issues only

See actions/stale#1112
  • Loading branch information
bbhtt authored and fpiesche committed Sep 22, 2024
1 parent 69af03d commit 62770ec
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
- 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 14 days. Feel free to re-open it if you plan to continue working on that pull request or think it deserves attention from Flathub admins"
days-before-stale: 365
days-before-close: 14
stale-pr-message: "This PR hasn't received any updates in a year and will be automatically closed in 30 days. Feel free to re-open it if you plan to continue working on that pull request or think it deserves attention from Flathub admins"
days-before-stale: -1
days-before-close: -1
days-before-pr-stale: 365
days-before-pr-close: 30
only-pr-labels: awaiting-changes,blocked,work-in-progress,awaiting-upstream
remove-pr-stale-when-updated: true

0 comments on commit 62770ec

Please sign in to comment.