Skip to content

Commit

Permalink
Create stale-bot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre committed Aug 4, 2024
1 parent 444bc1e commit a01f0f1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/stale-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 1,13 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/stale
- uses: actions/stale@v9
with:
# global config
operations-per-run: 300
days-before-stale: 30
days-before-close: 90
# issue specific config
stale-issue-label: 'wontfix'
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
close-issue-message: 'Closing this due to being stale.'
# pull request specific config
exempt-pr-labels: 'dependencies'
stale-pr-label: 'wontfix'
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
close-pr-message: 'Closing this due to being stale.'
delete-branch: true

0 comments on commit a01f0f1

Please sign in to comment.