Skip to content

Commit

Permalink
feat: add GH action for closing stale prs and issues (#961)
Browse files Browse the repository at this point in the history
* feat: add GH action for closing stale prs and issues

Signed-off-by: Diana Lease <dianarlease@gmail.com>

* feat: exempt anything in v4.0 milestone from being closed

Signed-off-by: Diana Lease <dianarlease@gmail.com>

---------

Signed-off-by: Diana Lease <dianarlease@gmail.com>
  • Loading branch information
DianaLease authored Dec 5, 2024
1 parent 3bc89a3 commit 0d3e65c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/close-stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
stale-pr-message: 'This PR is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
days-before-issue-stale: 60
days-before-pr-stale: 15
days-before-close: 10
exempt-milestones: 'v4.0'

0 comments on commit 0d3e65c

Please sign in to comment.