Skip to content

Commit

Permalink
chore: add stale bot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MDeLuise committed Oct 22, 2024
1 parent 5426f92 commit cb63410
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 6 * * *'
workflow_dispatch:

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-stale: 90
days-before-close: 14
exempt-issue-labels: 'Type: Feature Request'
stale-issue-message: 'This issue has been marked as stale due to no activity in the last 90 days. It will be closed in 14 days if no further activity occurs.'
stale-pr-message: 'This pull request has been marked as stale due to no activity in the last 90 days. It will be closed in 14 days if no further activity occurs.'
close-issue-message: 'Closing this issue as it has been stale for 14 days.'
close-pr-message: 'Closing this pull request as it has been stale for 14 days.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
operations-per-run: 30
remove-issue-stale-when-updated: true
remove-pr-stale-when-updated: true
exempt-issue-author: 'dependabot[bot]'
exempt-pr-author: 'dependabot[bot]'

0 comments on commit cb63410

Please sign in to comment.