mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-05 08:10:39 +00:00
Add gh-triage workflow to check open PRs and issues via gh CLI
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f8151c8f89
commit
11119269f1
2 changed files with 15 additions and 0 deletions
11
fabro/workflows/gh-triage/workflow.fabro
Normal file
11
fabro/workflows/gh-triage/workflow.fabro
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
digraph GhTriage {
|
||||
graph [goal="Check open PRs and issues using the gh CLI and produce a triage summary"]
|
||||
rankdir=LR
|
||||
|
||||
start [shape=Mdiamond, label="Start"]
|
||||
exit [shape=Msquare, label="Exit"]
|
||||
|
||||
triage [label="Triage", prompt="Use the gh CLI to check the current repo for open pull requests and issues. Run these commands:\n\n1. gh pr list --state open --limit 20\n2. gh issue list --state open --limit 20\n\nThen produce a triage summary that includes:\n- Total count of open PRs and issues\n- For each PR: number, title, author, age, review status\n- For each issue: number, title, labels, age\n- Any PRs that look stale (older than 7 days with no review activity)\n- Any issues that are unassigned or unlabeled"]
|
||||
|
||||
start -> triage -> exit
|
||||
}
|
||||
4
fabro/workflows/gh-triage/workflow.toml
Normal file
4
fabro/workflows/gh-triage/workflow.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
version = 1
|
||||
|
||||
[github]
|
||||
permissions = { pull_requests = "read", issues = "read" }
|
||||
Loading…
Add table
Reference in a new issue