Skip to main content

Module github

Module github 

Source
Expand description

GitHub integration via gh CLI — fetches PR, CI, and issue data.

Structs§

CiCheck
A single CI check / workflow run
CiFailureLog
CI failure log output (truncated to 50KB)
CiSummary
CI checks summary for a branch
IssueInfo
A GitHub issue
IssueLabel
A GitHub issue label
PrChangedFile
A file changed in a pull request
PrComment
A comment on a pull request (conversation comment or review comment)
PrInfo
PR info for a branch
PrMergeStatus
Merge readiness status for a pull request

Enums§

CheckStatus
CI/check status rollup
ReviewDecision
PR review decision

Functions§

extract_issue_numbers
Extract issue numbers from a branch name
get_ci_failure_log
Fetch failure log for a CI run
get_pr_comments
Fetch comments and reviews for a pull request
get_pr_files
Fetch changed files for a pull request
get_pr_merge_status
Fetch merge readiness status for a pull request
list_checks
Fetch CI checks for a specific branch
list_issues
Fetch open issues for a repository using gh CLI (cached with 30s TTL)
list_merged_prs
Fetch recently merged PRs for branches that still exist locally.
list_open_prs
Fetch open PRs for a repository using gh CLI (cached with 30s TTL)
rerun_failed_checks
Re-run failed jobs for a CI workflow run