feat(scripts): open PRs with pr.sh open instead of the MCP #44
No reviewers
Labels
No labels
bug
enhancement
needs-info
needs-triage
ready-for-agent
ready-for-human
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
vicoli-oss/docker-forgejo-mcp!44
Loading…
Reference in a new issue
No description provided.
Delete branch "piscis/pr-open"
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?
Follow-up to #41 and #43. Opening a PR through the Forgejo MCP's
create_pull_requestreturns the whole PR object (about 6.7k characters, mostly repo metadata), and the MCP breaks when its session has no token.scripts/pr.sh open "<title>"opens a PR from the pushed current branch to the default branch, with the body on stdin. It prints onlynumber,urlandhead.on main: switch to a work branch first./land-prstep 4 anddocs/agents/forgejo.mdnow use it.Tested: this PR was opened with
pr.sh open, and running it again returned the same PR. The guard fails onmain. shellcheck is clean.