Loading...
Loading...
CI/CD status queries for GitHub Actions (gh) and GitLab CI (glab). Check pipeline status, failing jobs, workflow runs, job logs, and merge readiness. Use when checking CI status, debugging build failures, viewing job logs, watching pipeline progress, or configuring gh/glab CI read-only allowlists. Not for PR workflows (git-pr), git commits (git-commit), or deploy/release ops
npx skill4agent add dmythro/agent-skills git-cigh pr checksgh runpr checksglab ci status--jsonghgit remote get-url origin| Remote URL contains | Provider | CLI | CI system |
|---|---|---|---|
| GitHub | | GitHub Actions |
| GitLab | | GitLab CI |
gh pr checks --json name,state,conclusion,bucketglab ci statusgh pr checks --json name,state,conclusion,bucketglab ci getgh pr checks --watch --fail-fastglab ci status --livegh run list --json databaseId,displayTitle,status,conclusion,headBranch,event --limit 10glab ci listgh run view {run_id} --json jobs,status,conclusion,displayTitleglab ci view {pipeline_id}gh run view {run_id} --log-failedglab ci trace {job_id}gh pr view --json mergeable,reviewDecision,statusCheckRollup,isDraft,mergeStateStatusmergeableMERGEABLECONFLICTINGUNKNOWNreviewDecisionAPPROVEDCHANGES_REQUESTEDREVIEW_REQUIREDisDraftmergeStateStatusCLEANBLOCKEDBEHINDDIRTYUNSTABLEglab mr view -F json | jq '{merge_status:.merge_status,conflicts:.has_conflicts,blocking:.blocking_discussions_resolved,draft:.draft}'gh variable list
gh secret listglab variable listReference: Seefor advanced patterns: failing check extraction, required checks, workflow listing, cache management, rulesets.references/ci-queries.md
Reference: Seefor tieredreferences/allowlist.mdpatterns covering all read-only CI operations -- safe to auto-approve in Claude CodeBash(command:*)or OpenCode config.settings.json