Skip to content

Commit

Permalink
Merge pull request #251 from sablier-labs/ci/close-stale-issues
Browse files Browse the repository at this point in the history
ci: bot for closing stale issues and PR
  • Loading branch information
PaulRBerg authored Jan 3, 2024
2 parents 362e785 + 5353418 commit 8bc785b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Close stale issues and PRs"

on:
workflow_dispatch:
schedule:
- cron: "0 3 * * 0" # at 3:00am UTC every Sunday

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
close-issue-message: "This issue was closed because it has been stalled for 14 days with no activity."
close-issue-reason: "not_planned"
close-pr-message: "This PR was closed because it has been stalled for 7 days with no activity."
days-before-issue-close: 14
days-before-issue-stale: 182
days-before-pr-close: 7
days-before-pr-stale: 90
exempt-issue-labels: "help,priority0"
operations-per-run: 1000
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open 6 months with no activity. Leave a comment or remove the \"stale\" label, otherwise this will be closed in 14 days."
stale-pr-label: "stale"
stale-pr-message: "This PR is stale because it has been open 3 months with no activity. Leave a comment or remove the \"stale\" label, otherwise this will be closed in 7 days."

0 comments on commit 8bc785b

Please sign in to comment.