Commit Graph

6 Commits

Author SHA1 Message Date
lyn
fc83378284 fix(pr show): slim down output, remove nested repo/user objects 2026-04-01 16:56:32 +00:00
lyn
48acc26786 feat(pr): add show subcommand and refine merge output messages
- Add 'pr show' subcommand: GET /repos/{owner}/{repo}/pulls/{index}
- Change 200 success: 'merge success'
- Change 405 error: 'merge failed check the pr status'
2026-04-01 16:43:50 +00:00
lyn
8d683e81d7 fix(pr): for 405 errors, output API message directly 2026-04-01 16:28:33 +00:00
lyn
b6d49b58bf fix(pr): proper HTTP status code handling for merge command
Handle different HTTP status codes returned by merge API:
- 200: success (check merged field)
- 409: conflict (output error message)
- 404: not found
- 423: repo archived
- 405: empty response / try again later
- etc: generic error handling
2026-04-01 16:09:00 +00:00
lyn
0df8f89c33 fix(pr): use /pulls instead of /pulls/pinned for list command 2026-04-01 15:57:17 +00:00
lyn
1a2f8abd8b feat(git-hangman-lab): rename create-pr to pr with subcommands
- Replace single create-pr script with unified pr script
- Add subcommands: create, list, commits, merge
- Update git-ctrl and SKILL.md documentation
2026-04-01 15:40:08 +00:00