Loading...
Loading...
Create or update a PR from current branch to main, watch CI, and address feedback
npx skill4agent add cartridge-gg/controller create-prgit status --porcelain | wc -l | tr -d ' 'git branch --show-currentgit rev-parse --abbrev-ref @{upstream} 2>/dev/null && echo "Upstream branch exists." || echo "There is no upstream branch yet."gh pr view --json number,title,url --jq '"#\(.number): \(.title) - \(.url)"' 2>/dev/null || echo "None"git diffgit diff origin/main.../tmp/pr-body.txt./.agents/skills/create-pr/scripts/pr-body-update.sh --file /tmp/pr-body.txtgh pr view --json body --jq .bodygh pr create --base mainghGH_TOKENGITHUB_TOKENgh./.agents/skills/create-pr/scripts/poll-pr.sh --triage-on-change --exit-when-greengh pr checksgh run listgh run view <run-id> --log-failedgit fetch origin main && git merge origin/maingh./.agents/skills/create-pr/scripts/triage-pr.shgh pr view --commentsgh api ...gh pr merge --squash --delete-branch[ "$(git rev-parse --git-common-dir)" != "$(git rev-parse --git-dir)" ]request_user_inputwt remove --yes --forcegit checkout main && git pull