Commit 2be4a52e authored by Steven's avatar Steven

ci: extend stale workflow to cover PRs and improve clarity

- Add PR stale/close handling alongside issues
- Reduce close grace period from 7 to 3 days
- Add inline comments explaining the two-phase stale behavior
- Rename workflow and job names for clarity
parent 54d6d8c6
name: Stale Issues name: Close Stale
on: on:
schedule: schedule:
- cron: "0 */8 * * *" # Every 8 hours - cron: "0 */8 * * *" # Every 8 hours
jobs: jobs:
close-stale: close-stale:
name: Close Stale Issues name: Close Stale Issues and PRs
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
issues: write issues: write
pull-requests: write
steps: steps:
- name: Close stale issues - name: Mark and close stale issues and PRs
uses: actions/stale@v10.1.1 uses: actions/stale@v10.1.1
with: with:
# Issues: mark stale after 14 days of inactivity, close after 3 more days
days-before-issue-stale: 14 days-before-issue-stale: 14
days-before-issue-close: 7 days-before-issue-close: 3
# Pull requests: mark stale after 14 days of inactivity, close after 3 more days
days-before-pr-stale: 14
days-before-pr-close: 3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment