Enforces the app-token-never-merges review separation boundary.
Enforces the protected branch policy (main, master, next, production, or the repo's default branch).
OptionaldefaultBranch: stringOptionalallowProtectedBranch: booleanEnforces the credential's AllowedRepositories policy before making any repo-scoped call.
Commits one or more file additions, updates, or deletions in a single atomic commit
using the GitHub Git Data API (git/refs -> git/commits -> git/trees -> git/commits -> git/refs).
Compound workflow: creates/updates a feature branch with an atomic multi-file commit and opens (or reuses an existing open) Pull Request in a single operation.
Creates a new Issue (when IssueNumber is omitted) or updates an existing Issue.
Creates a new Pull Request and optionally applies labels, assignees, and reviewers.
Defaults Draft to this.auth.DefaultPRMode === 'draft' when omitted.
Fetches a complete, compound Pull Request context in parallel: PR metadata, changed files (with optional patches), reviews, inline review comments, and check runs.
Fetches a token-efficient compound overview of a repository in parallel: metadata, languages, top-level tree, README preview, and recent releases.
Inspects a workflow run (including failed jobs/steps and log tails), re-runs failed jobs, or dispatches a workflow.
Lists a repository's file tree with optional path prefix, glob filter, and depth limit.
Optionalref: stringOptionalpathPrefix: stringOptionalglobPattern: stringOptionalmaxDepth: numberMerges a Pull Request.
Enforces AssertMergeAllowed() (auth.AllowMerge === true) to uphold the app-token-never-merges boundary.
Reads one or more files from a repository at an optional ref and optional 1-indexed line slice.
Optionalref: stringOptionalstartLine: numberOptionalendLine: numberSearches code across a repository or organization.
Optionalowner: stringOptionalrepo: stringSearches GitHub Issues and Pull Requests using GitHub search qualifiers.
Submits a Pull Request review (APPROVE, REQUEST_CHANGES, or COMMENT) with optional line comments.
Adds a comment to an Issue or Pull Request.