Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Mark Stale Issues and PRs

on:
schedule:
# Runs daily at 1:00 AM UTC
- cron: '0 1 * * *'
workflow_dispatch: # Allows manual trigger

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# Mark as stale after 60 days of inactivity
days-before-stale: 60

# Never auto-close (set to -1 to disable)
days-before-close: -1

# Stale issue configuration
stale-issue-message: |
This issue has been automatically marked as stale because it has not had any activity for 60 days.
It will remain open for visibility and reporting purposes.
Please comment if this issue is still relevant.
stale-issue-label: 'stale'

# Stale PR configuration
stale-pr-message: |
This pull request has been automatically marked as stale because it has not had any activity for 60 days.
It will remain open for visibility and reporting purposes.
Please comment if this PR is still relevant.
stale-pr-label: 'stale'

# Remove stale label when issues/PRs receive new comments or updates
remove-stale-when-updated: true

# Exempt items with these labels from being marked stale
exempt-issue-labels: 'security,critical,pinned,blocked,in-progress,under-review,enhancement,tech-debt'
exempt-pr-labels: 'security,critical,pinned,blocked,in-progress,under-review,enhancement,tech-debt'

# Exempt items with assignees
exempt-all-issue-assignees: true
exempt-all-pr-assignees: true
Loading