Skip to content

Commit

Permalink
improve stale bot
Browse files Browse the repository at this point in the history
  • Loading branch information
hassec committed Jun 4, 2024
1 parent c3b538b commit 66e320e
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/stale@v3
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
stale-pr-message: 'Stale pull request message'
# Do not mark issues with these labels
exempt-issue-labels: "bug,enhancement,WIP"
stale-issue-message: >
This issue has not seen any activity in the past 60 days.
It is now marked as stale and will be closed in 7 days if
no further activity is registered.
# Do not mark PRs with these labels
exempt-pr-labels: 'WIP,Blocked-by-other-PR'
stale-pr-message: >
This PR has not seen any activity in the past 60 days.
It is now marked as stale and will be closed in 7 days if
no further activity is registered.
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
days-before-stale: 60
days-before-close: 7

0 comments on commit 66e320e

Please sign in to comment.