Skip to content

Commit

Permalink
ci(repo): enable stale and close issues and PRs. (#17933)
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik authored Aug 16, 2024
1 parent 6ac4eb0 commit 5c9dc68
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Close stale issues and PRs"
on:
schedule:
- cron: "0 1 * * *" # Runs at 01:00 UTC every day

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
stale-issue-message: "This issue is stale because it has been open for 45 days with no activity."
stale-pr-message: "This PR is stale because it has been open for 45 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
close-pr-message: "This PR was closed because it has been inactive for 14 days since being marked as stale."
days-before-stale: 45
days-before-close: 14
exempt-issue-labels: "option.pinned,category.security"
exempt-pr-labels: "option.pinned,category.security"
stale-issue-label: "status.stale"
stale-pr-label: "status.stale"

0 comments on commit 5c9dc68

Please sign in to comment.