Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Update an environment variable
GITHUB_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 issue
GITHUB_UPDATE_AN_ISSUEUpdates an existing GitHub issue's title, body, state, milestone, labels, or assignees. Empty lists can clear labels or assignees; null values are omitted from the update.
Update an issue comment
GITHUB_UPDATE_AN_ISSUE_COMMENTUpdates an existing comment on an issue or pull request within a specified repository. You can only update comments that the authenticated user has permission to edit. The comment_id can be obtained from the list_issue_comments or get_an_issue_comment actions.
Update an organization
GITHUB_UPDATE_AN_ORGANIZATIONUpdates an organization's settings; changing security-related fields requires admin, owner, or security manager permissions. Omitted repository-permission, repository-creation, Pages, private-forking, and web-commit signoff settings are sent with the tool's defaults and may change existing settings.
Update an organization variable
GITHUB_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 webhook
GITHUB_UPDATE_AN_ORGANIZATION_WEBHOOKUpdates an existing organization's webhook configuration, subscribed events, active status, or name. If active status is omitted, the request enables the webhook.
Update a project
GITHUB_UPDATE_A_PROJECTUpdates an existing GitHub project (V2) attributes like title, description, visibility, and state. Note: This action uses GitHub's Projects V2 GraphQL API. The legacy Projects (classic) REST API was sunset on April 1, 2025. The project is identified by its number (visible in the project URL) and owner (either a username or organization name). If no owner is specified, the authenticated user is assumed. At least one field to update must be provided.
Update a pull request
GITHUB_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 branch
GITHUB_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. The result may instead report merge conflicts, an already up-to-date branch, or an expected head SHA mismatch.
Update a reference
GITHUB_UPDATE_A_REFERENCEUpdates an existing Git reference (e.g., a branch or tag) to point to a specific commit SHA. By default, only allows fast-forward updates (where the new commit is a descendant of the current one). Set `force=true` to allow non-fast-forward updates that rewrite history. IMPORTANT: The reference must already exist - use 'Create a reference' action to create new refs.
Update a release
GITHUB_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 asset
GITHUB_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 repository
GITHUB_UPDATE_A_REPOSITORYUpdates settings for an existing GitHub repository, such as name, description, visibility, merge strategies, and security configurations.
Update a repository invitation
GITHUB_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 ruleset
GITHUB_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 variable
GITHUB_UPDATE_A_REPOSITORY_VARIABLEUpdates the name and/or value of an existing GitHub Actions variable in a repository.
Update a repository webhook
GITHUB_UPDATE_A_REPOSITORY_WEBHOOKUpdates the URL, content type, secret, SSL verification, events, or active status of an existing repository webhook. The active status defaults to true when omitted.
Update a team
GITHUB_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 protection
GITHUB_UPDATE_BRANCH_PROTECTIONUpdates branch protection settings for a specific existing repository branch; wildcard branch names are not supported. Unspecified status checks, admin enforcement, pull request reviews, and push restrictions are sent as null and may be disabled; unspecified user, team, or app lists within supplied push restrictions are sent empty.
Update a code scanning default setup configuration
GITHUB_UPDATE_CODE_SCANNING_DEFAULT_SETUPUpdates the default setup configuration for code scanning in a repository; GitHub Advanced Security must be enabled for the repository.