Skip to content

Commit

Permalink
Add stale checker for PR and Issues (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
anneschuth authored Mar 27, 2024
2 parents 60b4637 + bb43f7f commit ae663cb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Close stale'
on:
schedule:
- cron: '0 4 * * *'

jobs:
stale:
runs-on: ubuntu-latest
permissions:
contents: write # only for delete-branch option
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-stale: 90
days-before-close: 30
stale-issue-message: 'This issue did not have any activity in the last 90 days and will be removed after 30 days'
stale-pr-message: 'This PR did not have any activity in the last 90 days and will be removed after 30 days'
close-pr-message: 'This PR is closed due to inactivity'
close-issue-message: 'This issue is closed due to inactivity'
exempt-pr-labels: Future
exempt-issue-labels: Future

0 comments on commit ae663cb

Please sign in to comment.