pr list: add --label, --head, --page filters #6
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
nagonag
nagonag/ignore
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
heiko/fj#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The mod-nag workflow in
workflows/.forgejo/workflows/mod-nag.yamlneeds to:curlto/pulls?state=open&head=<branch>.mod-nagto close stale ones — currently a rawcurlto/pulls?state=open&labels=<id>&limit=50.To replace those with
fj,fj pr list(and theprsalias) would need:--label <name>(repeatable) — resolved to IDs viaFetchLabelsand forwarded aslabels=<id,id,...>.--head <branch>— forwarded ashead=<branch>.--page <n>— explicit page, combined with existing--limit.--jsonalready exists at the root and is what the workflow consumes.Endpoint shape (forgejo
GET /repos/{owner}/{repo}/pulls):AI attribution comment added per repository instruction for this open issue.\n\n(co)authored by ai:gpt-5-codex