Productivity & Projects · Developer Tools

GitHub

GitHub is a code hosting platform for version control and collaboration, offering Git-based repository management, issue tracking, and continuous integration features

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Restore a package for a user

    Restores a user-owned package previously deleted from GitHub Packages, if restorable under GitHub's data retention policy (typically within 30 days of deletion).

  • Restore a package for the authenticated user

    Restores a package deleted by the authenticated user within the last 30 days, if its namespace and version are still available.

  • Restore a package version for the authenticated user

    Restores a package version that was deleted by the authenticated user within the last 30 days.

  • Restore package version for an organization

    Restores a package version for an organization, provided it was deleted within the last 30 days.

  • Restore package version for a user

    Restores a specific, user-owned package version if it was deleted within the last 30 days and its original namespace and version name are still available.

  • Retire Sponsors Tier

    Tool to retire a published payment tier from your GitHub Sponsors profile using GraphQL. Use when you need to prevent a tier from being used for new sponsorships. Existing sponsors at this tier remain unaffected.

  • Review access with personal token

    Approves or denies a pending fine-grained personal access token request for organization resources; must be performed by a GitHub App.

  • Review Custom Deployment Rules For Workflow Run

    Approves or rejects pending custom deployment protection rules for a workflow run. This endpoint allows GitHub Apps to review their own pending custom deployment protection rules for a specific workflow run. The review can either approve (allowing the deployment to proceed) or reject (blocking the deployment). **Important notes:** - GitHub Apps can only review their own custom deployment protection rules - This endpoint requires GitHub App installation access tokens with Deployments permission (write) - Custom deployment protection rules are available in public repos for all plans; for private/internal repos, GitHub Enterprise is required - Returns 204 No Content on success

  • Review pending deployments for a workflow run

    Approves or rejects pending deployments for a specific workflow run that are in a 'waiting' state within specified, configured environments.

  • Review PAT Requests in Bulk

    Submits a bulk approval or denial of fine-grained personal access token requests for a GitHub organization. The returned success message indicates acceptance for processing, not confirmation that every request has been processed.

  • Revoke an installation access token

    Revokes the GitHub App's current installation access token, immediately invalidating it for API authentication. IMPORTANT: This endpoint requires a GitHub App installation access token (ghs_* prefix) for authentication. OAuth tokens (gho_*) or personal access tokens are not supported and will result in a 403 Forbidden error. After successful revocation, the token becomes permanently invalid and cannot be used for any subsequent API calls. To continue API operations, a new installation access token must be generated.

  • Run GraphQL Query

    Tool to run an arbitrary GitHub GraphQL v4 query or mutation. Use when fetching multiple datasets in one batch. Cost-based rate limit: ~5,000 points/hour; keep field selections narrow, avoid deep nesting, and include rateLimit in responses to monitor quota. Responses are nested under data.data (e.g., data.data.repository.vulnerabilityAlerts); always inspect the errors array even on HTTP 200, as partial failures embed there. Paginate by looping on pageInfo.hasNextPage and advancing with pageInfo.endCursor. Search results cap at ~1,000 items per query; split by label, date range, or repository for full coverage. Use ProjectV2 nodes, not Classic Projects (deprecated). Parallel mutations (e.g., addProjectV2ItemById) can trigger transient conflicts; use sequential execution.

  • Run GraphQL Relay Query

    Runs a supplied GitHub GraphQL query or mutation, including queries that access root fields through the relay context. The response may include GraphQL errors alongside data.

  • Search code

    Searches code file contents and paths on the default branch of GitHub repositories using a query string; searches only files under 384KB, returns max 1000 results by best match, and is optimized for precision.

  • Search code (all pages)

    Searches GitHub code across multiple pages, optionally capped by a result limit; results may be partial, including because of GitHub's approximately 1,000-result cap and default-branch indexing. Queries combining parentheses with AND, OR, or NOT are rejected by the tool.

  • Search commits

    Finds commits on GitHub using a query string (q) supporting keywords and qualifiers, with options for sorting and pagination.

  • Search commits by author across repos

    Searches commits across GitHub repositories using keywords and qualifiers such as author, committer email, organization, or date range. Results can be sorted by author or committer date and returned in pages of up to 100 commits.

  • GitHub GraphQL Search

    Tool to perform GitHub GraphQL searches across issues, pull requests, repositories, users, and discussions. Returns up to 1,000 results with cursor-based pagination. Use when you need structured search results with specific fields.

  • Search issues and pull requests

    Searches GitHub issues and pull requests using keywords and qualifiers, with sorting and pagination. Results are limited to accessible repositories and may be incomplete or subject to GitHub search limits.

  • Search issues and pull requests

    Searches GitHub for issues and pull requests using keywords and qualifiers, with sorting and pagination. Standalone issue or pull request type filters must be combined with another term; @me is resolved by GitHub.

PreviousPage 39 / 45Next