corgi agent watch pr
corgi agent watch pr
Mark a pull request of yours ready for review, merge or close it; approve, ask for changes on, comment on, or read the threads of any
Synopsis
Acts on a pull request of yours: the one corgi's run opened for a ticket, the one a session on the ticket opened, or the one an inbox row is about. A link works too.
corgi agent watch pr ready ABC-123 the draft is ready for review
corgi agent watch pr merge ABC-123
corgi agent watch pr close acme/api#42
corgi agent watch pr ready https://github.com/acme/api/pull/42
corgi agent watch pr approve acme/api#42 "nice"
corgi agent watch pr request acme/api#42 cap the retries
corgi agent watch pr comment https://github.com/acme/api/pull/42 "one question…"
corgi agent watch pr threads <url> <url>... open review threads, with the ids a reply needs
corgi agent watch pr threads ABC-123 --all resolved ones too
Never automatic: this is a person's call. ready, merge and close are refused on a pull request that is not yours; approve, request and comment go on any the inbox knows - the one somebody asked you to review first of all.
corgi agent watch pr <ready|merge|close|approve|request|comment|threads> <REF|key|url> [words] [flags]
Options
--all threads: resolved ones too
-h, --help help for pr
--workspace string the workspace whose token to use, when a ref exists in two
Options inherited from parent commands
--describe Describe contents of corgi-compose file
--dockerContext string Specify docker context to use, can be default,orbctl,colima (default "default")
-l, --exampleList List examples to choose from. Click on any example to download it
-f, --filename string Custom filepath for for corgi-compose
--fromScratch Clean the .corgi/corgi_services folder before running
-t, --fromTemplate string Create corgi service from template url
--fromTemplateName string Create corgi service from template name and url
-g, --global Use global path to one of the services
--interactive Force interactive prompts even when no TTY/agent detected
--isolate string Run this workspace under a named lease: own port block, own database names, own containers
--json Emit machine-readable JSON output
--privateToken string Private token for private repositories to download files
-o, --runOnce Run corgi once and exit
--silent Hide all welcome messages
SEE ALSO
- corgi agent watch - Watch the tracker and your pull requests: new issues, new comments, reviews - notify, or fix