Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Clear repository cache by key
GITHUB_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.
Commit Multiple Files
GITHUB_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. Empty repository initialization creates separate commits per file and may also write an initialization file to the default branch.
Create a repository dispatch event
GITHUB_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 workflow dispatch event
GITHUB_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.
Delete a file
GITHUB_DELETE_A_FILEDeletes a file by path from a GitHub repository. The file's blob SHA is automatically fetched if not provided.
Delete a package version for the authenticated user
GITHUB_DELETE_A_PACKAGE_VERSION_FOR_THE_AUTHENTICATED_USERDeletes an existing package version associated with the authenticated user.
Delete a reference
GITHUB_DELETE_A_REFERENCEDeletes a Git reference from a repository. Branch names may be supplied without a prefix; they are treated as branch references.
Delete a release
GITHUB_DELETE_A_RELEASEPermanently deletes a specific release, its assets, and potentially its associated Git tag from a repository.
Delete a release asset
GITHUB_DELETE_A_RELEASE_ASSETDeletes a specific release asset from a GitHub repository; this action is idempotent.
Delete a repository
GITHUB_DELETE_A_REPOSITORYPermanently deletes the specified repository; this is a destructive, irreversible action that requires admin privileges for the repository.
Delete a repository ruleset
GITHUB_DELETE_A_REPOSITORY_RULESETPermanently deletes a repository ruleset.
Delete a repository secret
GITHUB_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 variable
GITHUB_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 webhook
GITHUB_DELETE_A_REPOSITORY_WEBHOOKDeletes a specific webhook from a repository.
Delete a review comment for a pull request
GITHUB_DELETE_A_REVIEW_COMMENT_FOR_A_PULL_REQUESTDeletes a specific pull request review comment.
Delete an artifact
GITHUB_DELETE_ARTIFACTDeletes a GitHub artifact by its ID within a repository, typically resulting in an empty response (HTTP 204 No Content) on success.
Delete a secret for the authenticated user
GITHUB_DELETE_A_SECRET_FOR_THE_AUTHENTICATED_USERDeletes an existing Codespaces secret for the authenticated user by `secret_name`. This is a destructive and irreversible operation. Returns 404 if the secret does not exist.
Delete a self hosted runner from an organization
GITHUB_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. Requires organization admin access and appropriate authorization; successful deletion returns a success message.
Delete a self hosted runner from a repository
GITHUB_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 team
GITHUB_DELETE_A_TEAMDeletes a team (and any child teams) from an organization.