Abort Repository MigrationTool to abort a repository migration that is queued or in progress.
Accept a repository invitationAccepts a PENDING repository invitation that has been issued to the authenticated user.
Add a self-hosted runner to a group for an organizationAdds a self-hosted runner to a runner group configured in an organization.
Create a GitHub-hosted runner for an organizationCreates a GitHub-hosted runner for an organization.
Create an organization Actions policyCreate an Actions policy for an organization.
Create a repository Actions policyCreate an Actions policy for a repository.
Create a self-hosted runner group for an organizationCreates a new self-hosted runner group for an organization.
Delete a custom image from the organizationDelete a custom image from the organization.
Delete an image version of custom image from the organizationDelete an image version of custom image from the organization.
Delete a GitHub-hosted runner for an organizationDeletes a GitHub-hosted runner for an organization.
Delete an organization Actions policyDelete an Actions policy for an organization.
Delete a repository Actions policyDelete an Actions policy for a repository.
Delete a self-hosted runner group from an organizationDeletes a self-hosted runner group for an organization.
Remove a repository from the list of repositories allowed to use self-hosted runners in an organizationRemoves a repository from the list of repositories that are allowed to use self-hosted runners in an organization.
Download step logs for a workflow run jobGets a redirect URL to download a plain text file of logs for a specific step of a workflow job.
Download workflow run attempt logsGets a redirect URL to download an archive of log files for a specific workflow run attempt.
Add a repository to the list of repositories allowed to use self-hosted runners in an organizationAdds a repository to the list of repositories that are allowed to use self-hosted runners in an organization.
Get GitHub Actions cache retention limit for an organizationGets GitHub Actions cache retention limit for an organization.
Get GitHub Actions cache retention limit for a repositoryGets GitHub Actions cache retention limit for a repository.
Get GitHub Actions cache storage limit for an organizationGets GitHub Actions cache storage limit for an organization.
Get GitHub Actions cache storage limit for a repositoryGets GitHub Actions cache storage limit for a repository.
Get artifact and log retention settings for an organizationGets retention settings for checks, workflow runs, commit statuses, artifacts, and logs for an organization.
Get artifact and log retention settings for a repositoryGets retention settings for checks, workflow runs, commit statuses, artifacts, and logs for a repository.
Get a concurrency group for a repositoryGets a specific concurrency group for a repository, including all instances in the group's queue.
Get a custom image definition for GitHub Actions Hosted RunnersGet a custom image definition for GitHub Actions Hosted Runners.
Get an image version of a custom image for GitHub Actions Hosted RunnersGet an image version of a custom image for GitHub Actions Hosted Runners.
Get fork PR contributor approval permissions for an organizationGets the fork PR contributor approval policy for an organization.
Get fork PR contributor approval permissions for a repositoryGets the fork PR contributor approval policy for a repository.
Get limits on GitHub-hosted runners for an organizationGet the GitHub-hosted runners limits for an organization.
Get GitHub-hosted runners machine specs for an organizationGet the list of machine specs available for GitHub-hosted runners for an organization.
Get partner images for GitHub-hosted runners in an organizationGet the list of partner images available for GitHub-hosted runners for an organization.
Get platforms for GitHub-hosted runners in an organizationGet the list of platforms available for GitHub-hosted runners for an organization.
Get a GitHub-hosted runner for an organizationGets a GitHub-hosted runner configured in an organization.
List organization Actions policiesList all Actions policies for an organization.
Get an organization Actions policyGet a specific Actions policy for an organization.
Get private repo fork PR workflow settings for an organizationGets the settings for whether workflows from fork pull requests can run on private repositories in an organization.
Get private repo fork PR workflow settings for a repositoryGets the settings for whether workflows from fork pull requests can run on a private repository.
List repository Actions policiesList all Actions policies for a repository.
Get a repository Actions policyGet a specific Actions policy for a repository.
Get runner version end-of-life schedule for an organizationGets the end-of-life schedule for a specific runner version in an organization.
Get runner version end-of-life schedule for a repositoryGets the end-of-life schedule for a specific runner version in a repository.
Get self-hosted runners settings for an organizationGets the settings for self-hosted runners for an organization.
Get a self-hosted runner group for an organizationGets a specific self-hosted runner group for an organization.
List concurrency groups for a repositoryLists the active concurrency groups for a repository.
List concurrency groups for a workflow runLists all concurrency groups associated with a workflow run or its jobs.
List custom images for an organizationList custom images for an organization.
List image versions of a custom image for an organizationList image versions of a custom image for an organization.
List GitHub-hosted runners in a group for an organizationLists the GitHub-hosted runners in an organization group.
List GitHub-hosted runners for an organizationLists all GitHub-hosted runners configured in an organization.
List self-hosted runners in a group for an organizationLists self-hosted runners that are in a specific organization group.
List self-hosted runner groups for an organizationLists all self-hosted runner groups configured in an organization and inherited from an enterprise.
List repositories allowed to use self-hosted runners in an organizationLists repositories that are allowed to use self-hosted runners in an organization.
Remove a self-hosted runner from a group for an organizationRemoves a self-hosted runner from a group configured in an organization.
Set GitHub Actions cache retention limit for an organizationSets GitHub Actions cache retention limit for an organization.
Set GitHub Actions cache retention limit for a repositorySets GitHub Actions cache retention limit for a repository.
Set GitHub Actions cache storage limit for an organizationSets GitHub Actions cache storage limit for an organization.
Set GitHub Actions cache storage limit for a repositorySets GitHub Actions cache storage limit for a repository.
Set artifact and log retention settings for an organizationSets retention settings for checks, workflow runs, commit statuses, artifacts, and logs for an organization.
Set artifact and log retention settings for a repositorySets retention settings for checks, workflow runs, commit statuses, artifacts, and logs for a repository.
Set fork PR contributor approval permissions for an organizationSets the fork PR contributor approval policy for an organization.
Set fork PR contributor approval permissions for a repositorySets the fork PR contributor approval policy for a repository.
Set private repo fork PR workflow settings for an organizationSets the settings for whether workflows from fork pull requests can run on private repositories in an organization.
Set private repo fork PR workflow settings for a repositorySets the settings for whether workflows from fork pull requests can run on a private repository.
Set self-hosted runners settings for an organizationSets the settings for self-hosted runners for an organization.
Set self-hosted runners in a group for an organizationReplaces the list of self-hosted runners that are part of an organization runner group.
Set repositories allowed to use self-hosted runners in an organizationSets repositories that are allowed to use self-hosted runners in an organization.
Update a GitHub-hosted runner for an organizationUpdates a GitHub-hosted runner for an organization.
Update an organization Actions policyUpdate an Actions policy for an organization.
Update a repository Actions policyUpdate an Actions policy for a repository.
Update a self-hosted runner group for an organizationUpdates the `name` and `visibility` of a self-hosted runner group in an organization.
Get stargazer countGets the current number of users who have starred the repository.
Add app access restrictionsAdds GitHub Apps to the list of apps allowed to push to a protected branch.
Add assignees to an issueAdds assignees to a GitHub issue.
Add a repository collaboratorAdds a GitHub user as a repository collaborator, or updates their permission if already a collaborator; `permission` applies to organization-owned repositories (personal ones default to 'push' and ignore this field), and an invitation may be created or permissions updated directly.
Add email for auth userAdds one or more email addresses (which will be initially unverified) to the authenticated user's GitHub account; use this to associate new emails, noting an email verified for another account will error, while an existing email for the current user is accepted.
Add field to user projectTool to add a custom field to a user-owned GitHub Projects V2 project.
Add item to user projectTool to add an issue or pull request to a user-owned GitHub project.
Add labels to an issueAdds labels (provided in the request body) to a repository issue; labels that do not already exist are created.
Add org runner labelsAdds new custom labels to an existing self-hosted runner for an organization; existing labels are not removed, and duplicates are not added.
Add or update team membership for a userAdds a GitHub user to a team or updates their role (member or maintainer), inviting them to the organization if not already a member; idempotent, returning current details if no change is made.
Add or update team project permissionsThe Projects (classic) endpoint used by this action has been retired.
Add or update team repository permissionsSets or updates a team's permission level for a repository within an organization; the team must be a member of the organization.
Add a repository to an app installationAdds a repository to a GitHub App installation, granting the app access; requires authenticated user to have admin rights for the repository and access to the installation.
Add repository access to a self-hosted runner group in an organizationAdds a repository to the list of repositories that can access a self-hosted runner group.
Add repo to org secret with selected accessAdds a repository to an existing organization-level GitHub Actions secret that is configured for 'selected' repository access.
Add selected repo to org secretGrants an existing repository access to an existing organization-level Dependabot secret when the secret's visibility is set to 'selected'; the repository must belong to the organization, and the call succeeds without change if access already exists.
Add runner labelsAdds and appends custom labels to a self-hosted repository runner, which must be registered and active.
Add selected repository to an organization secretAdds a repository to the access list of an organization-level GitHub Codespaces secret with selected visibility.
Add selected repository to an organization variableGrants a repository access to an organization-level GitHub Actions variable, if that variable's visibility is set to 'selected_repositories'.
Add a selected repository to a user secretGrants a specified repository access to an authenticated user's existing Codespaces secret, enabling Codespaces created for that repository to use the secret.
Add social accounts for the authenticated userAdds one or more social media links (which must be valid, full URLs for platforms supported by GitHub) to the authenticated user's public GitHub profile.
Add status check contextsAdds status check contexts to a protected branch's required status checks.
Add sub-issue to an issueTool to add a sub-issue to a parent GitHub issue using GraphQL.
Add team access restrictionsAdds teams to the list of teams with push access to a protected branch.
Add users to codespaces access for an organizationAdds organization members to the list of users granted Codespaces access billed to the organization.
Add user access restrictionsAdds users to the list of people allowed to push to a protected branch in an organization repository.
Add selected repository to an organization variableAdds a repository to an organization agent variable that is available to selected repositories.
Create an organization variableCreates an organization agent variable that you can reference in a GitHub Actions workflow.
Create a repository variableCreates a repository variable that you can reference in a GitHub Actions workflow.
Delete an organization variableDeletes an organization agent variable using the variable name.
Delete a repository variableDeletes a repository variable using the variable name.
Get an organization public keyGets your public key, which you need to encrypt secrets.
Get an organization secretGets a single organization secret without revealing its encrypted value.
Get an organization variableGets a specific agent variable in an organization.
Get a repository public keyGets your public key, which you need to encrypt secrets.
Get a repository secretGets a single repository secret without revealing its encrypted value.
Get a repository variableGets a specific variable in a repository.
List organization secretsLists all secrets available in an organization without revealing their encrypted values.
List organization variablesLists all agent variables available in an organization.
List repository organization secretsLists all organization secrets shared with a repository without revealing their encrypted values.
List repository organization variablesLists all organization variables shared with a repository.
List repository secretsLists all secrets available in a repository without revealing their encrypted values.
List repository variablesLists all repository variables.
List selected repositories for an organization secretLists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`.
List selected repositories for an organization variableLists all repositories that can access an organization agent variable that is available to selected repositories.
Remove selected repository from an organization variableRemoves a repository from an organization agent variable that is available to selected repositories.
Set selected repositories for an organization variableReplaces all repositories for an organization agent variable that is available to selected repositories.
Update an organization variableUpdates an organization agent variable that you can reference in a GitHub Actions workflow.
Update a repository variableUpdates a repository variable that you can reference in a GitHub Actions workflow.
Create an automation for a repository> [!NOTE] > This endpoint is in public preview and is subject to change.
Run an automation> [!NOTE] > This endpoint is in public preview and is subject to change.
Delete an automation> [!NOTE] > This endpoint is in public preview and is subject to change.
Update an automation> [!NOTE] > This endpoint is in public preview and is subject to change.
Get an automation revision> [!NOTE] > This endpoint is in public preview and is subject to change.
Get an automation> [!NOTE] > This endpoint is in public preview and is subject to change.
List automations for user> [!NOTE] > This endpoint is in public preview and is subject to change.
List revisions for an automation> [!NOTE] > This endpoint is in public preview and is subject to change.
List automations for a repository> [!NOTE] > This endpoint is in public preview and is subject to change.
List tasks for an automation in a repository> [!NOTE] > This endpoint is in public preview and is subject to change.
List available automation tools for a repository> [!NOTE] > This endpoint is in public preview and is subject to change.
List available automation triggers for a repository> [!NOTE] > This endpoint is in public preview and is subject to change.
Disable Agent Merge for a pull requestDisables Agent Merge for a pull request.
Get Agent Merge configuration for a pull requestGets the Agent Merge configuration for a pull request.
Update Agent Merge configuration for a pull requestUpdates the Agent Merge configuration for a pull request, enabling Agent Merge or changing the allowed actions that Copilot is allowed to take on the pull request.
Start a task> [!NOTE] > This endpoint is in public preview and is subject to change.
Get a task by ID> [!NOTE] > This endpoint is in public preview and is subject to change.
Get a task by repo> [!NOTE] > This endpoint is in public preview and is subject to change.
List tasks> [!NOTE] > This endpoint is in public preview and is subject to change.
List tasks for repository> [!NOTE] > This endpoint is in public preview and is subject to change.
Get route stats by actorGet API request count statistics for an actor broken down by route within a specified time frame.
Get subject statsGet API request statistics for all subjects within an organization within a specified time frame.
Get summary statsGet overall statistics of API requests made within an organization by all users and apps within a specified time frame.
Get summary stats by actorGet overall statistics of API requests within the organization made by a specific actor.
Get summary stats by userGet overall statistics of API requests within the organization for a user.
Get time statsGet the number of API requests and rate-limited requests made within an organization over a specified time period.
Get time stats by actorGet the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.
Get time stats by userGet the number of API requests and rate-limited requests made within an organization by a specific user over a specified time period.
Get user statsGet API usage statistics within an organization for a user broken down by the type of access.
Get GitHub API rootRetrieves a map of all top-level GitHub REST API resource URLs and their templates.
Approve a workflow run for a fork pull requestApproves a workflow run from a forked repository's pull request; call this when such a run requires manual approval due to workflow configuration.
Assign an organization role to a teamAssigns an existing organization-level role (identified by `role_id`) to a team (identified by `team_slug`) within a GitHub organization (`org`), provided the organization, team, and role already exist.
Assign an organization role to a userAssigns a specific organization role to a user who is a member or an outside collaborator in a GitHub organization, using a valid role ID.
Create a budget for an organizationCreates a new budget for an organization.
Delete a budget for an organizationDeletes a budget by ID for an organization.
Get billing AI credit usage report for an organizationGets a report of AI credit usage for an organization.
Get billing AI credit usage report for a userGets a report of AI credit usage for a user.
Get all budgets for an organizationGets all budgets for an organization.
Get a budget by ID for an organizationGets a budget by ID.
Get billing premium request usage report for an organizationGets a report of premium request usage for an organization.
Get billing usage report for an organizationGets a report of the total usage for an organization.
Get billing usage summary for an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Update a budget for an organizationUpdates an existing budget for an organization.
Block a userBlocks an existing individual GitHub user (not an organization or your own account), preventing them from interacting with your account and repositories.
Block a user from an organizationBlocks a GitHub user from an organization, preventing contributions, collaboration, and forking of its repositories; requires admin or 'Blocking users' organization permission.
Create a campaign for an organizationCreate a campaign for an organization.
Delete a campaign for an organizationDeletes a campaign in an organization.
Get a campaign for an organizationGets a campaign for an organization.
List campaigns for an organizationLists campaigns in an organization.
Update a campaignUpdates a campaign in an organization.
Cancel a GitHub Pages deploymentCancels an existing, ongoing or queued GitHub Pages deployment for a repository using its `pages_deployment_id`.
Cancel sponsorshipTool to cancel an active GitHub sponsorship using GraphQL.
Cancel a workflow runRequests cancellation of a workflow run in a GitHub repository if it is in a cancellable state, such as in progress or queued.
Check if following userCheck if the authenticated user is following a specified person on GitHub.
Check if a gist is starredChecks whether the authenticated user has starred a GitHub gist.
Check if pull request mergedChecks if a specified GitHub pull request has been merged, indicated by a 204 HTTP status (merged) or 404 (not merged/found).
Check if pull request mergedChecks whether a GitHub pull request has been merged.
Check if a user can be assignedVerifies if a GitHub user can be assigned to issues in a repository; assignability is confirmed by an HTTP 204 (No Content) response, resulting in an empty 'data' field in the response.
Check if a user can be assigned to an issueChecks if a specified GitHub user can be assigned to a given issue within a repository.
Check if a user follows another userChecks if a GitHub user `username` follows `target_user`; returns a 204 HTTP status if true, 404 if not or if users are invalid.
Check if a user is blocked by the authenticated userChecks whether a specified GitHub user is blocked by the authenticated user.
Check if a user is blocked by an organizationChecks whether a GitHub user is blocked by an organization; requires 'Blocking users' organization permission (read access).
Check if a user is a repository collaboratorChecks whether a user is a collaborator on a GitHub repository, returning a boolean for HTTP 204 or 404; a 404 can also mean the repository or user does not exist.
Check organization membership for userCheck whether a user has membership visible to the connected account.
Check if person is followed by authenticated userChecks if the authenticated GitHub user follows a target GitHub user.
Check private vulnerability reporting statusChecks if private vulnerability reporting is enabled for the specified repository.
Check public organization membershipCheck whether a user is a public member of a GitHub organization.
Check if repository is starredCheck if a repository is starred by the authenticated user.
Check team permissions for a projectThe Projects (classic) endpoint used by this action has been retired.
Check team permissions for a repositoryChecks a team's permissions for a specific repository within an organization, including permissions inherited from parent teams.
Check a tokenChecks if a GitHub App or OAuth access_token is valid for the specified client_id and retrieves its details, typically to verify its active status and grants.
Clear Project V2 Item Field ValueTool to clear the value of a field for an item in a GitHub Project V2.
Clear repository cache by keyDeletes GitHub Actions caches from a repository matching a specific `key` and an optional Git `ref`, used to manage storage or clear outdated/corrupted caches; the action succeeds even if no matching caches are found to delete.
Clear self-hosted runner org labelsRemoves all custom labels from a self-hosted runner for an organization; default labels (e.g., 'self-hosted', 'linux', 'x64') will remain.
Close an issueClose a GitHub issue by setting its state to closed.
Close a pull requestCloses an open pull request without merging it.
Get a code quality findingGets a single code quality finding.
Get a code quality setup configurationGets a code quality setup configuration.
List code quality findings for a repositoryLists code quality findings for a repository.
Update a code quality setup configurationUpdates a code quality setup configuration.
Commit an autofix for a code scanning alertCommits an autofix for a code scanning alert from the repository's default branch.
Create an autofix for a code scanning alertCreates an autofix for a code scanning alert from the repository's default branch.
Create a CodeQL variant analysisCreates a new CodeQL variant analysis, which will run a CodeQL query against one or more repositories.
Delete a CodeQL databaseDeletes a CodeQL database for a language in a repository.
Get AI Scan enablement for a repositoryGets whether AI Scan is enabled for a repository.
Get the AI Scan setting for an organizationGets the AI Scan setting stored on an organization.
Get the status of an autofix for a code scanning alertGets the status and description of an autofix for a code scanning alert on the repository's default branch.
Get the summary of a CodeQL variant analysisGets the summary of a CodeQL variant analysis.
Get the analysis status of a repository in a CodeQL variant analysisGets the analysis status of a repository in a CodeQL variant analysis.
Update AI Scan enablement for a repositoryUpdates whether AI Scan is enabled for a repository.
Update the AI Scan setting for an organizationUpdates the AI Scan setting stored on an organization.
Attach a configuration to repositoriesAttach a code security configuration to a set of repositories.
Create a code security configurationCreates a code security configuration in an organization.
Delete a code security configurationDeletes the desired code security configuration from an organization.
Detach configurations from repositoriesDetach code security configuration(s) from a set of repositories.
Get a code security configurationGets a code security configuration available in an organization.
Get code security configurations for an organizationLists all code security configurations available in an organization.
Get the code security configuration associated with a repositoryGet the code security configuration that manages a repository's code security settings.
Get default code security configurationsLists the default code security configurations for an organization.
Get repositories associated with a code security configurationLists the repositories associated with a code security configuration in an organization.
Set a code security configuration as a default for an organizationSets a code security configuration as a default to be applied to new repositories in your organization.
Update a code security configurationUpdates a code security configuration in an organization.
Commit Multiple FilesCreates, updates, or deletes repository files in a commit, with retries for non-fast-forward branch updates; a new branch in a nonempty repository requires a base branch.
Compare two commitsCompares two commit points (commits, branches, tags, or SHAs) within a repository or across forks, using `BASE...HEAD` or `OWNER:REF...OWNER:REF` format for the `basehead` parameter.
Configure JIT runner for an orgGenerates a JIT configuration for a GitHub organization's new self-hosted runner to run a single job then unregister; requires admin:org scope and the runner_group_id must exist in the organization.
Configure OIDC subject claim templateSets or updates the OIDC subject claim customization template for an existing GitHub organization by specifying which claims (e.g., 'repo', 'actor') form the OIDC token's subject (`sub`).
Convert an organization member to outside collaboratorConverts a GitHub organization member to an outside collaborator with access restricted to explicitly granted repositories.
Convert Pull Request to DraftConverts an open pull request to draft status, indicating it is not ready for review.
Add teams to the Copilot subscription for an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Add users to the Copilot subscription for an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Remove teams from the Copilot subscription for an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Remove users from the Copilot subscription for an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Get Copilot content exclusion rules for an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Delete Copilot customizations for a teamDeletes the GitHub-managed Copilot customization document for an organization team.
Disable a repository for Copilot cloud agent in an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Enable a repository for Copilot cloud agent in an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Get Copilot cloud agent configuration for a repository> [!NOTE] > This endpoint is in public preview and is subject to change.
Get Copilot cloud agent permissions for an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Get Copilot seat information and settings for an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Get Copilot seat assignment details for a user> [!NOTE] > This endpoint is in public preview and is subject to change.
Get Copilot customizations for a teamGets the GitHub-managed Copilot customization document for an organization team.
Get the Copilot code review policy for an organizationGets the configured and effective Copilot code review policy for an organization, whether organization administrators can edit it, and whether the enterprise or the organization manages it.
Get the Copilot code review runner configuration for an organizationGets the runner configuration that Copilot code review uses for an organization.
Get Copilot code review settings for an organizationGets the Copilot code review settings for an organization.
Get Copilot code review settings for a repositoryGets the Copilot code review settings for a repository.
List repositories enabled for Copilot cloud agent in an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
List all Copilot seat assignments for an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Get Copilot organization usage metrics for a specific dayUse this endpoint to retrieve download links for the Copilot organization usage metrics report for a specific day.
Get Copilot organization repository report for a specific dayUse this endpoint to retrieve download links for the Copilot organization repository report for a specific day.
Get Copilot organization usage metricsUse this endpoint to retrieve download links for the latest 28-day organization Copilot usage metrics report.
Get Copilot organization users usage metrics for a specific dayUse this endpoint to retrieve download links for the Copilot organization user usage metrics report for a specific day.
Get Copilot organization users usage metricsUse this endpoint to retrieve download links for the latest 28-day organization users Copilot usage metrics report.
Get Copilot organization user-teams report for a specific dayUse this endpoint to retrieve download links for the Copilot organization user-teams report for a specific day.
Set Copilot cloud agent permissions for an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Set selected repositories for Copilot cloud agent in an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Set Copilot content exclusion rules for an organization> [!NOTE] > This endpoint is in public preview and is subject to change.
Set Copilot customizations for a teamReplaces the entire GitHub-managed Copilot customization document for an organization team, creating it on the first write.
Set the Copilot code review policy for an organizationSets the Copilot code review policy for an organization, using the same user settings propagation and notifications as organization settings.
Set the Copilot code review runner configuration for an organizationSets the runner configuration that Copilot code review uses for an organization.
Add a collaborator to an organization Copilot SpaceAdds a collaborator (user or team) to a specific Copilot Space owned by an organization.
Add a collaborator to a Copilot Space for a userAdds a collaborator to a specific Copilot Space owned by a user.
Create an organization Copilot SpaceCreates a new Copilot Space owned by an organization.
Create a Copilot Space for a userCreates a new Copilot Space owned by a user.
Create a resource for an organization Copilot SpaceCreates a new resource in a specific Copilot Space owned by an organization.
Create a resource for a Copilot Space for a userCreates a new resource in a specific Copilot Space owned by a user.
Delete an organization Copilot SpaceDeletes a Copilot Space owned by an organization.
Delete a Copilot Space for a userDeletes a Copilot Space owned by a user.
Delete a resource from an organization Copilot SpaceDeletes a resource from a specific Copilot Space owned by an organization.
Delete a resource from a Copilot Space for a userDeletes a resource from a specific Copilot Space owned by a user.
Get an organization Copilot SpaceGets details about a specific Copilot Space owned by an organization.
Get a Copilot Space for a userGets details about a specific Copilot Space owned by a user.
Get a resource for an organization Copilot SpaceGets a specific resource attached to a Copilot Space owned by an organization.
Get a resource for a Copilot Space for a userGets a specific resource attached to a Copilot Space owned by a user.
List collaborators for an organization Copilot SpaceLists all collaborators for a specific Copilot Space owned by an organization.
List collaborators for a Copilot Space for a userLists all collaborators for a specific Copilot Space owned by a user.
List organization Copilot SpacesLists Copilot Spaces owned by an organization.
List Copilot Spaces for a userLists Copilot Spaces owned by a user.
List resources for an organization Copilot SpaceLists all resources attached to a specific Copilot Space owned by an organization.
List resources for a Copilot Space for a userLists all resources attached to a specific Copilot Space owned by a user.
Remove a collaborator from an organization Copilot SpaceRemoves a collaborator from a specific Copilot Space owned by an organization.
Remove a collaborator from a Copilot Space for a userRemoves a collaborator from a specific Copilot Space owned by a user.
Set a collaborator role for an organization Copilot SpaceUpdates the role of a collaborator for a specific Copilot Space owned by an organization.
Set a collaborator role for a Copilot Space for a userUpdates the role of a collaborator for a specific Copilot Space owned by a user.
Set an organization Copilot SpaceUpdates a Copilot Space owned by an organization.
Set a Copilot Space for a userUpdates a Copilot Space owned by a user.
Set a resource for an organization Copilot SpaceUpdates the metadata of a resource in a specific Copilot Space owned by an organization.
Set a resource for a Copilot Space for a userUpdates the metadata of a resource in a specific Copilot Space owned by a user.
Update Copilot code review settings for an organizationUpdates the Copilot code review settings for an organization.
Update Copilot code review settings for a repositoryUpdates the Copilot code review settings for a repository.
Create an autolink reference for a repositoryCreates a repository autolink to automatically convert text references (e.g., 'TICKET-123') into hyperlinks, using a unique `key_prefix` and a `url_template` that includes ``.
Create an environment variableCreates an encrypted environment variable for a pre-existing environment within a GitHub repository; will fail if the variable name already exists.
Create an issueCreates a new issue in a GitHub repository, requiring the repository to exist and have issues enabled; specific fields like assignees, milestone, or labels may require push access.
Create an issue commentCreates a new comment on an existing GitHub issue or pull request within the specified repository.
Create an organization projectThe Projects (classic) creation endpoint used by this action has been retired.
Create an organization repositoryCreates a new repository within a specified GitHub organization, with options for detailed configuration including visibility, features, merge strategies, initial commit, and templates.
Create an organization variableCreates a new, uniquely named GitHub Actions variable for an organization, with configurable repository access visibility (all, private, or selected).
Create an organization webhookCreates a webhook for a GitHub organization to deliver event notifications to a configured URL.
Create a blobCreates a Git blob in a repository, requiring content and encoding ('utf-8' or 'base64').
Create a check runCreates a new check run for a specific commit in a repository, used by external services to report status, detailed feedback, annotations, and images directly within the GitHub UI.
Create a check suiteCreates a new check suite for a specific commit (`head_sha`) in an original repository (not a fork).
Create a codespace for the authenticated userCreates a GitHub Codespace for the authenticated user, requiring a JSON request body with either `repository_id` (integer) or a `pull_request` object (containing `pull_request_number` (integer) and `repository_id` (integer)).
Create a codespace from a pull requestCreates a GitHub Codespace for an open pull request in a Codespaces-enabled repository, with options to customize its configuration.
Create a codespace in a repositoryCreates a GitHub Codespace for the authenticated user in a specified repository, which must be accessible and use a valid `devcontainer.json` if `devcontainer_path` is specified.
Create a commitCreates a Git commit object in a GitHub repository using an existing tree SHA and optional existing parent commit SHAs.
Create a commit commentCreates a comment on a specific commit, or on a specific line if `path` and `position` are provided.
Create a commit statusSets a commit's status (e.g., error, failure, pending, success from CI/CD) for a given SHA; max 1000 statuses per SHA/context.
Create a custom organization roleThe custom organization role creation endpoint has been retired.
Create a deploymentCreates a GitHub deployment for an existing repository, targeting a specific ref (branch, tag, or SHA).
Create a deployment branch policyCreates a deployment branch or tag policy for an existing environment in a GitHub repository, using a Ruby File.fnmatch pattern (where `*` doesn't match `/`) to specify which branches or tags are deployable.
Create a deployment statusCreates a status for an existing deployment, updating its operational state, associated URLs, and description.
Create a deploy keyCreates a deploy key for a repository; the repository must exist and be accessible, and the provided key must be a valid public SSH key.
Create a discussionThe team discussions endpoint used by this action has been retired.
Create a discussion commentThe team discussion comments endpoint used by this action has been retired.
Create a forkCreates a fork of an accessible repository, optionally into a specific organization, with a new name, or copying only the default branch.
Create a gistCreates a new gist on GitHub with provided files, an optional description, and public/secret visibility.
Create a gist commentCreates a new comment on a specified GitHub gist.
Create a GitHub App from a manifestUse this action to complete the GitHub App Manifest flow (step 3 of 3) by exchanging the temporary authorization `code` for the app's full configuration, including credentials and private key.
Create a github pages deploymentCreates a GitHub Pages deployment for a repository using a specified artifact and OIDC token, provided GitHub Pages is enabled and the artifact (containing static assets) is accessible.
Create a github pages siteCreates a GitHub Pages site for a repository, with a choice of build type and source location.
Create a labelCreates a label in a specified GitHub repository, provided the repository exists and the user has write permissions.
Create a milestoneCreates a milestone in a GitHub repository for tracking progress on issues or pull requests; requires repository existence and user write permissions.
Create a project cardThe Projects (classic) card endpoint used by this action has been retired.
Create a pull requestCreates a pull request in a GitHub repository, requiring existing `base` and `head` branches; `title` or `issue` must be provided.
Create a referenceCreates a NEW Git reference (branch or tag) in a repository.
Create a registration token for an organizationGenerates a temporary (one-hour) registration token to add a new self-hosted runner to an organization for GitHub Actions.
Create a registration token for a repositoryGenerates a time-limited token required to register a new self-hosted runner with a specific repository.
Create a releaseCreates a release in a GitHub repository for a specified tag; the tag must be unique for published releases, and if a `discussion_category_name` is given, it must already exist.
Create a remove token for an organizationGenerates a token, valid for one hour, to authenticate removing a self-hosted runner from an organization.
Create a remove token for a repositoryGenerates a temporary (one-hour validity) token required to unregister and remove a self-hosted runner from a repository.
Create a reply for a review commentPosts a reply to a specific review comment on a GitHub pull request, requiring the repository, pull request, and original comment to exist, and a non-empty reply body.
Create a repository dispatch eventTriggers a GitHub Actions workflow or a webhook on a repository by creating a repository dispatch event, allowing programmatic triggering of workflows based on events outside of GitHub.
Create a repository for the authenticated userCreates a new repository for the authenticated user.
Create a repository from an unpublished codespacePublishes the specified codespace to a new repository, using the codespace's current state as the initial commit.
Create a repository projectCreates a GitHub Projects V2 project owned by the repository owner and linked to the specified repository.
Create a repository rulesetCreates a uniquely named ruleset for a repository, defining rules for branches or tags with specified enforcement, conditions, and bypass actors.
Create a repository using a templateCreates a new repository from an existing template repository; the authenticated user must have access to the template and, if creating in an organization, repository creation permissions within it.
Create a repository variableCreates a new, unencrypted variable in a repository for GitHub Actions workflows; fails if a variable with the same name already exists.
Create a repository webhookCreates a webhook for a specified repository; requires admin permissions on the repository.
Create a review comment for a pull requestCreates a review comment on a pull request diff at a specific line or range, using a diff position, or as a reply to an existing review comment.
Create a review for a pull requestCreates a pull request review, allowing approval, change requests, or comments; `body` is required if `event` is `REQUEST_CHANGES` or `COMMENT`, and omitting `event` makes the review `PENDING`.
Create a scoped access tokenCreates a repository-scoped and/or permission-scoped GitHub App user access token from a non-scoped user token.
Create a dependency snapshotCreates a snapshot of a repository's dependencies to populate the GitHub dependency graph and enable security alerts; `sha` must be a 40-character commit ID, `ref` a fully qualified Git reference (e.g., `refs/heads/main`), and `scanned` an ISO 8601 timestamp.
Create a tag objectCreates an annotated Git tag object in a repository, pointing to an existing commit, tree, or blob identified by its SHA and specified type.
Create a teamCreates a new team in an organization, optionally with maintainers, repositories, specific privacy, notification settings, or a parent team; if `parent_team_id` is given, `privacy` must be 'closed'.
Create a temporary private forkCreates a temporary private fork of the specified repository to address a security vulnerability, linking the fork to a GHSA ID that must be specifically associated with this repository; the fork may take up to 5 minutes to become accessible.
Create a treeCreates a new Git tree object in a repository, defining file/directory structure by specifying tree entries, optionally building on a `base_tree` SHA; all provided SHAs must be valid.
Create a user projectCreates a GitHub Projects V2 project board for the authenticated user using the GraphQL API.
Create a workflow dispatch eventManually triggers a GitHub Actions workflow identified by `workflow_id` at a given `ref`, if the workflow is configured to accept `workflow_dispatch` events.
Create a branchCreates a new branch in a GitHub repository pointing to a specified commit.
Create commit signature protectionEnables commit signature protection for a specified branch, requiring all new commits to be signed.
Create a custom deployment protection rule on an environmentEnables a custom deployment protection rule for an existing environment in a repository by linking a configured GitHub App (via `integration_id`) to control deployments.
Create draft item for user projectCreates a draft issue item in a user-owned GitHub ProjectsV2.
Create inference chat completionsTool to create chat completions using GitHub Models inference API.
Create inference embeddingsTool to create inference embeddings using GitHub's AI models.
Create issue typeCreate a new issue type for a GitHub organization.
Create JIT runner config for repoGenerates a temporary Just-In-Time (JIT) configuration for a new self-hosted GitHub Actions runner for a repository; any specified non-default `runner_group_id` must be an existing runner group accessible by the repository.
Create or update an environmentCreates a new environment or updates an existing one in a GitHub repository, allowing configuration of deployment protection rules such as wait timers and reviewers; ensure `environment_name` is URL-encoded if it contains special characters.
Create or update an environment secretCreates or updates an environment secret with an `encrypted_value` that was encrypted using the public key identified by `key_id` for the specified environment.
Create or update an organization secretCreates or updates an organization secret for GitHub Actions, requiring its value to be pre-encrypted via LibSodium using the organization's public key.
Create or update a repository secretCreates or updates a GitHub Actions secret within a specific repository; use `encrypted_value` and `key_id` to set or change its value.
Create or update a secret for the authenticated userCreates or updates a Codespaces secret for the authenticated user, optionally restricting access to selected repositories.
Create or update custom properties for an organizationCreates new custom property schemas or updates existing ones in bulk for a specified organization; each property definition must include `property_name` and `value_type`.
Create or update a custom property for an organizationCreates a new custom property (name must be unique for creation) or updates an existing one for an organization to define metadata for its repositories.
Create or update file contentsCreates or updates a file in a GitHub repository with a commit message and supplied content.
Create or Update GitHub Pages SiteEnables or updates GitHub Pages configuration for a repository, including source, custom domain and HTTPS settings.
Create or update repo secret with encrypted valueCreates or updates a Dependabot secret in a repository using an `encrypted_value` (pre-encrypted with LibSodium using the repository's Dependabot public key) and its corresponding `key_id`.
Create reaction for an issueCreates a reaction for a specified issue within a GitHub repository.
Create reaction for an issue commentCreates a reaction for a specific comment on an issue within a GitHub repository.
Create reaction for a commit commentCreates an emoji reaction for a commit comment; if the user has already reacted with the same content, details of the existing reaction are returned.
Create reaction for a pull request review commentAdds a specified reaction to a pull request review comment within a GitHub repository.
Create reaction for a releaseCreates an emoji reaction for a specific, existing release in a GitHub repository.
Create reaction for a team discussionThe team discussion reactions endpoint used by this action has been retired.
Create reaction for a team discussion commentThe team discussion comment reactions endpoint used by this action has been retired.
Create repositoryCreates a new repository for the authenticated user.
Create sponsorshipTool to start a new GitHub sponsorship or reactivate a past sponsorship using GraphQL.
Create Sponsors TierCreate a GitHub Sponsors payment tier for a specified user or organization using GraphQL, with an amount and description.
Create or Update Organization Secret with LibSodiumCreates or updates a Dependabot organization secret, requiring the secret value to be pre-encrypted with LibSodium using the organization's public key obtained from the 'Get an organization public key' endpoint.
Create user listTool to create a new user list on GitHub.
Create view for user projectTool to create a new view in a user-owned GitHub project (Projects V2).
Decline a repository invitationDeclines a specific, pending repository invitation for the authenticated user, identified by its `invitation_id`.
Delete access restrictionsRemoves all user, team, and app-based access restrictions from a protected branch.
Delete admin branch protectionRemoves admin enforcement from a protected branch (branch name cannot contain wildcard characters) in a repository.
Delete an app authorizationDeletes a user's OAuth application grant, revoking the associated tokens for that application.
Delete an app tokenRevokes a specified OAuth access token issued by an OAuth App or a GitHub App with OAuth authorization.
Delete an artifactDeletes a GitHub artifact by its ID within a repository, typically resulting in an empty response (HTTP 204 No Content) on success.
Delete an autolink reference from a repositoryDeletes a specific autolink reference (which automatically links external resource IDs like JIRA-123 to URLs) from the specified repository.
Delete a fileDeletes a file by path from a GitHub repository.
Delete a package version for the authenticated userDeletes an existing package version associated with the authenticated user.
Delete a referenceDeletes a Git reference from a repository.
Delete a releasePermanently deletes a specific release, its assets, and potentially its associated Git tag from a repository.
Delete a release assetDeletes a specific release asset from a GitHub repository; this action is idempotent.
Delete a release reactionDeletes a reaction from a GitHub release, provided the repository, release, and reaction exist.
Delete a repositoryPermanently deletes the specified repository; this is a destructive, irreversible action that requires admin privileges for the repository.
Delete a repository invitationDeletes a specified repository invitation.
Delete a repository rulesetPermanently deletes a repository ruleset.
Delete a repository secretDeletes a named GitHub Actions secret from a specified repository; this operation is destructive and idempotent, and requires the repository to exist.
Delete a repository subscriptionDeletes the authenticated user's subscription to a specified repository if it exists, effectively 'unwatching' it.
Delete a repository variableDeletes a named variable (e.g., for GitHub Actions workflows) from a repository; the repository and the variable must already exist.
Delete a repository webhookDeletes a specific webhook from a repository.
Delete a review comment for a pull requestDeletes a specific pull request review comment.
Delete a secret for the authenticated userDeletes an existing Codespaces secret for the authenticated user by `secret_name`.
Delete a self hosted runner from an organizationRemoves a self-hosted runner from a GitHub organization, including when its machine no longer exists, immediately disconnecting it from GitHub Actions.
Delete a self hosted runner from a repositoryRemoves a specific self-hosted runner (by `runner_id`) from a repository, if registered there; this is idempotent.
Delete a teamDeletes a team (and any child teams) from an organization.
Delete a thread subscriptionCall this to mute a specific notification thread by deleting the user's subscription; notifications may still occur if the user is @mentioned, comments, or due to repository watch settings.
Delete a workflow runDeletes a specific workflow run from a repository.
Delete branch protectionRemoves all protection rules from a specific branch in a GitHub repository; the branch must currently have protection rules enabled.
Delete a codespace for the authenticated userDeletes a specific codespace owned by the authenticated user; this is a destructive action and the codespace must exist.
Delete a code scanning analysis from a repositoryDeletes a specific code scanning analysis by its ID from a repository; `confirm_delete` must be `true` if it's the last analysis of its type for a given tool and reference to prevent data loss.
Delete a commit commentDeletes a specific commit comment, identified by its `comment_id`, from the specified repository; the comment must exist.
Delete a commit comment reactionDeletes a reaction from a commit comment in a GitHub repository.
Delete commit signature protectionDisables GPG commit signature protection for a specific branch in a GitHub repository, meaning commits pushed to this branch no longer require GPG signing.
Delete a custom organization roleThe custom organization role deletion endpoint has been retired.
Delete dependabot secret by nameDeletes a specific Dependabot secret, identified by its name, from a given repository if both the repository and secret exist.
Delete a deploymentPermanently deletes a specified *inactive* deployment from a repository.
Delete a deployment branch policyDeletes a specific deployment branch or tag policy, identified by its ID, from a given environment within a repository.
Delete a deploy keyDeletes a specific deploy key from a repository; to change a key's properties or access scope, the existing key must be deleted and a new one created.
Delete a discussionThe team discussions endpoint used by this action has been retired.
Delete a discussion commentThe team discussion comments endpoint used by this action has been retired.
Delete authenticated user email addressAttempts to delete specified email addresses from the authenticated user's GitHub account.
Delete an environmentDeletes an existing deployment environment from an existing repository.
Delete an environment secretDeletes an existing and accessible secret from a specified environment within a GitHub repository, returning an empty dictionary on success or error details otherwise.
Delete an environment variableDeletes a named environment variable from a specified, existing environment within a GitHub repository.
Delete a gistPermanently deletes an existing GitHub gist, specified by its `gist_id`; this action is destructive and cannot be undone.
Delete a gist commentDeletes a specific comment from a GitHub Gist using its `gist_id` and `comment_id`.
Delete GitHub Actions cache by IDDeletes a specific GitHub Actions cache from a repository using its unique `cache_id`.
Delete a GitHub Pages siteDeletes the GitHub Pages site for the specified repository; completes without error if no site is currently enabled.
Delete an issue commentPermanently deletes a specific comment by its ID from an issue or pull request, if the repository exists and the comment ID is valid.
Delete an issue comment reactionDeletes a reaction from an issue comment in a repository; the repository, comment, and reaction must exist.
Delete an issue reactionPermanently removes a specific reaction from an issue in a GitHub repository.
Delete a labelPermanently removes an existing label from a repository.
Delete a milestoneDeletes the specified milestone if it exists; this operation is idempotent, typically returning a 404 if the milestone is not found or already deleted.
Delete an organizationDeletes a GitHub organization and its repositories; this is a destructive action and the organization name will be unavailable for reuse for approximately 90 days.
Delete an organization secretPermanently deletes a GitHub Actions secret from a GitHub organization, making it unavailable to workflows.
Delete an organization variableDeletes a named GitHub Actions variable from a specified organization.
Delete an organization webhookDeletes a specific webhook, identified by `hook_id`, from an existing organization.
Delete a codespace from the organizationRequests deletion of a specified organization member's codespace.
Delete a package for an organizationDeletes a specific package in an organization; public packages with over 5,000 downloads cannot be deleted.
Delete a package for the authenticated userPermanently deletes a specific package owned by the authenticated user; public packages downloaded over 5,000 times cannot be deleted via this API.
Delete package versionTool to delete a package version using GitHub GraphQL API.
Delete package version for an organizationDeletes a specific package version within an organization; requires admin permissions for packages with over 5,000 downloads.
Delete package version for a userDeletes a specific version of a package owned by the specified user.
Delete a pending review for a pull requestDeletes a pending (unsubmitted) review from a pull request; this is only possible if the review has not yet been submitted.
Delete a projectDeletes the specified GitHub project (Projects V2) using the GraphQL API.
Delete a project field (column)Deletes a project field (column) from a GitHub Projects V2 project using the GraphQL API.
Delete project item for userTool to delete a project item for a user in GitHub Projects V2.
Delete a pull request comment reactionDeletes a specific reaction from a pull request review comment, provided the comment and reaction exist on that comment within the specified repository.
Delete pull request review protectionDisables the requirement for pull request reviews before merging for a specific, existing branch in an existing repository; this action is idempotent and will succeed even if the protection is not currently enabled.
Delete repo codespace secret by nameDeletes a specific Codespace secret from a repository by its name; this action is idempotent and will succeed even if the secret doesn't exist.
Delete social accounts for the authenticated userDeletes currently linked social media account URLs from the authenticated user's GitHub profile.
Delete team discussion comment reactionThe team discussion comment reactions endpoint used by this action has been retired.
Delete team discussion reactionThe team discussion reactions endpoint used by this action has been retired.
Delete User ListTool to delete a GitHub user list using GraphQL.
Delete a package for a userDeletes a package owned by the specified user, requiring admin permissions for the authenticated user; deletion of public packages with over 5,000 downloads may require GitHub support.
Delete workflow run logsDeletes all logs for a specific workflow run in a GitHub repository, provided the repository and run exist.
Get a Dependabot alertOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.
Get repository Dependabot runner settingsGets the runner Dependabot uses for this repository: standard GitHub-hosted runners, or labeled runners with their labels and optional runner group.
List Dependabot alerts for an organizationLists Dependabot alerts for an organization.
List Dependabot alerts for a repositoryOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.
Lists the repositories Dependabot can access in an organizationLists repositories that organization admins have allowed Dependabot to access when updating dependencies.
Set the default repository access level for DependabotSets the default level of repository access Dependabot will have while performing an update.
Set repository Dependabot runner settingsSets the runner Dependabot uses for this repository.
Update a Dependabot alertThe authenticated user must have access to security alerts for the repository to use this endpoint.
Updates Dependabot's repository access list for an organizationUpdates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.
Fetch a software bill of materials (SBOM) for a repository.Fetches a previously generated software bill of materials (SBOM) for a repository.
Request generation of a software bill of materials (SBOM) for a repository.Triggers a job to generate a software bill of materials (SBOM) for a repository in SPDX JSON format.
Disable a custom protection rule for an environmentDisables a specific, currently active custom deployment protection rule for an existing environment within a GitHub repository.
Disable a workflowDisables a specified workflow (by ID or filename) in a given GitHub repository, preventing new automatic triggers; any in-progress runs will continue.
Disable private vulnerability reporting for a repositoryDisables private vulnerability reporting for an existing GitHub repository, preventing direct private vulnerability reports to maintainers via GitHub's interface for this repository.
Disable Repository Actions In OrgRemoves a repository from the list of selected repositories enabled for GitHub Actions in an organization.
Dismiss a review for a pull requestDismisses an APPROVED or CHANGES_REQUESTED review on a pull request with a mandatory explanatory message.
Download an artifactDownloads a GitHub Actions workflow artifact as a ZIP file.
Download a repository tarballGets a redirect URL for downloading a repository tarball at a specific Git reference.
Download a repository archive ZIPRequests a ZIP archive of a repository at a specific Git reference (branch, tag, or commit SHA) and returns the redirect URL for downloading it.
Download job logs for a workflow runDownloads logs for a specific job in a GitHub Actions workflow run, contingent on the repository's existence and the job ID being valid and having produced logs.
Download workflow run attempt logsDownloads a ZIP archive of logs for a specific workflow run attempt.
Download workflow run logsDownloads logs for a specific GitHub Actions workflow run as a ZIP archive containing log files for each job in the workflow.
Enable a workflowReactivates a currently disabled GitHub Actions workflow within a repository using its workflow ID or filename.
Enable GitHub actions in selected repositoriesSets the specific repositories that can use GitHub Actions within an organization by replacing the current list; only applies if the organization's Actions policy is 'selected repositories'.
Enable private vulnerability reporting for a repositoryEnables private vulnerability reporting for a repository, allowing security researchers to privately submit vulnerability reports to maintainers.
Enable repo for Github ActionsAdds a repository to the list of selected repositories enabled for GitHub Actions in an organization.
Encrypt and update dev secretCreates or updates a repository's GitHub Codespaces secret.
Encrypt org dev env secretCreates or updates an organization's GitHub Codespaces secret using an encrypted value and its corresponding public key ID.
Export a codespace for the authenticated userTriggers an export of the authenticated user's specified codespace, automatically stopping it if active.
Export an SBOM for a repositoryUnavailable after November 13, 2026: GitHub closed this synchronous SBOM export.
Register an app installation for external custom propertiesRegisters a GitHub App installation so it can read and write external custom properties for an organization, and assigns it a display name.
Create or update external custom property values for a property across organization repositoriesCreate new or update existing external custom property values for a single named property across repositories that belong to an organization.
Find Pull RequestsSearches pull requests by repository, author, state, labels, merge status, and other filters; without a repository or owner, it searches public repositories by default or PRs involving the authenticated user when requested.
Find RepositoriesSearch GitHub repositories by keywords, language, stars, topics, and ownership, returning paginated results.
Follow Organization (GraphQL)Tool to follow a GitHub organization using GraphQL.
Follow a userAllows the authenticated user to follow the GitHub user specified by `username`; this action is idempotent and the user cannot follow themselves.
Follow User (GraphQL)Tool to follow a GitHub user using GraphQL.
Force cancel a workflow runRequests force cancellation of a queued or in-progress GitHub Actions workflow run, bypassing conditions such as always(), when standard cancellation fails.
Fork a gistForks a specified public gist, creating a copy under the authenticated user's account.
Generate release notes content for a releaseGenerates Markdown release notes content (listing changes, pull requests, and contributors) for a GitHub repository release, customizable via tags and a configuration file.
Get access restrictionsRetrieves user, team, and GitHub App push restrictions for a protected branch.
Get admin branch protectionChecks if repository administrators are subject to the branch protection rules on a specific branch.
Get all API versionsRetrieves all officially supported, date-based (e.g., "2022-11-28") versions of the GitHub REST API from the /versions endpoint.
Get all contributor commit activityRetrieves commit activity (total commits, weekly additions/deletions/commits) for all contributors to a repository; may require a retry if GitHub returns 202 while preparing data.
Get all deployment protection rules for an environmentLists all enabled custom deployment protection rules for a specific environment in a repository; the environment must exist and be configured for deployments.
Get an appRetrieves publicly available information for an existing GitHub App, identified by its unique URL-friendly `app_slug`.
Get an artifactGets a specific artifact for a repository by `artifact_id`.
Get an assignmentClosed: the GitHub Classroom API is no longer available as of August 28, 2026, following the GitHub Classroom sunset.
Get an autolink reference of a repositoryRetrieves a specific autolink reference (which automatically hyperlinks text like 'JIRA-123' to an external system) for a repository using its unique ID; requires administrator access to the repository.
Get an environmentRetrieves the details of a specific deployment environment for a given repository, including its name, configurations, and current status.
Get an environment public keyRetrieves the public key for a specified GitHub repository environment, used to encrypt secrets for GitHub Actions.
Get an environment secretRetrieves metadata (name and timestamps) for a single secret in a GitHub Actions environment.
Get an environment variableRetrieves a specific environment variable from a GitHub Actions environment by repository owner, repository name, environment name, and variable name.
Get an issueRetrieves detailed information about a specific issue in a repository using the owner, repository name, and issue number.
Get an issue commentAction to get an issue comment.
Get an issue eventFetches details of a specific issue event for a given repository and event ID.
Get an organizationGet an organization
Get an organization public keyRetrieves a GitHub organization's Actions secrets public key for encrypting organization secrets.
Get an organization roleRetrieves a specific GitHub organization role by its ID.
Get an organization secretGets an organization secret's metadata (e.g., name, creation/update dates, visibility), but not its encrypted value.
Get an organization variableRetrieves details (name, value, visibility, timestamps) of a specific, existing variable for an existing GitHub organization.
Get an organization webhookRetrieves the full configuration, including subscribed events and delivery settings, for an existing organization webhook.
Get assignment gradesClosed: the GitHub Classroom API is no longer available as of August 28, 2026, following the GitHub Classroom sunset.
Get authenticated user organization membershipRetrieve the connected user's membership in one GitHub organization.
Get a blobRetrieves the raw, typically Base64-encoded, content of a file (blob) from a GitHub repository using its SHA hash, if the repository and blob SHA exist.
Get a branchRetrieves detailed information for a specified branch within a GitHub repository.
Get a commitRetrieves a specific commit from a repository by its owner, name, and a valid commit reference (SHA, branch, or tag), supporting pagination for large diffs.
Get a milestoneRetrieves detailed information for a specific milestone within a GitHub repository by its number.
Get a package for an organizationRetrieves a specific package (by type and name) from an organization, if both the package and organization exist.
Get a package for a userRetrieves metadata for a specific package owned by a GitHub user, using package type, name, and username as identifiers.
Get a package for the authenticated userRetrieves detailed information for a specific package owned by the authenticated user.
Get a package version for an organizationRetrieves detailed information for a specific version of a package within an organization.
Get a package version for a userRetrieves a specific public package version associated with a GitHub user.
Get authenticated user package versionRetrieves detailed information for an existing specific package version associated with the authenticated user, identified by its type, name, and version ID.
Get a projectRetrieves detailed information for a specific GitHub project (V2) using its project number and owner.
Get a project cardThe Projects (classic) card endpoint used by this action has been retired.
Get a pull requestRetrieves a specific pull request from a GitHub repository using its owner, repository name, and pull request number.
Get a referenceRetrieves a specific Git reference (e.g., a branch, tag, or fully qualified like 'heads/main') from a GitHub repository.
Get a releaseGets a specific release from a GitHub repository, provided the repository is accessible and the release exists.
Get a release assetGets metadata for a specific release asset in a GitHub repository, including a `browser_download_url` for downloading the asset.
Get a release by tag nameGets a release from a GitHub repository by its tag name; the repository and a release with this tag must already exist.
Get a repositoryRetrieves detailed information about an existing and accessible GitHub repository.
Get a repository public keyGets a repository's public key for encrypting secrets to be used in GitHub Actions, if the repository exists and is accessible.
Get a repository readmeFetches the README file (if it exists and is accessible) from a specified GitHub repository, returning its Base64-encoded content and metadata.
Get a repository readme for a directoryRetrieves the README file from a specified directory within a GitHub repository, optionally at a given commit, branch, or tag.
Get a repository rulesetRetrieves a specific repository ruleset by its ID; if `includes_parents` is true, the search for this `ruleset_id` also extends to rulesets from parent organizations.
Get a repository rule suiteGets detailed information for a specific repository rule suite by its ID, including its evaluation status and the results of its individual rules.
Get a repository secretGets metadata (name, creation/update timestamps) for an existing repository secret, excluding its encrypted value.
Get a repository subscriptionGets the authenticated user's subscription details for a repository, indicating if they receive notifications.
Get a repository variableGets a specific GitHub Actions variable by name from an accessible repository.
Get a repository webhookReturns the configuration of an existing webhook for a given repository.
Get a review comment for a pull requestRetrieves a specific pull request review comment by its ID, provided the repository exists, is accessible, and the comment ID is valid.
Get a review for a pull requestRetrieves a specific review for a pull request using its owner, repository, pull request number, and review ID.
Get a secret for the authenticated userRetrieves metadata (name, timestamps, visibility; not the value) for a specific, existing development environment secret associated with the authenticated user's GitHub Codespaces.
Get a self hosted runner for an organizationRetrieves detailed information about a specific self-hosted runner registered within a GitHub organization.
Get a self hosted runner for a repositoryGets a specific self-hosted runner for a repository by its unique ID.
Get a tagRetrieves detailed information for a specific Git tag object from a GitHub repository, using the SHA of the tag object itself.
Get a team by nameRetrieves a GitHub team by its slug from a specific organization.
Get a threadRetrieves a specific GitHub notification thread using its unique `thread_id`.
Get a thread subscription for the authenticated userRetrieves the authenticated user's subscription details for a specific notification thread, identified by `thread_id`.
List repository files and directoriesBrowse a GitHub repository's tree at a specified branch, tag, commit or tree SHA.
Get a userRetrieves the public profile information for an existing GitHub user, specified by their username.
Get a webhook configuration for an organizationRetrieves the configuration for a specific webhook associated with a GitHub organization.
Get a webhook configuration for a repositoryReturns the configuration for an existing webhook on the specified repository.
Get a webhook delivery for an organization webhookReturns detailed information for a specific delivery attempt of a webhook configured for the specified GitHub organization.
Get a workflowRetrieves detailed information for a specific GitHub Actions workflow in a repository, identified by either its numeric ID or its filename.
Get a workflow runGets a specific workflow run by its ID from a GitHub repository.
Get a workflow run attemptRetrieves detailed information for a specific attempt of a workflow run in a GitHub repository, including its status, conclusion, and timings.
Get billing usage report for userRetrieves the billing usage report for a specified GitHub user.
Get branch protectionRetrieves branch protection settings for a specific accessible branch in a GitHub repository, such as required status checks, review requirements, and push restrictions.
Get catalog modelsTool to retrieve the list of AI models available in the GitHub Models catalog.
Get a check runRetrieves detailed information for a specific check run within a GitHub repository.
Get a check suiteRetrieves a specific check suite (a collection of check runs) by its ID from a repository accessible to the authenticated user.
Get a classroomClosed: the GitHub Classroom API is no longer available as of August 28, 2026, following the GitHub Classroom sunset.
Get a CodeQL database for a repositoryGets an existing CodeQL database (including a download URL) for a specified language in an accessible repository, if one has been successfully built for that language.
Get a codespace for the authenticated userCall to retrieve detailed information for a `codespace_name` belonging to the authenticated user, ensuring the codespace exists and is accessible.
Get a code of conductRetrieves the full details of a specific GitHub code of conduct using its unique key.
Get Code of Conduct (GraphQL)Tool to look up a code of conduct by its key using GitHub's GraphQL API.
Get a code scanning alertRetrieves a specific code scanning alert, which identifies potential code vulnerabilities or errors, by its number from the specified GitHub repository.
Get a code scanning analysis for a repositoryRetrieves detailed information for a specific code scanning analysis on an accessible repository, identified by its `analysis_id`.
Get a code scanning default setup configurationGets the default setup configuration for code scanning in a repository, including state, languages, query suite, and schedule for a repository if it exists.
Get a commit commentRetrieves the full details of a specific commit comment in a GitHub repository, using its unique identifier.
Get a commit objectRetrieves detailed information (including author, committer, message, tree, parents, verification) for a specific commit in a GitHub repository, identified by its SHA.
Get commit signature protectionGets the commit signature protection status for a branch in a repository.
Get commit statusesLists a page of statuses for a commit reference (SHA, branch, or tag) in reverse chronological order, for checking CI/CD results from various systems.
Get community profile metricsRetrieves a repository's community profile metrics, including health percentage and the presence of key community files (e.g., README, LICENSE).
Get contextual information for a userGets contextual hovercard information for a GitHub user; `subject_type` and `subject_id` can be jointly provided for more specific details.
Get a custom deployment protection ruleRetrieves a specific custom deployment protection rule (used by GitHub Apps for external validation or manual approval of deployments) for a given environment in a repository.
Get default attributes for a codespaceGet pre-flight data (e.g., default location, devcontainer path) for creating a Codespace in a given repository (must exist and be accessible), optionally for a specific Git ref.
Get default workflow permissions for an organizationGets the default GITHUB_TOKEN workflow permissions and settings for a GitHub organization.
Get default workflow permissions for a repositoryGets the default workflow permissions (`read` or `write`) for the GITHUB_TOKEN and whether it can approve pull request reviews in an existing and accessible repository.
Get Dependabot alertGet one Dependabot vulnerability alert for a repository.
Get a diff of the dependencies between commitsGets the dependency diff between two Git revisions in a repository, where 'basehead' specifies the revisions and 'name' can optionally scope to a specific manifest file.
Get a deploymentGets a specific deployment by ID from a repository, provided the repository and deployment ID exist.
Get a deployment branch policyRetrieves a specific deployment branch policy for an environment in a repository, identified by its unique ID.
Get a deployment statusRetrieves a specific deployment status by its ID for a given deployment within a GitHub repository.
Get a deploy keyGets a specific deploy key, identified by its `key_id`, for the GitHub repository specified by `owner` and `repo`.
Get details about a codespace exportRetrieves detailed information about a specific export of a codespace.
Get a discussionThe team discussions endpoint used by this action has been retired.
Get a discussion commentThe team discussion comments endpoint used by this action has been retired.
Get emojisLists all emojis available for use on GitHub, including custom and Unicode emojis.
Get Enterprise Member InvitationTool to look up a pending enterprise unaffiliated member invitation by invitee and enterprise.
Get feedsFetches a list of available GitHub feed URLs for the authenticated user.
Get a gistFetches a GitHub gist by ID, including its files and metadata.
Get a gist commentRetrieves a specific GitHub Gist comment using the gist ID and comment ID, returning its text, author information, and timestamps.
Get a gist revisionRetrieves a specific revision of a gist.
Get GitHub Actions cache usage for an organizationRetrieves total GitHub Actions cache usage for an organization, including active cache count and size across its repositories.
Get github actions cache usage for a repositoryRetrieves the total count of active GitHub Actions caches and their combined size in bytes for a specified repository.
Get github actions permissions for an organizationGets the GitHub Actions permissions for a specified organization, detailing repository enablement and allowed actions policies.
Get GitHub Actions permissions for a repositoryGets the GitHub Actions permissions policy for a repository, including its enabled status and the scope of allowed actions.
Get billing premium request usageTool to get billing premium request usage report for a GitHub user.
Get billing usage summary for userTool to retrieve billing usage summary for a GitHub user account.
Get github meta informationFetches GitHub's publicly available metadata, useful for configuring network security policies or IP allow-listing.
Get github pages buildRetrieves detailed information about a specific GitHub Pages build for a repository, which must have GitHub Pages enabled.
Get a gitignore templateRetrieves a specific .gitignore template from GitHub by its name, which must be an existing template in GitHub's collection.
Get a global security advisoryRetrieve a global GitHub security advisory by its GHSA identifier.
Fetch GraphQL NodeFetch a GitHub GraphQL node by its global ID.
Get GraphQL rate limitTool to retrieve the authenticated client's GitHub GraphQL API rate limit information.
Get GitHub-owned images for GitHub-hosted runners in an organizationGet the list of GitHub-owned images available for GitHub-hosted runners for an organization.
Get information about a sarif uploadRetrieves detailed information, including processing status and results URL, about a specific SARIF (Static Analysis Results Interchange Format) upload for a repository, uniquely identified by its sarif_id.
Get interaction restrictions for an organizationRetrieves interaction restrictions for an organization, showing which GitHub user types can interact with its public repositories and when restrictions expire; returns an empty response if no restrictions are set.
Get interaction restrictions for a repositoryRetrieves active interaction restrictions for a repository, detailing which user groups are limited from activities like commenting or creating pull requests, and when these restrictions expire.
Get interaction restrictions for public repositoriesRetrieves currently active interaction restrictions for the authenticated user's public repositories.
Get issue commentsRetrieves a page of comments for a specific GitHub issue.
Get a labelRetrieves a specific label by its name from a specified GitHub repository.
Get latest pages buildRetrieves information about the most recent GitHub Pages build for a repository, which must exist, be accessible, have GitHub Pages enabled, and have at least one prior build.
Get a licenseCall this action to retrieve comprehensive details for a specific software license recognized by GitHub, using its unique license key.
Get License (GraphQL)Tool to look up an open source license by its SPDX ID using GitHub's GraphQL API.
Get octocatFetches an ASCII art representation of GitHub's Octocat, suitable for text-based displays.
Customize OIDC subject claim templateRetrieves the OpenID Connect (OIDC) subject claim customization template for a repository's GitHub Actions workflows.
Get organization audit logTool to retrieve an organization's audit log events for security and compliance investigations.
Get a custom property for an organizationRetrieves the definition (schema) of a specific, existing custom property for an organization.
Get organization membership for userReturn a named user's membership state and role in a GitHub organization.
Get organization project itemTool to get an item from an organization-owned GitHub Projects V2 project.
Get organization public key for Codespaces secretsRetrieves an organization's public key, which must be used to encrypt secret values before they are configured for Codespaces.
Fetch Public Key For Secret EncryptionRetrieves the public key for an existing GitHub organization, required for encrypting Dependabot secrets.
Get organization teamsRetrieves a list of teams for a specified GitHub organization.
Get allowed actions and workflows for an orgGets the list of allowed actions and reusable workflows for an organization when the 'allowed_actions' policy is set to 'selected'.
Get org dev environment secret safelyRetrieves metadata for a specific secret available to an organization's GitHub Codespaces without exposing its encrypted value.
Get custom OIDC subject claim templateRetrieves the OpenID Connect (OIDC) subject claim customization template for a GitHub organization, which defines how the `sub` claim in OIDC tokens for workflows is constructed.
Get a dns health check for github pagesRetrieves the DNS health check status (e.g., CNAME/A records, HTTPS) for a GitHub Pages site; the check may be pending (HTTP 202) on initial calls or after site changes.
Get a GitHub Pages siteRetrieves information for a GitHub Pages site, which must be enabled for the repository.
Get page viewsRetrieves page view statistics for a repository over the last 14 days, including total views, unique visitors, and a daily or weekly breakdown.
Get parent issueRetrieve the parent issue of a GitHub sub-issue.
Get pending deployments for a workflow runRetrieves pending deployment environments for a specific workflow run that are awaiting approval due to protection rules.
Get project permission for a userThe Projects (classic) collaborator endpoint used by this action has been retired.
Get public key for secret encryptionRetrieves a repository's public key for encrypting GitHub Codespaces secrets.
Get public key for the authenticated userRetrieves the authenticated user's public key for encrypting GitHub Codespaces secrets.
Get Pull RequestsRetrieves a page of pull requests from a repository, optionally filtered by state, base branch, or head branch and sorted by the selected order.
Get pull request review protectionRetrieves the pull request review protection settings for a specific branch in a GitHub repository, if such protection is configured.
Get rate limit status for the authenticated userRetrieves the authenticated user's current GitHub API rate limit status, including usage and limits across different resource categories.
Get Raw Repository ContentFetches raw file content from a GitHub repository as a downloadable file, without parsing or validating its format.
Get repository clonesRetrieves the total number of clones and a breakdown of clone activity (daily or weekly) for a specified repository over the preceding 14 days.
Get repository contentRetrieves a file's Base64-encoded content or lists a directory's contents in a GitHub repository.
Get repository Discussion threadReads one repository Discussion with cursor-paginated top-level comments and up to the requested first replies for each comment.
Get Repository via GraphQLTool to lookup a repository by owner and name using GitHub's GraphQL API.
Get Repository OwnerTool to lookup a repository owner (User or Organization) by login using GitHub's GraphQL API.
Get repository permissions for a userRetrieves a user's repository permission and assigned role, including custom roles.
Retrieve repo public key for encryptionGets a repository's public key, used to encrypt secrets for Dependabot.
Get repository secret securelyRetrieves metadata for an existing Dependabot secret in a repository, without exposing its encrypted value.
Get repository security advisoryTool to retrieve a repository security advisory using its GHSA identifier.
Get repository star historyGets one page of up to 30 privacy-safe weekly star-count records, newest first.
Get a delivery for a repository webhookRetrieves a specific delivery for a repository webhook, identified by its `hook_id` and `delivery_id`.
Get repository attestationsTool to retrieve attestations by subject digest from a GitHub repository.
Get allowed actions and workflows for a repositoryGets the settings for allowed actions and reusable workflows in a repository.
Get repository development environment secretGets metadata (name, creation/update timestamps) for a specific, existing development environment secret (Codespaces secret) in a repository, without exposing its value.
Get rules for a branchRetrieves a page of active rules for a specific branch in a GitHub repository, excluding rules in 'evaluate' or 'disabled' status.
Get Organization Dependabot SecretGets a single organization Dependabot secret's metadata (name, timestamps, visibility) without revealing its encrypted value.
Get status checks protectionRetrieves the status check protection settings for a specific branch in a GitHub repository, if status check protection is enabled for it.
Get teams with access to the protected branchLists teams with explicit push access to a protected branch.
Get team membersRetrieves one page of members for a specific team within an organization, including members of child teams, optionally filtered by role.
Get team membership for a userRetrieves a user's role and membership status in a GitHub organization team.
Get the authenticated userGets the profile information for the currently authenticated GitHub user, including potentially private details based on user settings.
Get the combined status for a specific referenceRetrieves the combined commit status and status entries for a specific reference (SHA, branch, or tag) in a GitHub repository.
Get the hourly commit count for each dayRetrieves the 'punch card' data, showing hourly commit counts for each day of the week for an existing and accessible repository.
Get the last year of commit activityFetches weekly commit totals and daily commit counts for the last 52 weeks for a specified GitHub repository.
Get the latest releaseFetches the latest official (non-prerelease, non-draft) release for a GitHub repository; requires at least one such published release.
Get the license for a repositoryRetrieves the license file and its details for a repository, optionally from a specific Git reference (branch, tag, or commit SHA).
Get the review history for a workflow runRetrieves the detailed approval history for a specific workflow run in a GitHub repository, detailing each review's environment, state, reviewer, and comments, to track the approval process for workflows, particularly automated deployments.
Get the status of a GitHub Pages deploymentRetrieves the status of a specific GitHub Pages deployment for a repository, which must have GitHub Pages enabled.
Get the weekly commit activityFetches the weekly commit activity (additions and deletions per week) for a repository over the past year; best for repositories with under 10,000 commits.
Get the weekly commit countRetrieves the weekly commit count for a repository, detailing commits by the owner and all contributors over the last 52 weeks; GitHub may return a 202 status or an empty response if statistics are being computed.
Get the Zen of GitHubRetrieves a random quote from GitHub's 'Zen of GitHub' collection, reflecting GitHub's design philosophies and offering humorous insights, useful for displaying GitHub wisdom or a lighthearted message.
Get top referral pathsFetches the top 10 most viewed content paths for a repository from the last 14 days.
Get top referral sourcesFetches the top 10 websites that referred traffic to a repository within the last 14 days.
Get user attestations by subject digestRetrieves attestations for a GitHub user and subject digest, with optional predicate filtering and pagination.
Get user's projects v2Tool to list GitHub Projects v2 for a specified user.
Get users with access to the protected branchLists users with explicit push access to a protected branch through its push restrictions.
Get user by IDRetrieves a GitHub user's profile information by their unique numeric account ID.
Get user project itemTool to get an item from a user-owned project in GitHub Projects V2.
Get Viewer via GraphQLTool to retrieve the authenticated user's profile information via GitHub GraphQL.
Get workflow external access levelGets the access level settings for a private repository, determining how workflows outside this repository can use its actions and reusable workflows.
Get a job for a workflow runRetrieves detailed information for a specific job within a GitHub Actions workflow run, given its `job_id` which must be valid for the specified repository's workflow.
Get workflow run usageGets the billable time, in milliseconds, for a specific workflow run, detailing time spent on various operating systems.
Get workflow usageGets the billable time (in milliseconds, broken down by runner OS) for a specific workflow within a repository for the current billing cycle.
Create a hosted compute network configuration for an organizationCreates a hosted compute network configuration for an organization.
Delete a hosted compute network configuration from an organizationDeletes a hosted compute network configuration from an organization.
Get a hosted compute network configuration for an organizationGets a hosted compute network configuration configured in an organization.
Get a hosted compute network settings resource for an organizationGets a hosted compute network settings resource configured for an organization.
List hosted compute network configurations for an organizationLists all hosted compute network configurations configured in an organization.
Update a hosted compute network configuration for an organizationUpdates a hosted compute network configuration for an organization.
Get pull request creation cap bypass list for a repositoryLists the users that are on the pull request creation cap bypass list for a repository.
Get pull request creation cap for an orgGets the pull request creation cap configuration for an organization.
Get pull request creation cap for a repositoryGets the pull request creation cap configuration for a repository.
Remove users from the pull request creation cap bypass list for a repositoryRemoves users from the pull request creation cap bypass list for a repository.
Add users to the pull request creation cap bypass list for a repositoryAdds users to the pull request creation cap bypass list for a repository.
Update pull request creation cap for an orgUpdates the pull request creation cap for an organization.
Add issue field values to an issueAdd custom field values to an issue.
Add a related issueYou can use the REST API to mark an issue as related to another issue.
Add sub-issueYou can use the REST API to add sub-issues to issues.
Approve an issue suggestionApproves a pending suggestion on an issue.
Create an issue artifactCreates an artifact attached to an issue.
Delete an issue artifactPermanently deletes an artifact attached to an issue.
Delete an issue field value from an issueRemove a specific custom field value from an issue.
Dismiss an issue suggestionDismisses a pending suggestion on an issue.
Get an issue artifactReturns an artifact attached to an issue by its per-issue artifact number, along with its version history ordered from newest to oldest.
Get parent issueYou can use the REST API to get the parent issue of a sub-issue.
List issues assigned to the authenticated userList issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories.
List user account issues assigned to the authenticated userList issues across owned and member repositories assigned to the authenticated user.
List issue artifactsLists artifacts attached to an issue.
List issue field values for an issueLists all issue field values for an issue.
List issues related to an issueYou can use the REST API to list the issues that are related to an issue.
List sub-issuesYou can use the REST API to list the sub-issues on an issue.
List issue suggestionsLists the suggestions on an issue.
Pin an issue commentYou can use the REST API to pin comments on issues.
Remove dependency an issue is blocked byYou can use the REST API to remove a dependency that an issue is blocked by.
Remove a related issueYou can use the REST API to remove a 'relates to' relationship between two issues.
Remove sub-issueYou can use the REST API to remove a sub-issue from an issue.
Reprioritize sub-issueYou can use the REST API to reprioritize a sub-issue to a different position in the parent list.
Set issue field values for an issueSet custom field values for an issue, replacing any existing values.
Unpin an issue commentYou can use the REST API to unpin comments on issues.
Update an issue artifactUpdates the name, body, or both for an artifact attached to an issue.
Check if repo starred by auth userUse to determine if the authenticated user has starred a specific GitHub repository, which is confirmed by an HTTP 204 status (resulting in an empty dictionary in the response data); the action fails (e.g., HTTP 404) if the repository is not starred or does not exist.
List accepted assignments for an assignmentClosed: the GitHub Classroom API is no longer available as of August 28, 2026, following the GitHub Classroom sunset.
List repositories accessible via GitHub App installationLists repositories that the authenticated user can access through a specific GitHub App installation.
Get apps with access to the protected branchLists GitHub Apps with push access to a repository's protected branch.
List app installations for user tokenLists a page of GitHub App installations accessible to the authenticated user, including installation details, permissions, and repository access.
List artifacts for a repositoryLists GitHub Actions workflow artifacts for a specified repository, which must exist.
List assigneesLists users who can be assigned to issues in a repository, typically those with push access.
List assignments for a classroomClosed: the GitHub Classroom API is no longer available as of August 28, 2026, following the GitHub Classroom sunset.
List attestation repositoriesTool to list attestation repositories for an organization.
List authenticated user SSH keysList public Git SSH keys owned by the connected GitHub user.
List available machine types for a repositoryLists machine types available for GitHub Codespaces in a repository, optionally using a Git ref to check compatibility based on prebuild availability and devcontainer configurations.
List branchesLists a page of branches in a GitHub repository, optionally filtered by protection status.
List branches for head commitLists branches in an accessible repository where the provided commit SHA is the head, useful for identifying development lines based on that commit.
List check runs for a git refList GitHub check runs for a commit SHA, branch, or tag to assess CI status and conclusions.
List check runs in a check suiteLists check runs for a specific check suite in a GitHub repository, optionally filtering by check name or status.
List check run annotationsLists annotations for a specific check run in a GitHub repository, detailing issues like errors or warnings on particular code lines.
List check suites for a git referenceLists check suites for a Git reference (commit SHA, branch, or tag) in a repository, optionally filtering by GitHub App ID or check run name.
List child teamsLists the immediate child teams of a parent team within an organization.
List classroomsClosed: the GitHub Classroom API is no longer available as of August 28, 2026, following the GitHub Classroom sunset.
List codeowners errorsLists syntax errors in a repository's CODEOWNERS file, which must be located at the root, `.github/`, or `docs/` directory for the specified ref.
List CodeQL databases for a repositoryLists all CodeQL databases for a repository where CodeQL analysis has been previously run and completed.
List codespaces for a user in organizationLists a page of GitHub Codespaces for a specified member of an organization, with pagination controls.
List codespaces for the authenticated userLists GitHub Codespaces for the authenticated user, optionally filtering by repository ID and supporting pagination.
List codespaces for the organizationLists active/pending GitHub Codespaces for an existing organization; admins list all, members list their own.
Get all codes of conductRetrieves all available codes of conduct from GitHub, often used to select one for a repository.
List Codes of Conduct (GraphQL)Tool to fetch all available codes of conduct using GitHub's GraphQL API.
List code scanning alerts for an organizationLists code scanning alerts for a GitHub organization; use either tool name or tool GUID when filtering by tool.
List code scanning alerts for a repositoryLists code scanning alerts for a repository, optionally filtering by tool, Git reference, state, or severity.
List code scanning analyses for a repositoryLists code scanning analyses for a repository, optionally filtering by tool, Git reference, or SARIF ID.
List comments for a pull request reviewLists a page of comments for a specific review on a GitHub pull request, with pagination support.
List comment changes across organizationTool to list issue and PR comment changes across an organization's repositories efficiently.
List commitsLists a page of commits for a GitHub repository, optionally filtered by SHA or branch, path, author, committer, or date range.
List commits on a pull requestLists commits for a pull request; requires the repository and pull request to exist and be accessible, and supports pagination.
List commit commentsRetrieves a page of comments for a specific commit in a GitHub repository, supporting pagination.
List commit comments for a repositoryLists a page of commit comments for an accessible GitHub repository.
Get all commonly used licensesRetrieves a list of commonly used software licenses from GitHub, optionally filtering for 'featured' licenses whose specific selection criteria by GitHub may vary.
Get all custom properties for an organizationGets the schema definitions for an organization's custom properties, rather than repository-specific values.
Get all custom property values for a repositoryGets all custom property values for a repository.
List custom property values for organization repositoriesLists repositories in an organization with their custom property values.
List deliveries for an organization webhookRetrieves a list of webhook deliveries for a specific webhook in an organization, allowing inspection of delivery history and details.
List deliveries for a repository webhookRetrieves delivery attempts for a specific repository webhook to inspect its history; ensure the webhook ID exists.
List deploymentsLists deployments for a specified repository; repository must exist.
List deployment branch policiesLists a page of deployment branch policies for a specified environment in a GitHub repository.
List deployment statusesLists a page of statuses for a given deployment in a repository.
List deploy keysLists deploy SSH keys for a specified repository; the repository must exist.
List email addresses for the authenticated userLists a page of email addresses for the authenticated user, including their primary status, verification status, and visibility.
List environmentsRetrieves a page of deployment environments for a specified repository, which are used to configure protection rules and secrets for different software lifecycle stages.
List environment custom deployment rulesLists a page of custom deployment protection rule integrations available for a GitHub repository environment.
List environment secretsLists the names and metadata (not values) of secrets for a specified, existing environment within an existing GitHub repository.
List environment variablesLists a page of plaintext GitHub Actions environment variables for a specified environment within a repository.
List events for the authenticated userLists public events for the specified GitHub user, or private events if authenticated as that user, in reverse chronological order.
List events for userLists events performed by a GitHub user in reverse chronological order.
List events received by the authenticated userLists events a specific GitHub user received from followed users and watched repositories; returns private events if authenticated for `username`, otherwise public.
List followers of a userLists followers for a specified, existing GitHub user.
List followers of the authenticated userLists users following the authenticated GitHub user, returning an empty list if the user has no followers.
List following for userLists the people that a GitHub user follows.
List forksLists forks for a specified repository, which must exist, with options for sorting and pagination.
List gists for a user_lists public gists for a specified GitHub user._ Pagination is explicit: `page` selects the result page and `per_page` controls the number of items returned per page, with a maximum of 100.
List gists for the authenticated userLists gists for the authenticated user, with optional filtering by update time and pagination.
List gist commentsLists comments for a specified GitHub Gist.
List gist commitsLists a page of commits for a specified gist, with pagination controls.
List gist forksLists a page of forks for a given GitHub gist ID, with pagination controls.
List github actions caches for a repositoryLists GitHub Actions caches for a repository, with options to filter by Git reference or cache key, and to sort and paginate results.
List GitHub Pages buildsLists GitHub Pages builds for a repository; GitHub Pages must be enabled on the repository for builds to be listed.
Get all gitignore templatesRetrieves all available .gitignore template names from GitHub (e.g., 'Python', 'Node', 'Java'), used for generating .gitignore files.
List global security advisoriesLists GitHub's global security advisories, filterable by ID, type, ecosystem, severity, dates, and other attributes.
List GPG keys for a userTool to list GPG keys for a GitHub user.
List installation requests for the authenticated appLists pending installation requests made by users or organizations for the authenticated GitHub App.
List instances of a code scanning alertLists a page of instances of a specific code scanning alert, optionally filtered by Git ref.
List issues for userLists GitHub issues for the authenticated user across visible repositories, with filtering by user relationship, state, labels, an ISO 8601 `since` timestamp (YYYY-MM-DDTHH:MM:SSZ), and sorting options; pull requests are typically included.
List issue commentsLists comments for a specified issue in a GitHub repository.
List issue comments for a repositoryLists issue comments, including those on pull requests, for an accessible repository.
List issue dependencies blocked byLists a page of issues that block a specified GitHub issue.
List issue dependencies blockingTool to list dependencies an issue is blocking.
List issue eventsRetrieves a page of issue events for a specific issue within a GitHub repository.
List issue events for a repositoryLists a page of issue events, such as closed, reopened, and assigned events, for a specified repository.
List issue typesList all issue types configured for a GitHub organization.
List jobs for a workflow runLists jobs for a specific workflow run in a GitHub repository.
List jobs for a workflow run attemptLists jobs, including details like ID, status, and steps, for a specific attempt of a GitHub Actions workflow run.
List labels for an issueLists a page of labels for a specified issue in a GitHub repository, with pagination controls.
List labels for a repositoryLists labels for a specified GitHub repository, with pagination.
List labels for a self-hosted runner for a repositoryLists all labels assigned to a specific self-hosted runner registered with the given repository.
List labels for issues in a milestoneLists a page of labels for issues within a specific milestone in a repository.
List labels for a self-hosted runner for an organizationLists all labels assigned to a specific self-hosted runner within a GitHub organization, which are used to route workflows.
List Licenses (GraphQL)Tool to fetch all known open source licenses using GitHub's GraphQL API.
List machine types for a codespaceLists available machine types for a specific, accessible codespace, enabling it to be transitioned to a new hardware configuration.
List matching referencesLists a page of Git references, such as branches or tags, in a repository that start with the provided partial reference path.
List milestonesLists milestones, which track progress for groups of issues and pull requests, for an existing repository, allowing filtering by state and sorting.
List notifications for authenticated userTool to list notification threads for the authenticated user with efficient polling support.
List organizationsLists GitHub organizations for the authenticated user, sorted by ID in ascending order.
List organizations for a userLists public organizations for a specified GitHub user; the `username` must be a valid GitHub handle.
List organizations for the authenticated userLists organizations the authenticated GitHub user is a member of, returning details for each organization.
List organizations for a userList a page of public organization memberships for a specified GitHub user, with pagination controls.
List organization app installationsList GitHub App installations across a named organization.
List org level codespaces secretsLists all Codespaces secrets available for a specified organization, which must exist.
List organization events for the authenticated userLists public events for the authenticated user's organization dashboard in a specified GitHub organization, such as pushes, pull requests, issues, and forks.
List organization membersList a page of members of a GitHub organization, optionally filtered by role or two-factor authentication status.
List organization memberships for authenticated userList organization memberships for authenticated user
List organization projectsLists projects (V2) for a specified GitHub organization, with optional search query and cursor-based pagination.
List organization repositoriesRetrieves a list of repositories for a specified GitHub organization, allowing filtering by type and sorting.
Get all organization roles for an organizationLists all custom organization roles for an existing GitHub organization.
List organization secretsLists GitHub Actions secrets available for a specified organization.
List organization variablesLists a page of GitHub Actions variables for a specified organization.
List organization webhooksLists a page of webhooks for a specified GitHub organization, with pagination controls.
List organization fine-grained permissionsThis organization fine-grained permissions endpoint has been retired.
List organization issues assigned to the authenticated userLists issues for the authenticated user within a specified GitHub organization, with options to filter by involvement type, state, labels, and to sort results.
List package versions for an organization packageLists a page of versions for a specified package owned by a GitHub organization, filtered by active or deleted state.
List organization project view itemsLists a page of items in a specific view of a GitHub organization's Projects V2 project, with their content, metadata, and field values.
List organization repositories with Github Actions enabledLists the selected repositories that are enabled for GitHub Actions in an organization.
List org resources with personal tokensLists requests from organization members to access organization resources with fine-grained personal access tokens (pending, approved, or denied).
List org resource access tokensLists approved fine-grained personal access tokens with access to a GitHub organization's resources, with optional filters; requires a GitHub App with read access to the organization's personal access tokens.
List organization Dependabot secrets without valuesLists a page of Dependabot secret metadata for a specified organization, including names and creation and update timestamps, without secret values.
List outside collaborators for an organizationLists outside collaborators for a GitHub organization, with options to filter (e.g., by 2FA status) and paginate results.
List owned package versionsLists a page of versions for an existing package owned by the authenticated user, identified by its type and name.
List packages for an organizationLists GitHub Packages for an organization, noting specific interpretations for package_type and visibility parameters.
List packages for a userLists packages for a specified GitHub user, filterable by package type and visibility.
List packages for the authenticated user's namespaceLists packages of a specific type and visibility within the authenticated user's namespace on GitHub.
List package versions for a package owned by a userLists a page of versions of a public package owned by a specified GitHub user, identified by package type, package name, and username.
List pending team invitationsLists a page of pending membership invitations for a specified team within an organization, including invitee, role, and inviter details; total_count is the number returned on that page.
List project collaborators (classic)The Projects (classic) collaborator endpoint used by this action has been retired.
List project columnsThe Projects (classic) column endpoint used by this action has been retired.
List project fields for userTool to list all fields in a GitHub Projects V2 project for a specific user.
List project items for userLists a page of items, including issues, pull requests and draft issues, in a user-owned GitHub project.
List items for user project viewTool to list items for a user's GitHub Projects (v2) view.
List public email addresses for the authenticated userLists the public email addresses for the authenticated user.
List public eventsLists public GitHub events, which may be delayed by up to 5 minutes, with support for pagination.
List public events for a network of repositoriesRetrieves public events (up to 90 days old, newest first) for a GitHub repository network, including the repository and its forks.
List public events for a userRetrieves a list of public events for a specified GitHub user, in reverse chronological order.
List public events received by a userLists public events for a specified GitHub user (e.g., activities in repositories they watch or are involved in); the target user's profile must be public, and if blocked by the authenticated user, a 404 error is returned.
List public gistsLists public gists from GitHub, optionally filtering by a 'since' timestamp and supporting pagination; results are generally newest first.
List public keys for a userLists the verified public SSH keys for a specified GitHub user.
List public organization eventsLists public events for a specified GitHub organization, which must exist.
List public organization membersLists users who have publicly declared their membership in a specified, existing GitHub organization.
List public repositoriesLists all public repositories on GitHub; use the `since` parameter with a repository ID from a previous result for pagination.
List pull requestsLists pull requests for a GitHub repository.
List pull requests associated with a commitLists pull requests for a commit; returns merged PRs that introduced the commit if on the default branch, or open PRs including the commit if on other branches.
List pull requests filesLists a page of files changed in a specified GitHub pull request, including additions, modifications, and removals.
List reactions for an issueLists reactions for a specific, existing issue within an accessible GitHub repository, optionally filtering by content type.
List reactions for an issue commentLists reactions for a specific issue comment in a GitHub repository, optionally filtering by content type.
List reactions for a commit commentLists reactions for a specific commit comment; this is a read-only operation.
List reactions for a pull request review commentLists reactions for a pull request review comment in a repository, optionally filtering by reaction type.
List reactions for a releaseLists a page of reactions for a GitHub release, optionally filtered by reaction type.
List reactions for a team discussionThe team discussion reactions endpoint used by this action has been retired.
List reactions for a team discussion commentThe team discussion comment reactions endpoint used by this action has been retired.
List releasesRetrieves a page of releases for a specified repository, including published releases and available draft and prerelease versions.
List release assetsLists assets (e.g., compiled binaries, source code archives) for a specific GitHub release, identified by `release_id` which must be valid for an existing release in the repository.
List repositoriesLists repositories accessible to the authenticated user based on visibility, affiliation, and type filters.
List repos accessible to app installationLists repositories a GitHub App installation can access.
List repositories for a userLists public repositories for a specified GitHub user, who must have an existing account.
List repositories for the authenticated userLists repositories for the authenticated user; using 'type' with 'visibility' or 'affiliation' API parameters (not in this model) can cause a 422 error.
List repositories starred by a userLists repositories a valid and existing GitHub user has starred.
List repositories starred by the authenticated userLists repositories starred by the authenticated user, with sorting and pagination options.
List repositories watched by a userLists repositories a given GitHub user is watching; the username must be a valid and existing GitHub user handle.
List repositories watched by the authenticated userLists repositories the authenticated user is watching (subscribed to for notifications).
List repos with ghactions cache usageRetrieves a paginated list of GitHub Actions cache usage statistics for repositories within an existing GitHub organization.
List repository activitiesLists activities for a GitHub repository, ensuring the repository exists and is accessible.
Get all autolinks of a repositoryRetrieves all autolinks (e.g., for JIRA issues) configured for a repository; requires admin permissions on the repository.
List repository collaboratorsLists collaborators for a specified repository, provided it exists and is accessible to the authenticated user.
List repository contributorsLists contributors to a specified repository, sorted by number of contributions in descending order; the repository must exist and be accessible.
List repository Dependabot alertsList Dependabot vulnerability alerts for a repository with filters and cursor pagination.
List repository eventsLists chronological events (e.g., code pushes, issue activities, PR actions, forks) for a specified, existing GitHub repository.
List repository invitationsLists a page of pending collaboration invitations for a specified GitHub repository.
List repository issuesLists issues (including pull requests) from a GitHub repository.
List repository languagesLists the programming languages used in a GitHub repository, returning a byte count for each language.
List repository organization secretsLists names of organization-level secrets shared with the specified repository; actual secret values are not returned and visibility depends on token access.
List repository organization variablesLists organization-level variables that are shared with a specific repository.
List repository projectsThe repository Projects (classic) endpoint used by this action has been retired.
Get all repository rulesetsRetrieves a page of rulesets for a GitHub repository, including parent rulesets by default.
List repository rule suitesLists rule suite evaluations for a repository, allowing filtering by ref (non-wildcard), time period, actor, and result.
List repository secretsLists a page of metadata for GitHub Actions secrets in a repository, including names and timestamps but not secret values.
List repository secrets without decryptingLists a page of metadata for Dependabot secrets in a repository, including names and creation and update dates; secret values are not included.
List repository security advisoriesLists repository security advisories, optionally filtered by state and sorted or paginated.
List repository tagsLists tags for a specified GitHub repository.
List repository teamsLists a page of teams with explicit permission to access the specified repository; the repository must exist.
Get all repository topicsRetrieves all topics for a specified, existing, and accessible repository.
List repository variablesLists plain text key-value variables for GitHub Actions workflows within a specific, accessible repository.
List repository webhooksRetrieves a list of webhooks for a repository, which must exist and be accessible.
List repository workflowsLists a page of GitHub Actions workflows for a specified repository, which must exist and be accessible.
List repo access by tokenLists repositories in an organization that a fine-grained personal access token has requested access to.
List repository access to a self-hosted runner group in an organizationLists the repositories with access to a self-hosted runner group configured in an organization.
List repo codespaces for authenticated userLists Codespaces the authenticated user can access within a specified, existing repository.
List repo dev container configs for userLists the `devcontainer.json` configurations available in a specified repository for use with GitHub Codespaces.
List authenticated user's repository invitationsLists a page of pending repository invitations for the authenticated user.
List repository notifications for the authenticated userRetrieves notifications for the authenticated user from a specified repository, to which the user must have access.
List repo secrets without valuesLists a page of Codespaces secrets for a specified repository, without their encrypted values.
Get all requested reviewers for a pull requestGets all users and teams requested to review a specific pull request in a repository.
List reviews for a pull requestLists submitted reviews chronologically for a specific pull request within a GitHub repository.
List review comments in a repositoryLists a page of pull request review comments across a specified repository, with sorting and pagination options.
List review comments on a pull requestLists a page of review comments on a specific pull request within a GitHub repository, with sorting and pagination options.
List runner applications for an organizationLists downloadable GitHub Actions runner application binaries for setting up self-hosted runners in a GitHub organization.
List runner applications for a repositoryLists available self-hosted runner application binaries for a specific repository, including their OS, architecture, and download URL.
List secrets for the authenticated userLists all Codespaces secrets accessible to the authenticated user for use within GitHub Codespaces.
List secret scanning alerts for a repositoryList secret scanning alerts for a GitHub repository using first-party detections.
List security advisories (GraphQL)Tool to list GitHub Security Advisories using the GraphQL API.
List security vulnerabilitiesQuery software vulnerabilities documented by GitHub Security Advisories using GraphQL.
List selected repositories for a Codespaces organization secretLists a page of repositories selected to access a Codespaces organization secret whose visibility is set to 'selected'.
List selected repositories for a user secretLists repositories that have access to the specified user Codespaces secret.
List selected repos for secret accessLists repositories within a specified organization that have been granted access to a particular Dependabot secret.
List selected repositories for an organization variableLists repositories in an organization that can access a specific organization variable; supports pagination and returns an empty list if no repositories have been granted access.
List self hosted runners for an organizationLists self-hosted runners for a GitHub organization, optionally filtering by name and paginating results, providing details for each runner such as OS, status, and labels.
List self hosted runners for a repositoryLists self-hosted runners configured for a repository, with optional runner-name filtering and pagination.
List social accounts for a userLists social media accounts publicly linked to an existing GitHub user's profile.
List social accounts for the authenticated userLists a page of social media accounts linked to the authenticated user's GitHub profile, including links to platforms such as Twitter and LinkedIn.
List Sponsorable Users and OrganizationsTool to list users and organizations who can be sponsored via GitHub Sponsors.
List SSH signing keys for userLists the public SSH signing keys for a specified GitHub user.
List stargazersLists users who have starred the specified GitHub repository, which must exist.
List starred gistsLists gists starred by the authenticated GitHub user.
List starred repositories for userLists a page of public repositories starred by a specified GitHub user, sorted by when they were starred or last updated.
Get all status check contextsFetches required status check contexts for a branch.
List marketplace subscriptions for authenticated userTool to list GitHub Marketplace subscriptions for the authenticated user.
List stubbed subscriptions for the authenticated userLists the authenticated user's stubbed (test/example data, not live) GitHub Marketplace subscriptions, useful for development or testing.
List sub-issues for an issueTool to list sub-issues for a specific GitHub issue.
List teamsLists teams for a specified GitHub organization.
List teams for the authenticated userLists all teams across all organizations to which the authenticated user belongs, supporting pagination.
List teams assigned to an organization roleLists a page of teams assigned to a specific role in a GitHub organization, helping administrators audit role assignments.
List team membersLists members of a specific team within an organization, including members of child teams.
List team projectsThe Projects (classic) team endpoint used by this action has been retired.
List team repositoriesLists repositories accessible to a specific team within a GitHub organization.
List the people a user followsLists GitHub users that a valid GitHub `username` is following, supporting pagination.
List people the authenticated user followsLists people the authenticated user follows.
List timeline events for an issueLists chronological events (e.g., comments, commits, label changes) for a specific issue in a GitHub repository.
List token access repositoriesLists a page of repositories in an organization accessible to a specified fine-grained personal access token, for auditing its repository access.
List usersLists a page of GitHub users, including individuals and organizations, in chronological order of sign-up.
List users blocked by an organizationLists users blocked by a specified GitHub organization.
List users blocked by the authenticated userLists users blocked by the authenticated user, returning an empty list if no users are blocked.
List users assigned org roleLists users assigned to a specific role within a GitHub organization.
List user projectsLists Projects V2 for a specified GitHub user using GraphQL, with page-based pagination and optional state filtering.
List watchersRetrieves a list of users watching a specific repository; the repository must be accessible to the authenticated user.
List workflow runs for a repositoryLists workflow runs for a repository, allowing filtering by actor, branch, event, status, creation date, check suite ID, or head SHA; the repository must exist and be accessible.
List workflow runs for a workflowLists runs for a specified, existing workflow (identified by ID or filename like `main.yml`) in a GitHub repository, with filtering options.
List workflow run artifactsLists artifacts (e.g., build outputs, test results) for a specific workflow run in a GitHub repository.
Lock an issueLocks an existing GitHub issue's conversation, preventing further comments; an optional reason can be specified.
Lookup Enterprise Administrator InvitationLook up a pending enterprise administrator invitation by invitee login, enterprise slug, and role.
Lookup GitHub ResourceLook up a GitHub resource by URL and return its GraphQL type and URL.
Lookup nodes by IDsLook up multiple GitHub nodes by their global node IDs in a single GraphQL query, returning each node's ID and type.
Lookup Organization (GraphQL)Tool to lookup a GitHub organization by login using GraphQL.
Look Up Topic by NameTool to look up a GitHub topic by name using GraphQL.
Manage access control for organization codespacesSets the Codespaces access control policy for a GitHub organization, determining which members can use them.
Manage custom properties for org reposCreates or updates values for an organization's predefined custom properties across multiple repositories (up to 30).
Manage issue blocking dependencyAdd or remove an issue that blocks another issue in the same repository.
List selected repositories for a GitHub Actions organization secretLists a page of repositories explicitly selected to access a GitHub Actions organization secret.
Mark a thread as doneMarks the GitHub notification thread (identified by `thread_id`) as done or read for the authenticated user, effectively archiving it.
Mark a thread as readMarks an existing GitHub notification thread, identified by its `thread_id`, as read.
Mark notifications as readMarks notifications as read or unread, optionally for those updated at or before a `last_read_at` timestamp.
Mark pull request ready for reviewMarks a draft pull request as ready for review using GitHub GraphQL API, transitioning it from draft to reviewable state.
Mark repository notifications as readMarks notifications in a repository as read; if 'last_read_at' is specified, notifications updated after this timestamp are not marked as read.
Merge a branchMerges a head branch or commit SHA into a base branch in a repository; fails if there are merge conflicts requiring manual resolution.
Merge a pull requestMerges an open and mergeable pull request in a repository.
Delete a user migration archiveDeletes a previous migration archive.
Delete an organization migration archiveDeletes a previous migration archive.
Download an organization migration archiveFetches the URL to a migration archive.
Download a user migration archiveFetches the URL to download the migration archive as a `tar.gz` file.
Get a user migration statusFetches a single user migration.
Get an organization migration statusFetches the status of a migration.
List user migrationsLists all migrations a user has started.
List organization migrationsLists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).
List repositories for a user migrationLists all the repositories for this user migration.
List repositories in an organization migrationList all the repositories for this organization migration.
Start a user migrationInitiates the generation of a user migration archive.
Start an organization migrationInitiates the generation of a migration archive.
Create an OIDC custom property inclusion for an organizationAdds a repository custom property to be included in the OIDC token for repository actions in an organization.
Delete an OIDC custom property inclusion for an organizationRemoves a repository custom property from being included in the OIDC token for repository actions in an organization.
List OIDC custom property inclusions for an organizationLists the repository custom properties that are included in the OIDC token for repository actions in an organization.
Cancel an organization invitationCancel an organization invitation.
Check organization membership for a userCheck if a user is, publicly or privately, a member of the organization.
Create an artifact deployment recordCreate or update deployment records for an artifact associated with an organization.
Create artifact metadata storage recordCreate metadata storage records for artifacts associated with an organization.
Create a cluster deployment records jobCreate a background job to set deployment records for a given cluster.
Create an organization invitationInvite people to an organization by using their GitHub user ID or their email address.
Create issue field for an organizationCreates a new issue field for an organization.
Delete attestations in bulkDelete artifact attestations in bulk by either subject digests or unique ID.
Delete attestations by IDDelete an artifact attestation by unique ID that is associated with a repository owned by an org.
Delete attestations by subject digestDelete an artifact attestation by subject digest.
Delete issue field for an organizationDeletes an issue field for an organization.
Delete issue type for an organizationDeletes an issue type for an organization.
Disable a selected repository for immutable releases in an organizationRemoves a repository from the list of selected repositories that are enforced for immutable releases in an organization.
Enable a selected repository for immutable releases in an organizationAdds a repository to the list of selected repositories that are enforced for immutable releases in an organization.
Remove all external custom property values for a property across all organization repositoriesRemoves all external custom property values for a specified property name across all repositories that belong to an organization.
Get registered app installations for external custom propertiesGets the registered GitHub App installations used to read and write external custom properties for an organization.
Get all external custom properties for a GitHub App installation in an organizationGets all external custom properties defined for the authenticated GitHub App installation on an organization.
Create or update external custom property values for organization repositoriesCreate new or update existing external custom property values for repositories in a batch that belong to an organization.
Get cluster deployment records job statusGet the status and results of a previously created cluster deployment records job.
Get immutable releases settings for an organizationGets the immutable releases policy for repositories in an organization.
List selected repositories for immutable releases enforcementList all of the repositories that have been selected for immutable releases enforcement in an organization.
Get an organization membership for the authenticated userIf the authenticated user is an active or pending member of the organization, this endpoint will return the user's membership.
Get organization membership for a userIn order to get a user's membership with an organization, the authenticated user must be an organization member.
Get organization ruleset historyGet the history of an organization ruleset.
Get organization ruleset versionGet a version of an organization ruleset.
List app installations for an organizationLists all GitHub Apps in an organization.
List artifact deployment recordsList deployment records for an artifact metadata associated with an organization.
List artifact storage recordsList artifact storage records with a given subject digest for repositories owned by an organization.
List attestationsList a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization.
List attestations by bulk subject digestsList a collection of artifact attestations associated with any entry in a list of subject digests owned by an organization.
List failed organization invitationsThe return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure.
List organization invitation teamsList all teams associated with an invitation.
List issue fields for an organizationLists all issue fields for an organization.
List pending organization invitationsThe return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`.
Remove organization membership for a userIn order to remove a user's membership with an organization, the authenticated user must be an organization owner.
Set cluster deployment recordsSet deployment records for a given cluster.
Set immutable releases settings for an organizationSets the immutable releases policy for repositories in an organization.
Set selected repositories for immutable releases enforcementReplaces all repositories that have been selected for immutable releases enforcement in an organization.
Set organization membership for a userOnly authenticated organization owners can add a member to the organization or update the member's role.
Set public organization membership for the authenticated userThe user can publicize their own membership.
Update issue field for an organizationUpdates an issue field for an organization.
Update an organization membership for the authenticated userConverts the authenticated user to an active member of the organization, if that user has a pending invitation from the organization.
Ping an organization webhookSends a ping event to a specified existing organization webhook to test its configuration.
Ping a repository webhookPings an existing webhook on a repository to test its configuration and reachability by GitHub.
Get list of conflicting packages during Docker migration for organizationLists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration.
Get list of conflicting packages during Docker migration for userLists all packages that are in a specific user's namespace, that the requesting user has access to, and that encountered a conflict during Docker migration.
Privately report a security vulnerabilityPrivately reports a security vulnerability to a repository's maintainers.
Get a private registry for an organizationGet the configuration of a single private registry defined for an organization, omitting its encrypted value.
Get private registries public key for an organizationGets the org public key, which is needed to encrypt private registry secrets.
List private registries for an organizationLists all private registry configurations available at the organization-level without revealing their encrypted values.
Add a field to an organization-owned project.Add a field to an organization-owned project.
Add item to organization owned projectAdd an issue or pull request item to the specified organization owned project.
Create draft item for organization owned projectCreate draft issue item for the specified organization owned project.
Create a view for an organization-owned projectCreate a new view in an organization-owned project.
Delete project item for organizationDelete a specific item from an organization-owned project.
Delete project item for userDelete a specific item from a user-owned project.
Get project field for organizationGet a specific field for an organization-owned project.
Get project field for userGet a specific field for a user-owned project.
Get project for organizationGet a specific organization-owned project.
List project fields for organizationList all fields for a specific organization-owned project.
List projects for organizationList all projects owned by a specific organization accessible by the authenticated user.
List items for an organization owned projectList all items for a specific organization-owned project accessible by the authenticated user.
Update project item for organizationUpdate a specific item in an organization-owned project.
Update project item for userUpdate a specific item in a user-owned project.
Publish Sponsors Tier (GraphQL)Tool to publish a draft GitHub Sponsors tier using GraphQL.
Get the result of an asynchronous mergeFetches the current result of an asynchronous merge request, identified by the UUID that was returned when the merge was requested.
Merge a pull request asynchronouslyMerges a pull request into the base branch in the background or adds it to a merge queue.
Request a Copilot code review for a pull requestRequests a Copilot code review for a pull request.
Rerequest reviewers for a pull requestRerequests reviews for a pull request from a given set of users and/or teams.
Add pull requests to a pull request stackAppends an ordered list of pull request numbers onto the top of an existing stack.
Create a pull request stackCreates a stack from an ordered list of pull request numbers.
Get a pull request stackGets a pull request stack by providing its stack number.
List pull request stacksLists pull request stacks in a repository.
Remove pull requests from a pull request stackRemoves the unmerged pull requests from a stack.
Redeliver a delivery for an organization webhookRedelivers a specific webhook delivery for a webhook within an organization, to resend an event that previously failed or was not processed.
Redeliver a delivery for a repository webhookRedelivers a specific, previously made webhook delivery (`delivery_id`) for a repository's webhook (`hook_id`).
Remove all labels from an issueRemoves all labels from a specified issue in a GitHub repository; this operation is idempotent.
Remove all organization roles for a teamRevokes all organization roles for a team in an organization; this is destructive and succeeds even if the team initially has no roles.
Remove all organization roles for a userRevokes all assigned organization-level roles from a specified user (who must be a member of the organization) within a GitHub organization, without removing the user from the organization or affecting repository-specific roles.
Remove an organization memberRemoves a member from a GitHub organization.
Remove an organization role from a teamRevokes an organization role that a team currently possesses within an organization.
Remove an organization role from a userRemoves a custom organization role from a user within a GitHub organization, provided the organization exists, the user is a member, and the role_id corresponds to a valid custom role in that organization.
Remove app access restrictionsRemoves all GitHub App access restrictions from a protected branch without altering user or team restrictions.
Remove assignees from an issueRemoves specified assignees from a GitHub issue; requires push access, and invalid removal attempts are silently ignored.
Remove a custom property for an organizationDeletes a custom property, specified by `custom_property_name`, from an existing organization (`org`) for which the property is currently defined, preventing its future assignment to repositories.
Remove a label from an issueRemoves a label currently applied to a specific issue in a repository.
Remove a project from a teamThe Projects (classic) team endpoint used by this action has been retired.
Remove a repository collaboratorRemoves a collaborator from a specified GitHub repository, provided the repository exists and the user is an existing collaborator.
Remove a repository from an app installationRemoves a repository from a GitHub App installation for the authenticated user, given a valid `installation_id` and the `repository_id` of a repository currently linked to that installation; this operation is idempotent.
Remove a repository from a teamDisassociates a repository from a team; team members may lose access permissions, but the repository and team are not deleted.
Remove a selected repository from a user secretRemoves a selected repository's access to a user's Codespaces secret; the secret must exist and the repository must have previously been granted access.
Remove custom labels from self hosted repo runnerRemoves all custom labels from a self-hosted runner registered at the repository level, leaving only its default labels and any labels inherited from its runner group or organization.
Remove custom label from repo runnerRemoves a custom label from a repository's self-hosted runner; this operation is idempotent.
Remove custom label from self hosted runnerRemoves a currently assigned custom label (`name`) from a self-hosted runner (`runner_id`) in an organization (`org`).
Remove interaction restrictions for an organizationRemoves all interaction restrictions from public repositories in the specified GitHub organization, allowing all users to resume interactions.
Remove interaction restrictions for a repositoryRemoves all interaction restrictions for a repository, enabling all users to comment, open issues, and create pull requests by lifting any existing temporary interaction limits.
Remove org dev env secret by nameDeletes a named GitHub Codespaces secret from an organization.
Remove org secret by namePermanently removes a specific Dependabot secret, by its `secret_name`, from the GitHub `org`, making it unavailable to Dependabot for that organization.
Remove outside collaborator from an organizationRemoves a user, who must be an outside collaborator, from the specified GitHub organization, revoking their access to all its repositories.
Remove public org membershipRemoves the authenticated user's public organization membership, making it private.
Remove user public repo interaction restrictionsRemoves all interaction restrictions (limitations on comments, issues, or pull requests) from all public repositories owned by the authenticated user.
Remove repository access to a self-hosted runner group in an organizationRemoves a repository from the list of selected repositories that can access a self-hosted runner group.
Remove repository from organization dev environment secretRemoves a repository's access to an organization-level Codespaces secret, if it was previously granted.
Remove selected repo from org secretRevokes a specific repository's access to an organization-level Dependabot secret, applicable only when the secret has 'selected' visibility and the specified repository currently has access.
Remove requested reviewers from a pull requestRemoves currently assigned user logins and/or team slugs from a GitHub pull request's list of requested reviewers.
Remove review requestRemoves requested reviewers from a pull request.
Remove selected repository from an organization secretRemoves a specific repository's access to an organization-level secret; the repository must have been previously granted access to this secret.
Remove selected repository from an organization variableRemoves a repository's access to an organization variable that has 'selected' visibility.
Remove status check contextsRemoves specified status check contexts from a protected branch's required status checks.
Remove status check protectionRemoves status check protection from a branch, disabling required status checks for merging pull requests; will only have an effect if status check protection is currently configured on the branch.
Remove team access restrictionsRemoves specified teams from push access to a protected branch.
Remove team membershipTool to remove team membership for a user in an organization.
Remove team membership for a userRemoves a user from a specific team within an organization.
Remove users from codespaces access for an organizationDeprecated by GitHub: removes selected users from Codespaces billing access for an existing organization.
Remove user access restrictionsRemoves specified users from the list of people allowed to push to a protected branch.
Rename a branchRenames an existing branch in a GitHub repository; the new name must be unique and adhere to GitHub's naming conventions, and the current branch name cannot contain wildcard characters.
Render a markdown documentRenders Markdown to HTML; for 'gfm' mode, provide 'context' (owner/repo) to correctly link issues, pull requests, and user mentions.
Render Markdown (Raw Mode)Tool to render raw Markdown text to HTML using GitHub's markdown API.
Reopen an issueReopens a closed GitHub issue by changing its state to 'open' with state_reason 'reopened'.
Reopen Pull RequestReopens a previously closed pull request by setting its state to 'open'.
Replace all repository topicsReplaces all topics of a repository.
Replace org secret visibility to selectedReplaces the list of repositories that can access a Dependabot organization secret when the secret's visibility is already set to 'selected'.
Replace repository access for an org Codespaces secretReplaces the list of repositories that can access an organization-level Codespaces secret.
Check if Dependabot security updates are enabled for a repositoryShows whether Dependabot security updates are enabled, disabled or paused for a repository.
Check if immutable releases are enabled for a repositoryShows whether immutable releases are enabled or disabled.
Check if vulnerability alerts are enabled for a repositoryShows whether dependency alerts are enabled or disabled for a repository.
Create an attestationStore an artifact attestation and associate it with a repository.
Create an organization repository rulesetCreate a repository ruleset for an organization.
Delete an organization repository rulesetDelete a ruleset for an organization.
Disable Dependabot security updatesDisables Dependabot security updates for a repository.
Disable immutable releasesDisables immutable releases for a repository.
Disable vulnerability alertsDisables dependency alerts and the dependency graph for a repository.
Enable Dependabot security updatesEnables Dependabot security updates for a repository.
Enable immutable releasesEnables immutable releases for a repository.
Enable vulnerability alertsEnables dependency alerts and the dependency graph for a repository.
Get the hash algorithm for a repositoryReturns the hash algorithm used to store repository objects.
Get an organization repository rulesetGet a repository ruleset for an organization.
Get all organization repository rulesetsGet all the repository rulesets for an organization.
Get an organization rule suiteGets information about a suite of rule evaluations from within an organization.
List organization rule suitesLists suites of rule evaluations at the organization level.
Get repository ruleset historyGet the history of a repository ruleset.
Get repository ruleset versionGet a version of a repository ruleset.
List issue types for a repositoryLists enabled issue types inherited from the repository owner.
List planning statuses for a repositoryLists the selectable planning statuses available.
Update an organization repository rulesetUpdate a ruleset for an organization.
Upload a release assetUpload a binary asset to an existing GitHub release.
Request a github pages buildManually triggers a GitHub Pages build for a repository if GitHub Pages is enabled, useful for deployments not automatically built or for retrying failed builds.
Request reviewers for a pull requestRequests reviewers for a specific pull request identified by owner, repository, and pull request number.
Add reviewers to a specific pull requestAdds reviewers to a specific pull request identified by owner, repo, and pull_number.
Rerequest a check runTriggers a re-run of a specific check run in a GitHub repository, resetting its status to 'queued', clearing its conclusion, and triggering the `check_run` webhook with `rerequested` action.
Rerequest a check suiteTriggers a new run of an existing check suite within a repository, resetting its status to 'queued', clearing its conclusion, and triggering the `check_suite` webhook with `rerequested` action.
Reset a tokenInvalidates the provided OAuth `access_token` and generates a new one for the GitHub OAuth App identified by `client_id`.
Restore a package for an organizationRestores a package in an organization, provided it was deleted within the last 30 days.
Restore a package for a userRestores 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 userRestores 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 userRestores a package version that was deleted by the authenticated user within the last 30 days.
Restore package version for an organizationRestores a package version for an organization, provided it was deleted within the last 30 days.
Restore package version for a userRestores 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 TierTool to retire a published payment tier from your GitHub Sponsors profile using GraphQL.
Review access with personal tokenApproves 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 RunApproves or rejects pending custom deployment protection rules for a workflow run.
Review pending deployments for a workflow runApproves or rejects pending deployments for a specific workflow run that are in a 'waiting' state within specified, configured environments.
Review PAT Requests in BulkSubmits a bulk approval or denial of fine-grained personal access token requests for a GitHub organization.
Revoke an installation access tokenRevokes the GitHub App's current installation access token, immediately invalidating it for API authentication.
Re-run a job from a workflow runRe-runs a specific job and any dependent jobs from a GitHub Actions workflow run in the specified repository, optionally enabling debug logging.
Rerun a workflowRe-runs a specific GitHub Actions workflow run identified by its owner, repository, and run ID, optionally enabling debug logging.
Rerun failed jobs from a workflow runRe-runs all failed jobs and their dependent jobs from a specified workflow run if the run contains previously failed jobs.
Run GraphQL QueryTool to run an arbitrary GitHub GraphQL v4 query or mutation.
Run GraphQL Relay QueryRuns a supplied GitHub GraphQL query or mutation, including queries that access root fields through the relay context.
Search codeSearches 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.
Search commitsFinds commits on GitHub using a query string (q) supporting keywords and qualifiers, with options for sorting and pagination.
Search commits by author across reposSearches commits across GitHub repositories using keywords and qualifiers such as author, committer email, organization, or date range.
GitHub GraphQL SearchTool to perform GitHub GraphQL searches across issues, pull requests, repositories, users, and discussions.
Search issues and pull requestsSearches GitHub issues and pull requests using keywords and qualifiers, with sorting and pagination.
Search issues and pull requestsSearches GitHub for issues and pull requests using keywords and qualifiers, with sorting and pagination.
Search labelsSearches for labels within a GitHub repository by keywords in their names or descriptions.
Search repositoriesSearches GitHub repositories using a flexible query (keywords, qualifiers) with sorting, ordering, and pagination.
Search topicsFinds topics on GitHub using keywords and qualifiers with GitHub's search syntax, supporting pagination.
Search usersSearches for users on GitHub by criteria like username, email, location, followers, or repository associations, using a flexible query string `q`.
Bulk create organization custom patternsBulk creates secret scanning custom patterns for an organization.
Bulk create repository custom patternsBulk creates secret scanning custom patterns for a repository.
Bulk delete organization custom patternsBulk deletes secret scanning custom patterns for an organization.
Bulk delete repository custom patternsBulk deletes secret scanning custom patterns for a repository.
Create a push protection bypassCreates a bypass for a previously push protected secret.
Get a secret scanning alertGets a single secret scanning alert detected in an eligible repository.
Get secret scanning scan history for a repositoryLists the latest default incremental and backfill scans by type for a repository.
List secret scanning alerts for an organizationLists secret scanning alerts for eligible repositories in an organization, from newest to oldest.
List locations for a secret scanning alertLists all locations for a given secret scanning alert for an eligible repository.
List organization custom patternsLists secret scanning custom patterns for an organization.
List organization pattern configurationsLists the secret scanning pattern configurations for an organization.
List repository custom patternsLists secret scanning custom patterns for a repository.
Update a secret scanning alertUpdates the status of a secret scanning alert in an eligible repository.
Update an organization custom patternUpdates a secret scanning custom pattern for an organization.
Update organization pattern configurationsUpdates the secret scanning pattern configurations for an organization.
Update a repository custom patternUpdates a secret scanning custom pattern for a repository.
Create a repository security advisoryCreates a new repository security advisory.
Get a repository advisory commentGet a comment on a repository security advisory using the comment's ID.
List repository security advisories for an organizationLists repository security advisories for an organization.
List repository security advisory commentsLists comments on a repository security advisory.
Create a repository advisory commentCreates a comment on a repository security advisory.
Request a CVE for a repository security advisoryIf you want a CVE identification number for the security vulnerability in your project, and don't already have one, you can request a CVE identification number from GitHub.
Update a repository advisory commentUpdate the body of a comment on a repository security advisory using the comment's ID.
Set admin branch protectionEnables administrator enforcement on a branch, making existing protection rules also apply to administrators; branch protection rules must already be configured.
Set app access restrictionsReplaces the list of GitHub Apps permitted to push to a protected branch; the branch must have push restrictions configured, and apps must be installed with contents write permission on an eligible organization repository.
Set a repository subscriptionSets the authenticated user's notification subscription for a repository.
Set a thread subscriptionSets whether a GitHub notification thread is ignored (muted) or unignored (unmuted), for a `thread_id` that must identify an existing notification thread.
Set default workflow permissions for an organizationUpdates an organization's default GITHUB_TOKEN permissions for workflows and whether GitHub Actions can approve pull requests; note that allowing Actions to approve pull requests (`can_approve_pull_request_reviews: true`) is a security risk.
Set default workflow permissions for a repositorySets the default permissions for the GITHUB_TOKEN within a repository and configures whether GitHub Actions can approve pull requests.
Set primary email visibilitySets the visibility ('public' or 'private') of the authenticated user's primary email address on GitHub, if one is configured.
Set GitHub Actions permissions for an organizationSets the GitHub Actions permissions policy for an organization, specifying which repositories can run Actions and which actions/workflows are allowed; if 'selected' is chosen for either, manage the specific lists via other endpoints.
Set github actions permissions for a repositorySets GitHub Actions permissions for a repository, enabling/disabling Actions and defining the policy for allowed actions and reusable workflows.
Set interaction restrictions for an organizationLimits interactions (comments, new issues, PRs) in an organization's public repositories by user type and duration, typically to mitigate high traffic or unwanted activity.
Set interaction restrictions for a repositoryTemporarily limits which GitHub users (e.g., existing_users, contributors_only) can interact (comment, open issues, create pull requests) in a repository for a specified duration.
Set interaction restrictions for your public repositoriesSets or updates temporary interaction restrictions for all public repositories owned by the authenticated user, overriding any repository-specific limits.
Set labels for an issueReplaces all existing labels on a GitHub issue with a new set of labels.
Set custom OIDC subject claim templateSets the OpenID Connect (OIDC) subject claim template for a GitHub repository, allowing use of the default template or a custom one defined by `include_claim_keys` if `use_default` is `false`.
Set allowed actions and workflows for an organizationSets the GitHub Actions permissions for an existing organization, specifying allowed GitHub-owned actions, verified creator actions, and action/workflow patterns from public repositories.
Set custom labels for a self-hosted runner for an organizationSets the custom labels for a self-hosted runner in an organization; this operation does not affect default system-assigned labels (e.g., 'self-hosted', 'linux', 'x64').
Set repository access for a self-hosted runner group in an organizationReplaces the list of repositories that have access to a self-hosted runner group configured in an organization.
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 runnerReplaces 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 secretReplaces the list of repositories that can access an organization secret; only effective if the secret's visibility is 'selected'.
Set selected repositories for a user secretDefines the list of repositories permitted to access a specific Codespaces secret for the authenticated user.
Set selected repositories for an organization variableReplaces the list of repositories that can access an organization-level variable; the variable's visibility must be 'selected'.
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 restrictionsReplaces the list of teams with push access to a protected branch.
Set user access restrictionsReplaces the list of users with push access to a protected branch in an organization repository.
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 repositorySets the access level for workflows outside a repository to use actions and reusable workflows within that repository.
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'.
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)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.
Stop a codespace for an organization userStops a running codespace for an organization member.
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 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 repositorySynchronizes 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 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 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 userUnblocks a GitHub user, provided they are currently blocked by the authenticated user.
Unblock a user from an organizationUnblocks a user from a specified organization.
Unfollow a userUnfollows an existing GitHub user; this action is idempotent, succeeding even if the authenticated user is not currently following them.
Unfollow organizationTool to unfollow a GitHub organization using GraphQL.
Unfollow userTool to unfollow a GitHub user using GraphQL.
Unlock an issueUnlocks a currently locked GitHub issue in the specified repository, allowing new comments and interactions.
Unlock an organization repositoryUnlocks a repository that was locked for migration within a GitHub organization.
Unlock a user repositoryUnlocks a repository (`repo_name`) that was locked as part of a user migration (`migration_id`), making it usable or deletable; this action requires the repository to be currently locked.
Unstar a gistRemoves a star from the specified gist; the action is idempotent and will not error if the gist was not previously starred by the user.
Unstar a repositoryRemoves the authenticated user's star from a specified repository, which must already be starred by the user.
Update an environment variableUpdates an existing environment variable's name and/or value in a specific GitHub repository environment; requires providing either a new name or a new value.
Update an issueUpdates an existing GitHub issue's title, body, state, milestone, labels, or assignees.
Update an issue commentUpdates an existing comment on an issue or pull request within a specified repository.
Update an organizationUpdates an organization's settings; changing security-related fields requires admin, owner, or security manager permissions.
Update an organization variableUpdates an existing GitHub Actions organization variable's name, value, or visibility (`all`, `private`, `selected`), requiring `selected_repository_ids` with valid repository IDs if visibility is `selected`.
Update an organization webhookUpdates an existing organization's webhook configuration, subscribed events, active status, or name.
Update a check runUpdates an existing check run for a specific commit in a repository, allowing modifications to its status, conclusion, output, and other details.
Update a code scanning alertUpdates a specific code scanning alert in a GitHub repository, primarily to change its state (e.g., 'open' or 'dismissed').
Update a commit commentChanges the body of an existing commit comment.
Update a custom organization roleThe custom organization role update endpoint has been retired.
Update a deployment branch policyUpdates the name pattern of an existing deployment branch policy for a specific environment in a repository.
Update a discussionThe team discussions endpoint used by this action has been retired.
Update a discussion commentThe team discussion comments endpoint used by this action has been retired.
Update a gistUpdates a gist's description, and/or its files (including content, filename changes, or deletion).
Update a gist commentUpdates an existing comment on a specified gist.
Update a labelUpdates an existing label's name, color, or description within a specified repository.
Update a milestoneUpdates a repository milestone identified by owner, repository, and milestone number.
Update a projectUpdates an existing GitHub project (V2) attributes like title, description, visibility, and state.
Update a pull requestUpdates an existing pull request, allowing changes to attributes like title, body, state, base branch, and maintainer modification settings.
Update a pull request branchRequests an asynchronous update of an open pull request's head branch by merging its base branch, if mergeable and repository merging is enabled.
Update a referenceUpdates an existing Git reference (e.g., a branch or tag) to point to a specific commit SHA.
Update a releaseUpdates an existing release in a GitHub repository, allowing modification of its attributes; if linking a discussion, the `discussion_category_name` must refer to an existing category in the repository.
Update a release assetUpdates the name, label, or state of a release asset in a GitHub repository, requiring at least one of these properties to be provided for modification.
Update a repositoryUpdates settings for an existing GitHub repository, such as name, description, visibility, merge strategies, and security configurations.
Update a repository invitationUpdates an active repository invitation to modify the invited user's permissions; the specified repository and invitation must exist.
Update a repository rulesetUpdates an existing repository ruleset, identified by `ruleset_id` for a given repository, allowing partial updates to its configuration such as name, target, enforcement, bypass actors, conditions, and rules.
Update a repository variableUpdates the name and/or value of an existing GitHub Actions variable in a repository.
Update a repository webhookUpdates the URL, content type, secret, SSL verification, events, or active status of an existing repository webhook.
Update a teamUpdates a team's settings (e.g., name, description, privacy, parent team) within a GitHub organization, identified by its slug and organization name.
Update branch protectionUpdates branch protection settings for a specific existing repository branch; wildcard branch names are not supported.
Update a codespace for the authenticated userUpdates an existing GitHub Codespace's machine type, display name, or recent folders for the authenticated user; machine type changes take effect on the next start.
Update a code scanning default setup configurationUpdates the default setup configuration for code scanning in a repository; GitHub Advanced Security must be enabled for the repository.
Update issue typeUpdate an existing issue type for a GitHub organization.
Update a webhook configuration for an organizationUpdates the configuration (URL, content type, secret, SSL verification) for an existing webhook within a specified organization.
Update pull request creation cap for a repositoryUpdates the pull request creation cap for a repository.
Update a review for a pull requestUpdates the body text of an existing pull request review.
Update a review comment for a pull requestUpdates the body of an existing review comment on a pull request.
Update pull request review protectionUpdates pull request review protection settings for a branch, including required approvals, review dismissal, and bypass allowances.
Update repository preferences for check suitesUpdates repository preferences for automatic Check Suite creation on code pushes, allowing configuration for specific GitHub Apps that must be installed on the repository with `checks:write` permission.
Update a webhook configuration for a repositoryUpdates the configuration (e.g., payload URL, content type, secret, SSL verification) for an existing webhook in a specified repository.
Update resource access with tokensRevokes organization access for the personal access tokens identified by `pat_ids`; this action must be performed by a GitHub App, and `pat_ids` must be valid and associated with the organization.
Update status check protectionUpdates required status checks for a branch, optionally requiring it to be up-to-date before merging.
Update SubscriptionTool to update notification subscription state for issues, pull requests, or discussions.
Update the authenticated userUpdates the authenticated user's GitHub profile; a new public email must be verified, and existing private emails remain private even if specified.
Revoke Token Organization AccessRevokes a fine-grained personal access token's access to a specified GitHub organization.
Update User ListTool to update an existing GitHub user list.
Update user lists for itemTool to update which of the viewer's lists an item belongs to on GitHub.
Update Project V2 Item for UserTool to update a field value for an item in a user's GitHub ProjectV2.
Change User StatusTool to update your status on GitHub.
Upload a release assetTool to upload a binary asset to an existing GitHub release.
Upload an analysis as sarif dataUploads a gzipped and Base64 encoded SARIF file to a GitHub repository for a specific commit and reference; use `checkout_uri` if SARIF paths are absolute.
Create or update repository custom property valuesCreates or updates up to 30 custom property values for a repository; custom properties must be predefined at the organization or repository level, and setting a property's value to `null` removes it.
Create an issue fieldCreates a new issue field for the authenticated user's personal account.
Create an issue typeCreates a new issue type for the authenticated user's personal account.
Delete attestations in bulkDelete artifact attestations in bulk by either subject digests or unique ID.
Delete attestations by IDDelete an artifact attestation by unique ID that is associated with a repository owned by a user.
Delete attestations by subject digestDelete an artifact attestation by subject digest.
Delete an issue fieldDeletes an issue field for the authenticated user.
Delete an issue typeDeletes an issue type for the authenticated user.
Get a GPG key for the authenticated userView extended details for a single GPG key.
Get a public SSH key for the authenticated userView extended details for a single public SSH key.
Get an SSH signing key for the authenticated userGets extended details for an SSH signing key.
List attestations by bulk subject digestsList a collection of artifact attestations associated with any entry in a list of subject digests owned by a user.
List GPG keys for the authenticated userLists the current user's GPG keys.
List issue fieldsLists all issue fields for the authenticated user.
List issue typesLists all issue types for the authenticated user.
List SSH signing keys for the authenticated userLists the SSH signing keys for the authenticated user's GitHub account.
Update an issue fieldUpdates an issue field for the authenticated user.
Update an issue typeUpdates an issue type for the authenticated user.
Validate credentialChecks GitHub credentials using the authenticated-user endpoint and returns a validity flag and username when available.
Verify dev container permissions acceptedVerifies if the authenticated user has accepted permissions for a specific devcontainer configuration in a repository, typically to ensure awareness before a codespace is created or used.
Who Am IReturn the identity (login, name) of the connected GitHub account.