Skip to content

Commit

Permalink
chore(ci): Update stalebot to stale action (#4101)
Browse files Browse the repository at this point in the history
* chore(ci): Update stalebot to stale action

* chore(ci): Update stale comments
  • Loading branch information
wise-king-sullyman committed Jun 14, 2024
1 parent b92c1e7 commit 401953c
Showing 1 changed file with 16 additions and 23 deletions.
39 changes: 16 additions & 23 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,17 @@
# Configuration for probot-stale - https://github.com/probot/stale
# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 60
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '37 11 * * *'

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 14

# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
- accessibility

# Label to use when marking as stale
staleLabel: wontfix

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
days-before-stale: 60
days-before-close: -1
exempt-issue-labels: 'accessibility,pinned,security'
stale-issue-label: 'stale'
stale-issue-message: 'This issue has been automatically marked as stale because it has not had activity in the last 60 days.'
stale-pr-message: 'This PR has been automatically marked as stale because it has not had activity in the last 60 days.'

0 comments on commit 401953c

Please sign in to comment.