/** * GitHub Status Reporting Utility * * Reports commit statuses and PR comments for CI/CD (e.g. pr-check). * Uses Octokit (already a dependency) for GitHub API. * * Auth: GITHUB_TOKEN environment variable */ export type { RepoInfo } from './git-repo-info.js'; export type CommitStatusState = 'pending' | 'success' | 'failure' | 'error'; /** * Get repo info from git remote */ export declare function getRepoInfo(): import("./git-repo-info.js").RepoInfo | null; /** * Report commit status to GitHub (appears on PR/commit in GitHub UI) * * @param sha - Commit SHA * @param state - pending | success | failure | error * @param description - Short status description * @param context - Status context (e.g. 'factiii/pr-check', 'factiii/server-build') */ export declare function reportCommitStatus(sha: string, state: CommitStatusState, description: string, context?: string): Promise; /** * Post a comment on a pull request * * @param prNumber - Pull request number * @param body - Comment body (Markdown) */ export declare function reportPRComment(prNumber: number, body: string): Promise; /** * Get current PR number from environment (when running in GitHub Actions) * or from gh CLI */ export declare function getPRNumber(): number | null; //# sourceMappingURL=github-status.d.ts.map