Skip to content

Mark stale issues and pull requests #2

Mark stale issues and pull requests

Mark stale issues and pull requests #2

Workflow file for this run

# Auto Stale Workflow
# This workflow marks and closes inactive issues and PRs quickly to keep the project board clean.
# Designed for fast iteration: new features ~2 days, full modules ~10 days.
name: Mark stale issues and pull requests
on:
schedule:
# Runs daily at 3:40 UTC
- cron: '40 3 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Messages to post on stale items
stale-issue-message: |
⚠️ This issue has had no activity for 5 days.
Please update or it will be automatically closed in 2 days.
stale-pr-message: |
⚠️ This pull request has had no activity for 5 days.
Please update or it will be automatically closed in 2 days.
# Labels to mark stale items
stale-issue-label: '❌ no-issue-activity'
stale-pr-label: '🪦 no-pr-activity'
# Fast iteration thresholds
days-before-stale: 5
days-before-close: 2
# Only option issues/PRs are considered
only-labels: ''
# Close stale items instead of leaving them open
stale-issue-close: true
stale-pr-close: true
# Limit number of items processed per run
limit: 50
# Debug logs in Actions for troubleshooting
debug: false