Commit 3a9c46d
authored
ci: add issue triage and stale-issue automation (#4829)
* ci: add issue triage and stale-issue automation
Adds two GitHub Actions workflows:
- issue-triage.yml: on new issues, runs Claude Code Action to check
completeness against issue templates and surface similar existing
issues (open or closed). Labels incomplete issues with 'needs-info'.
- stale-issues.yml: daily cron that closes issues labelled 'needs-info'
after 48 hours of inactivity.
Refs #4804
* ci: use existing 'issue needs work' label and match repo conventions
- Switch triage/stale workflows from creating a new 'needs-info' label
to using the existing 'issue needs work' label
- Drop the label-create step and the corresponding allowed-tool entry
- Rename stale workflow to match the new label
- Use ${{ github.token }} for GH_TOKEN to match claude.yml
- Add local-time comment on the cron schedule, matching the style
used in dependabot-rotation.yml
* ci: address code review feedback on triage and stale workflows
- Add timeout-minutes: 10 to triage job to cap runaway LLM usage
- Add exempt-all-assignees: true so maintainer-claimed issues are
not auto-closed
- Set stale-issue-message: '' explicitly to document intent
- Drop redundant stale-issue-label (same as only-labels)
* ci: drop unused gh api allowance from triage workflow
Addresses review feedback: gh api:* was broader than needed and
not used by the prompt. The remaining gh issue/search subcommands
cover all documented operations.
* ci: address remaining review feedback on triage and stale workflows
- restore stale-issue-label to prevent default "Stale" label
- correct "48 hours" wording to "2 days" (cron window is up to 72h)
- include generic-issue template placeholders in compliance check
- skip triage for bot-opened issues
- tighten gh search allowlist to gh search issues
* ci: extend needs-info window from 2 to 3 days1 parent 3364526 commit 3a9c46d
2 files changed
Lines changed: 129 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments