Skip to content

Commit

Permalink
ci: automate stale labeling for inactive draft PRs
Browse files Browse the repository at this point in the history
ci: automate stale labeling for inactive draft PRs
  • Loading branch information
rjan90 committed Jan 27, 2025
1 parent a90ee17 commit 5f2ee98
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Close and mark stale issue
name: Mark and close stale items

on:
schedule:
- cron: '0 12 * * *'
workflow_dispatch:

permissions:
contents: read
Expand All @@ -28,5 +29,8 @@ jobs:
days-before-issue-close: 3
days-before-pr-stale: 5
days-before-pr-close: 3
draft-days-before-stale: 365 # Mark draft PRs as stale after 1 year
draft-days-before-close: 30 # Close stale draft PRs after 30 days
remove-stale-when-updated: true
enable-statistics: true

0 comments on commit 5f2ee98

Please sign in to comment.