Skip to content

Commit

Permalink
chore: update stale bot to not close issues (#865)
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Case <[email protected]>
  • Loading branch information
richardcase authored Jul 10, 2024
1 parent f047d1f commit 0d0255a
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,27 @@ name: Mark stale issues and pull requests

on:
schedule:
- cron: '15 7 * * *'
- cron: "15 7 * * *"

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 60
days-before-pr-stale: 30
days-before-issue-close: 365
days-before-pr-close: -1
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity.'
stale-issue-label: 'lifecycle/stale'
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity.'
stale-pr-label: 'lifecycle/stale'
close-issue-message: 'This issue was closed because it has been stalled for 365 days with no activity.'
close-issue-label: 'lifecycle/rotten'
exempt-issue-labels: 'lifecycle/frozen'
exempt-pr-labels: 'lifecycle/frozen'
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 180
days-before-pr-stale: 60
days-before-issue-close: -1
days-before-pr-close: -1
stale-issue-message: "This issue is stale because it has been open 180 days with no activity."
stale-issue-label: "lifecycle/stale"
stale-pr-message: "This PR is stale because it has been open 60 days with no activity."
stale-pr-label: "lifecycle/stale"
close-issue-label: "lifecycle/rotten"
exempt-issue-labels: "lifecycle/frozen"
exempt-pr-labels: "lifecycle/frozen"

0 comments on commit 0d0255a

Please sign in to comment.