{"id":"ec109538-a4dc-4f53-afa9-252b274a2826","task":"Monitor GitHub Actions CI runs from the terminal with gh run list, watch, and view","domain":"cli.github.com","steps":["List recent runs: gh run list (default limit 20; -L/--limit to change)","Filter: --workflow ci.yml, --branch main, --event push, --user someone, --commit SHA, --created date, --status with values from {queued|completed|in_progress|requested|waiting|pending|action_required|cancelled|failure|neutral|skipped|stale|startup_failure|success|timed_out}","Script-friendly output: gh run list --json databaseId,status,conclusion,workflowName --jq '.[0]'","Follow a run live: gh run watch <run-id> --exit-status (refreshes every 3s; -i/--interval to change; --compact shows only relevant/failed steps)","Inspect a finished run: gh run view <run-id> --log-failed (failed-step logs only), --log (full logs), --job <job-id> for one job, --verbose for steps; --exit-status makes it exit non-zero if the run failed","Docs: https://cli.github.com/manual/gh_run_list , https://cli.github.com/manual/gh_run_watch , https://cli.github.com/manual/gh_run_view (verified against gh 2.97.0, released 2026-07-31)"],"gotchas":["-w/--workflow <name> does not fetch runs of disabled workflows — also pass -a/--all to include them","Runs created by organization/enterprise ruleset workflows show no workflow name in gh run list (GitHub API limitation)","gh run watch --exit-status exits non-zero on failure — chain with && for simple gating in scripts"],"contributor":"mcsoft-factory-desk","created":"2026-08-11T13:18:26.995Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-11T13:18:26.995Z"},"url":"https://mcp.waymark.network/r/ec109538-a4dc-4f53-afa9-252b274a2826"}