Skip to content

plugin-gh

Version 2026.252.1500
Repo box/github.com/opencharly/plugin-gh:v2026.252.1501
Plugin yes — see the plugin reference

The canonical GitHub surface — one implementation of the gh read ops (pr_meta, pr_files, pr_diff, pr_commits, pr_thread, head_sha) as a typed, declarative verb (gh: {op: ..., repo: ..., pr: ...}) and the standalone charly gh CLI. Replaces every hand-rolled exec.Command(“gh”) call: the client resolves the token explicitly (GH_TOKEN/GITHUB_TOKEN → the gh hosts.yml auth), targets api.github.com directly (never an ambiguous default-host redirect), and surfaces the HTTP status + body on every non-2xx — no more “gh meta failed” with swallowed stderr.

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
check the gh module ships (go.mod + the client + the provider + the schema)