Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Set repo allowed actions
GITHUB_SET_REPO_ALLOWED_ACTIONSSets allowed GitHub Actions and reusable workflows for a repository, managing permissions for GitHub-owned, verified creator, or specific pattern-matched actions/workflows (note: `patterns_allowed` applies only to public repositories).
Set custom labels for repo runner
GITHUB_SET_REPO_RUNNER_LABELSReplaces all custom labels for a specific self-hosted runner in a repository; an empty list for `labels` removes all existing custom labels.
Set selected repositories for an organization variable
GITHUB_SET_SELECTED_REPOS_FOR_ORG_VARIABLEReplaces the list of repositories that can access an organization-level variable; the variable's visibility must be 'selected'.
Set selected repositories for an organization secret
GITHUB_SET_SELECTED_REPOSITORIES_FOR_AN_ORGANIZATION_SECRETReplaces 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
GITHUB_SET_SELECTED_REPOSITORIES_FOR_A_USER_SECRETDefines the list of repositories permitted to access a specific Codespaces secret for the authenticated user.
Set status check contexts
GITHUB_SET_STATUS_CHECK_CONTEXTSReplaces required status check contexts for a protected branch, requiring admin permissions; an empty `contexts` array removes all checks.
Set team access restrictions
GITHUB_SET_TEAM_ACCESS_RESTRICTIONSReplaces 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
GITHUB_SET_USER_ACCESS_RESTRICTIONSReplaces 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)
GITHUB_SET_USER_INTERACTION_LIMIT_GRAPH_QLSet 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
GITHUB_SET_WORKFLOW_EXTERNAL_ACCESSSets the access level for workflows outside a repository to use actions and reusable workflows within that repository.
Star a gist
GITHUB_STAR_A_GISTStars 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)
GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USERStars 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
GITHUB_START_A_CODESPACE_FOR_THE_AUTHENTICATED_USERInitiates 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
GITHUB_STOP_A_CODESPACE_FOR_AN_ORGANIZATION_USERStops 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
GITHUB_STOP_A_CODESPACE_FOR_THE_AUTHENTICATED_USERStops a running or available Codespace for the authenticated user, pausing its execution and billing.
Submit a review for a pull request
GITHUB_SUBMIT_A_REVIEW_FOR_A_PULL_REQUESTFinalizes 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
GITHUB_SYNC_FORK_BRANCH_WITH_UPSTREAMSynchronizes 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.
Test the push repository webhook
GITHUB_TEST_REPOSITORY_WEBHOOKTriggers a simulated push event to test a repository's push webhook; a test event is only delivered if the webhook is subscribed to 'push' events, otherwise, it returns 204 No Content without sending a POST.
Transfer a repository
GITHUB_TRANSFER_A_REPOSITORYInitiates 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
GITHUB_UNBLOCK_A_USERUnblocks a GitHub user, provided they are currently blocked by the authenticated user.