mirror of
https://github.com/Twigpine/node.git
synced 2026-11-10 13:11:37 -10:00
* docs: add pull request template * docs: add structured issue forms and template chooser config * chore: add CODEOWNERS for CI, release, and security paths * ci: add quality-signal PR triage workflow * ci: add label-gated auto-stale workflow for ignored PRs * docs: document PR quality bar and triage/stale policy in CONTRIBUTING * ci: recognize inline #[cfg(test)] tests and fix triage comment grammar
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
name: Stale PRs
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "30 1 * * *" # daily at 01:30 UTC
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
issues: write
|
|
|
|
jobs:
|
|
stale:
|
|
name: Flag and close ignored PRs
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
|
|
with:
|
|
days-before-stale: 14
|
|
days-before-close: 7
|
|
# Act on PRs only; never on issues.
|
|
days-before-issue-stale: -1
|
|
days-before-issue-close: -1
|
|
# Only PRs the triage step flagged as needing an author response.
|
|
only-pr-labels: "needs-issue,needs-description"
|
|
stale-pr-label: "stale"
|
|
exempt-pr-labels: "workflow-change,security,pinned"
|
|
remove-stale-when-updated: true
|
|
stale-pr-message: >
|
|
This PR has been inactive for 14 days and is still missing a linked issue
|
|
or a description. It will be closed in 7 days if there's no update. Push a
|
|
change or leave a comment to keep it open — no hard feelings, you can reopen
|
|
anytime.
|
|
close-pr-message: >
|
|
Closing due to inactivity. Reopen whenever you're ready to update it — see
|
|
CONTRIBUTING.md for what helps us review quickly.
|
|
ascending: true
|