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.

  • Set selected repositories for an organization secret

    Replaces the list of repositories that can access an organization secret; only effective if the secret's visibility is 'selected'. Prerequisites: - The organization secret must already exist - The secret's visibility must be set to 'selected' (not 'all' or 'private') - Requires admin:org scope or actions secrets fine-grained permission This action completely replaces the repository access list. To add or remove individual repositories without affecting others, use the dedicated add/remove repository actions instead.

  • Set selected repositories for a user secret

    Defines the list of repositories permitted to access a specific Codespaces secret for the authenticated user.

  • Set status check contexts

    Replaces required status check contexts for a protected branch, requiring admin permissions; an empty `contexts` array removes all checks.

  • Set team access restrictions

    Replaces the list of teams with push access to a protected branch. This action sets (replaces) the teams that have push access to a protected branch. Unlike 'Add team access restrictions' (POST), this action replaces the entire list rather than adding to it. Use an empty list to remove all team restrictions. Prerequisites: - The repository must be owned by an organization (not a personal account) - The branch must have protection rules enabled - The branch protection must have restrictions configured - The teams must exist in the organization and have repository access

  • Set user access restrictions

    Replaces the list of users with push access to a protected branch in an organization repository. Important notes: - This action only works on organization-owned repositories (not personal repos) - The branch must already have protection rules with restrictions enabled - This REPLACES (not adds to) the existing list of users with push access - Users must have write access to the repository to be added - The combined total of users, apps, and teams is limited to 100 items - To add users without replacing, use the 'add_user_access_restrictions' action instead

  • Set User Interaction Limit (GraphQL)

    Set interaction limits on a specified user's public repositories using GraphQL, temporarily restricting who can comment, open issues, or create pull requests.

  • Set workflow access level outside repository

    Sets the access level for workflows outside a repository to use actions and reusable workflows within that repository.

  • Star a gist

    Stars a GitHub gist identified by `gist_id`; this action is idempotent and returns a 204 No Content status upon success, even if the gist is already starred.

  • Star a specified repository (requires owner and repo)

    Stars a specified repository (identified by owner and repo name) for the authenticated user; this action is idempotent and succeeds even if the repository is already starred. Requires explicit repository identification via owner and repo parameters.

  • Start a codespace for the authenticated user

    Initiates the startup process for an existing GitHub Codespace (identified by `codespace_name`) if it's in a startable state like 'Available' or 'Stopped'.

  • Stop a codespace for an organization user

    Stops a running codespace for an organization member. This action allows organization administrators to stop a codespace that belongs to a member of their organization. The codespace must be in a running state (e.g., 'Available') to be stopped. Required permissions: - OAuth/PAT: admin:org scope - Fine-grained tokens: 'Organization codespaces' (write) or 'Codespaces lifecycle admin' (write) Common HTTP responses: - 200: Codespace successfully stopped, returns codespace object - 304: Not modified (codespace already stopped) - 401: Authentication required - 403: Insufficient permissions (need admin:org) - 404: Organization, user, or codespace not found

  • Stop a codespace for the authenticated user

    Stops a running or available Codespace for the authenticated user, pausing its execution and billing.

  • Submit a review for a pull request

    Finalizes a pending pull request review (identified by `review_id`) with a required `event` (APPROVE, REQUEST_CHANGES, COMMENT) and an optional `body`.

  • Sync a fork branch with the upstream repository

    Synchronizes a branch in a forked GitHub repository with its upstream counterpart, assuming the repository is a fork, the branch exists, an upstream is configured, and the merge is conflict-free.

  • Transfer a repository

    Initiates a repository transfer to a new owner (who must accept the request); if the new owner is an organization, it must be configured to allow transfers.

  • Unblock a user

    Unblocks a GitHub user, provided they are currently blocked by the authenticated user.

  • Unblock a user from an organization

    Unblocks a user from a specified organization. A 404 response is returned as an unsuccessful result indicating that the user was not blocked or the organization or user was not found.

  • Unfollow a user

    Unfollows an existing GitHub user; this action is idempotent, succeeding even if the authenticated user is not currently following them.

  • Unfollow organization

    Tool to unfollow a GitHub organization using GraphQL. Use when you need to stop following a specific organization on GitHub.

  • Unfollow user

    Tool to unfollow a GitHub user using GraphQL. Use when you need to stop following a specific user on GitHub.

PreviousPage 10 / 13Next