Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create or update an environment
GITHUB_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 secret
GITHUB_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 secret
GITHUB_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 secret
GITHUB_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 user
GITHUB_CREATE_OR_UPDATE_A_SECRET_FOR_THE_AUTHENTICATED_USERCreates or updates a Codespaces secret for the authenticated user, optionally restricting access to selected repositories. Accepts plaintext and encrypts it using the user's GitHub public key, or accepts a pre-encrypted value with its key ID.
Create or update custom properties for an organization
GITHUB_CREATE_OR_UPDATE_CUSTOM_PROPERTIES_FOR_AN_ORGCreates 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 organization
GITHUB_CREATE_OR_UPDATE_CUSTOM_PROPERTY_ORGCreates 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 contents
GITHUB_CREATE_OR_UPDATE_FILE_CONTENTSCreates or updates a file in a GitHub repository with a commit message and supplied content. A missing non-default branch may result in the change being committed to the repository's default branch. Content may be supplied as plain text or Base64.
Create or Update GitHub Pages Site
GITHUB_CREATE_OR_UPDATE_GITHUB_PAGES_SITEEnables or updates GitHub Pages configuration for a repository, including source, custom domain and HTTPS settings. The build type defaults to legacy, which requires a source branch even when updating an existing site.
Create or update repo secret with encrypted value
GITHUB_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`. This action allows you to securely manage secrets for a given repository, ensuring that sensitive data remains protected during the update process. By providing the encrypted value alongside the key ID, you can seamlessly maintain the necessary credentials for your repository's operations.
Create reaction for a commit comment
GITHUB_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 an issue
GITHUB_CREATE_REACTION_FOR_AN_ISSUECreates a reaction for a specified issue within a GitHub repository.
Create reaction for an issue comment
GITHUB_CREATE_REACTION_FOR_AN_ISSUE_COMMENTCreates a reaction for a specific comment on an issue within a GitHub repository.
Create reaction for a pull request review comment
GITHUB_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 release
GITHUB_CREATE_REACTION_FOR_A_RELEASECreates an emoji reaction for a specific, existing release in a GitHub repository.
Create reaction for a team discussion
GITHUB_CREATE_REACTION_FOR_A_TEAM_DISCUSSIONCreates a reaction for a team discussion within a GitHub organization.
Create reaction for a team discussion comment
GITHUB_CREATE_REACTION_FOR_A_TEAM_DISCUSSION_COMMENTAdds a reaction to a team discussion comment, requiring the specified organization, team, discussion, and comment to exist.
Create or Update Organization Secret with LibSodium
GITHUB_CREATE_UPDATE_ORG_SECRET_WITH_LIB_SODIUMCreates 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.
Decline a repository invitation
GITHUB_DECLINE_A_REPOSITORY_INVITATIONDeclines a specific, pending repository invitation for the authenticated user, identified by its `invitation_id`.
Delete access restrictions
GITHUB_DELETE_ACCESS_RESTRICTIONSRemoves all user, team, and app-based access restrictions from a protected branch.