Module actions_api

Source

Enumsยง

ActionsSlashAddCustomLabelsToSelfHostedRunnerForOrgError
struct for typed errors of method actions_slash_add_custom_labels_to_self_hosted_runner_for_org
ActionsSlashAddCustomLabelsToSelfHostedRunnerForRepoError
struct for typed errors of method actions_slash_add_custom_labels_to_self_hosted_runner_for_repo
ActionsSlashAddSelectedRepoToOrgSecretError
struct for typed errors of method actions_slash_add_selected_repo_to_org_secret
ActionsSlashAddSelectedRepoToOrgVariableError
struct for typed errors of method actions_slash_add_selected_repo_to_org_variable
ActionsSlashApproveWorkflowRunError
struct for typed errors of method actions_slash_approve_workflow_run
ActionsSlashCancelWorkflowRunError
struct for typed errors of method actions_slash_cancel_workflow_run
ActionsSlashCreateEnvironmentVariableError
struct for typed errors of method actions_slash_create_environment_variable
ActionsSlashCreateOrUpdateEnvironmentSecretError
struct for typed errors of method actions_slash_create_or_update_environment_secret
ActionsSlashCreateOrUpdateOrgSecretError
struct for typed errors of method actions_slash_create_or_update_org_secret
ActionsSlashCreateOrUpdateRepoSecretError
struct for typed errors of method actions_slash_create_or_update_repo_secret
ActionsSlashCreateOrgVariableError
struct for typed errors of method actions_slash_create_org_variable
ActionsSlashCreateRegistrationTokenForOrgError
struct for typed errors of method actions_slash_create_registration_token_for_org
ActionsSlashCreateRegistrationTokenForRepoError
struct for typed errors of method actions_slash_create_registration_token_for_repo
ActionsSlashCreateRemoveTokenForOrgError
struct for typed errors of method actions_slash_create_remove_token_for_org
ActionsSlashCreateRemoveTokenForRepoError
struct for typed errors of method actions_slash_create_remove_token_for_repo
ActionsSlashCreateRepoVariableError
struct for typed errors of method actions_slash_create_repo_variable
ActionsSlashCreateWorkflowDispatchError
struct for typed errors of method actions_slash_create_workflow_dispatch
ActionsSlashDeleteActionsCacheByIdError
struct for typed errors of method actions_slash_delete_actions_cache_by_id
ActionsSlashDeleteActionsCacheByKeyError
struct for typed errors of method actions_slash_delete_actions_cache_by_key
ActionsSlashDeleteArtifactError
struct for typed errors of method actions_slash_delete_artifact
ActionsSlashDeleteEnvironmentSecretError
struct for typed errors of method actions_slash_delete_environment_secret
ActionsSlashDeleteEnvironmentVariableError
struct for typed errors of method actions_slash_delete_environment_variable
ActionsSlashDeleteOrgSecretError
struct for typed errors of method actions_slash_delete_org_secret
ActionsSlashDeleteOrgVariableError
struct for typed errors of method actions_slash_delete_org_variable
ActionsSlashDeleteRepoSecretError
struct for typed errors of method actions_slash_delete_repo_secret
ActionsSlashDeleteRepoVariableError
struct for typed errors of method actions_slash_delete_repo_variable
ActionsSlashDeleteSelfHostedRunnerFromOrgError
struct for typed errors of method actions_slash_delete_self_hosted_runner_from_org
ActionsSlashDeleteSelfHostedRunnerFromRepoError
struct for typed errors of method actions_slash_delete_self_hosted_runner_from_repo
ActionsSlashDeleteWorkflowRunError
struct for typed errors of method actions_slash_delete_workflow_run
ActionsSlashDeleteWorkflowRunLogsError
struct for typed errors of method actions_slash_delete_workflow_run_logs
ActionsSlashDisableSelectedRepositoryGithubActionsOrganizationError
struct for typed errors of method actions_slash_disable_selected_repository_github_actions_organization
ActionsSlashDisableWorkflowError
struct for typed errors of method actions_slash_disable_workflow
ActionsSlashDownloadArtifactError
struct for typed errors of method actions_slash_download_artifact
ActionsSlashDownloadJobLogsForWorkflowRunError
struct for typed errors of method actions_slash_download_job_logs_for_workflow_run
ActionsSlashDownloadWorkflowRunAttemptLogsError
struct for typed errors of method actions_slash_download_workflow_run_attempt_logs
ActionsSlashDownloadWorkflowRunLogsError
struct for typed errors of method actions_slash_download_workflow_run_logs
ActionsSlashEnableSelectedRepositoryGithubActionsOrganizationError
struct for typed errors of method actions_slash_enable_selected_repository_github_actions_organization
ActionsSlashEnableWorkflowError
struct for typed errors of method actions_slash_enable_workflow
ActionsSlashForceCancelWorkflowRunError
struct for typed errors of method actions_slash_force_cancel_workflow_run
ActionsSlashGenerateRunnerJitconfigForOrgError
struct for typed errors of method actions_slash_generate_runner_jitconfig_for_org
ActionsSlashGenerateRunnerJitconfigForRepoError
struct for typed errors of method actions_slash_generate_runner_jitconfig_for_repo
ActionsSlashGetActionsCacheListError
struct for typed errors of method actions_slash_get_actions_cache_list
ActionsSlashGetActionsCacheUsageByRepoForOrgError
struct for typed errors of method actions_slash_get_actions_cache_usage_by_repo_for_org
ActionsSlashGetActionsCacheUsageError
struct for typed errors of method actions_slash_get_actions_cache_usage
ActionsSlashGetActionsCacheUsageForOrgError
struct for typed errors of method actions_slash_get_actions_cache_usage_for_org
ActionsSlashGetAllowedActionsOrganizationError
struct for typed errors of method actions_slash_get_allowed_actions_organization
ActionsSlashGetAllowedActionsRepositoryError
struct for typed errors of method actions_slash_get_allowed_actions_repository
ActionsSlashGetArtifactError
struct for typed errors of method actions_slash_get_artifact
ActionsSlashGetCustomOidcSubClaimForRepoError
struct for typed errors of method actions_slash_get_custom_oidc_sub_claim_for_repo
ActionsSlashGetEnvironmentPublicKeyError
struct for typed errors of method actions_slash_get_environment_public_key
ActionsSlashGetEnvironmentSecretError
struct for typed errors of method actions_slash_get_environment_secret
ActionsSlashGetEnvironmentVariableError
struct for typed errors of method actions_slash_get_environment_variable
ActionsSlashGetGithubActionsDefaultWorkflowPermissionsOrganizationError
struct for typed errors of method actions_slash_get_github_actions_default_workflow_permissions_organization
ActionsSlashGetGithubActionsDefaultWorkflowPermissionsRepositoryError
struct for typed errors of method actions_slash_get_github_actions_default_workflow_permissions_repository
ActionsSlashGetGithubActionsPermissionsOrganizationError
struct for typed errors of method actions_slash_get_github_actions_permissions_organization
ActionsSlashGetGithubActionsPermissionsRepositoryError
struct for typed errors of method actions_slash_get_github_actions_permissions_repository
ActionsSlashGetJobForWorkflowRunError
struct for typed errors of method actions_slash_get_job_for_workflow_run
ActionsSlashGetOrgPublicKeyError
struct for typed errors of method actions_slash_get_org_public_key
ActionsSlashGetOrgSecretError
struct for typed errors of method actions_slash_get_org_secret
ActionsSlashGetOrgVariableError
struct for typed errors of method actions_slash_get_org_variable
ActionsSlashGetPendingDeploymentsForRunError
struct for typed errors of method actions_slash_get_pending_deployments_for_run
ActionsSlashGetRepoPublicKeyError
struct for typed errors of method actions_slash_get_repo_public_key
ActionsSlashGetRepoSecretError
struct for typed errors of method actions_slash_get_repo_secret
ActionsSlashGetRepoVariableError
struct for typed errors of method actions_slash_get_repo_variable
ActionsSlashGetReviewsForRunError
struct for typed errors of method actions_slash_get_reviews_for_run
ActionsSlashGetSelfHostedRunnerForOrgError
struct for typed errors of method actions_slash_get_self_hosted_runner_for_org
ActionsSlashGetSelfHostedRunnerForRepoError
struct for typed errors of method actions_slash_get_self_hosted_runner_for_repo
ActionsSlashGetWorkflowAccessToRepositoryError
struct for typed errors of method actions_slash_get_workflow_access_to_repository
ActionsSlashGetWorkflowError
struct for typed errors of method actions_slash_get_workflow
ActionsSlashGetWorkflowRunAttemptError
struct for typed errors of method actions_slash_get_workflow_run_attempt
ActionsSlashGetWorkflowRunError
struct for typed errors of method actions_slash_get_workflow_run
ActionsSlashGetWorkflowRunUsageError
struct for typed errors of method actions_slash_get_workflow_run_usage
ActionsSlashGetWorkflowUsageError
struct for typed errors of method actions_slash_get_workflow_usage
ActionsSlashListArtifactsForRepoError
struct for typed errors of method actions_slash_list_artifacts_for_repo
ActionsSlashListEnvironmentSecretsError
struct for typed errors of method actions_slash_list_environment_secrets
ActionsSlashListEnvironmentVariablesError
struct for typed errors of method actions_slash_list_environment_variables
ActionsSlashListJobsForWorkflowRunAttemptError
struct for typed errors of method actions_slash_list_jobs_for_workflow_run_attempt
ActionsSlashListJobsForWorkflowRunError
struct for typed errors of method actions_slash_list_jobs_for_workflow_run
ActionsSlashListLabelsForSelfHostedRunnerForOrgError
struct for typed errors of method actions_slash_list_labels_for_self_hosted_runner_for_org
ActionsSlashListLabelsForSelfHostedRunnerForRepoError
struct for typed errors of method actions_slash_list_labels_for_self_hosted_runner_for_repo
ActionsSlashListOrgSecretsError
struct for typed errors of method actions_slash_list_org_secrets
ActionsSlashListOrgVariablesError
struct for typed errors of method actions_slash_list_org_variables
ActionsSlashListRepoOrganizationSecretsError
struct for typed errors of method actions_slash_list_repo_organization_secrets
ActionsSlashListRepoOrganizationVariablesError
struct for typed errors of method actions_slash_list_repo_organization_variables
ActionsSlashListRepoSecretsError
struct for typed errors of method actions_slash_list_repo_secrets
ActionsSlashListRepoVariablesError
struct for typed errors of method actions_slash_list_repo_variables
ActionsSlashListRepoWorkflowsError
struct for typed errors of method actions_slash_list_repo_workflows
ActionsSlashListRunnerApplicationsForOrgError
struct for typed errors of method actions_slash_list_runner_applications_for_org
ActionsSlashListRunnerApplicationsForRepoError
struct for typed errors of method actions_slash_list_runner_applications_for_repo
ActionsSlashListSelectedReposForOrgSecretError
struct for typed errors of method actions_slash_list_selected_repos_for_org_secret
ActionsSlashListSelectedReposForOrgVariableError
struct for typed errors of method actions_slash_list_selected_repos_for_org_variable
ActionsSlashListSelectedRepositoriesEnabledGithubActionsOrganizationError
struct for typed errors of method actions_slash_list_selected_repositories_enabled_github_actions_organization
ActionsSlashListSelfHostedRunnersForOrgError
struct for typed errors of method actions_slash_list_self_hosted_runners_for_org
ActionsSlashListSelfHostedRunnersForRepoError
struct for typed errors of method actions_slash_list_self_hosted_runners_for_repo
ActionsSlashListWorkflowRunArtifactsError
struct for typed errors of method actions_slash_list_workflow_run_artifacts
ActionsSlashListWorkflowRunsError
struct for typed errors of method actions_slash_list_workflow_runs
ActionsSlashListWorkflowRunsForRepoError
struct for typed errors of method actions_slash_list_workflow_runs_for_repo
ActionsSlashReRunJobForWorkflowRunError
struct for typed errors of method actions_slash_re_run_job_for_workflow_run
ActionsSlashReRunWorkflowError
struct for typed errors of method actions_slash_re_run_workflow
ActionsSlashReRunWorkflowFailedJobsError
struct for typed errors of method actions_slash_re_run_workflow_failed_jobs
ActionsSlashRemoveAllCustomLabelsFromSelfHostedRunnerForOrgError
struct for typed errors of method actions_slash_remove_all_custom_labels_from_self_hosted_runner_for_org
ActionsSlashRemoveAllCustomLabelsFromSelfHostedRunnerForRepoError
struct for typed errors of method actions_slash_remove_all_custom_labels_from_self_hosted_runner_for_repo
ActionsSlashRemoveCustomLabelFromSelfHostedRunnerForOrgError
struct for typed errors of method actions_slash_remove_custom_label_from_self_hosted_runner_for_org
ActionsSlashRemoveCustomLabelFromSelfHostedRunnerForRepoError
struct for typed errors of method actions_slash_remove_custom_label_from_self_hosted_runner_for_repo
ActionsSlashRemoveSelectedRepoFromOrgSecretError
struct for typed errors of method actions_slash_remove_selected_repo_from_org_secret
ActionsSlashRemoveSelectedRepoFromOrgVariableError
struct for typed errors of method actions_slash_remove_selected_repo_from_org_variable
ActionsSlashReviewCustomGatesForRunError
struct for typed errors of method actions_slash_review_custom_gates_for_run
ActionsSlashReviewPendingDeploymentsForRunError
struct for typed errors of method actions_slash_review_pending_deployments_for_run
ActionsSlashSetAllowedActionsOrganizationError
struct for typed errors of method actions_slash_set_allowed_actions_organization
ActionsSlashSetAllowedActionsRepositoryError
struct for typed errors of method actions_slash_set_allowed_actions_repository
ActionsSlashSetCustomLabelsForSelfHostedRunnerForOrgError
struct for typed errors of method actions_slash_set_custom_labels_for_self_hosted_runner_for_org
ActionsSlashSetCustomLabelsForSelfHostedRunnerForRepoError
struct for typed errors of method actions_slash_set_custom_labels_for_self_hosted_runner_for_repo
ActionsSlashSetCustomOidcSubClaimForRepoError
struct for typed errors of method actions_slash_set_custom_oidc_sub_claim_for_repo
ActionsSlashSetGithubActionsDefaultWorkflowPermissionsOrganizationError
struct for typed errors of method actions_slash_set_github_actions_default_workflow_permissions_organization
ActionsSlashSetGithubActionsDefaultWorkflowPermissionsRepositoryError
struct for typed errors of method actions_slash_set_github_actions_default_workflow_permissions_repository
ActionsSlashSetGithubActionsPermissionsOrganizationError
struct for typed errors of method actions_slash_set_github_actions_permissions_organization
ActionsSlashSetGithubActionsPermissionsRepositoryError
struct for typed errors of method actions_slash_set_github_actions_permissions_repository
ActionsSlashSetSelectedReposForOrgSecretError
struct for typed errors of method actions_slash_set_selected_repos_for_org_secret
ActionsSlashSetSelectedReposForOrgVariableError
struct for typed errors of method actions_slash_set_selected_repos_for_org_variable
ActionsSlashSetSelectedRepositoriesEnabledGithubActionsOrganizationError
struct for typed errors of method actions_slash_set_selected_repositories_enabled_github_actions_organization
ActionsSlashSetWorkflowAccessToRepositoryError
struct for typed errors of method actions_slash_set_workflow_access_to_repository
ActionsSlashUpdateEnvironmentVariableError
struct for typed errors of method actions_slash_update_environment_variable
ActionsSlashUpdateOrgVariableError
struct for typed errors of method actions_slash_update_org_variable
ActionsSlashUpdateRepoVariableError
struct for typed errors of method actions_slash_update_repo_variable

Functionsยง

actions_slash_add_custom_labels_to_self_hosted_runner_for_org
Adds custom labels to a self-hosted runner configured in an organization. Authenticated users must have admin access to the organization to use this endpoint. OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
actions_slash_add_custom_labels_to_self_hosted_runner_for_repo
Adds custom labels to a self-hosted runner configured in a repository. Authenticated users must have admin access to the organization to use this endpoint. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_add_selected_repo_to_org_secret
Adds a repository to an organization secret when the visibility for repository access is set to selected. For more information about setting the visibility, see Create or update an organization secret. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_add_selected_repo_to_org_variable
Adds a repository to an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their visibility field set to selected. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_approve_workflow_run
Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see "Approving workflow runs from public forks." OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_cancel_workflow_run
Cancels a workflow run using its id. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_create_environment_variable
Create an environment variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_create_or_update_environment_secret
Creates or updates an environment secret with an encrypted value. Encrypt your secret using LibSodium. For more information, see "Encrypting secrets for the REST API." Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_create_or_update_org_secret
Creates or updates an organization secret with an encrypted value. Encrypt your secret using LibSodium. You must authenticate using an access token with the admin:org scope to use this endpoint. GitHub Apps must have the secrets organization permission to use this endpoint. #### Example encrypting a secret using Node.js Encrypt your secret using the tweetsodium library. const sodium = require('tweetsodium'); const key = \"base64-encoded-public-key\"; const value = \"plain-text-secret\"; // Convert the message and key to Uint8Array's (Buffer implements that interface) const messageBytes = Buffer.from(value); const keyBytes = Buffer.from(key, 'base64'); // Encrypt using LibSodium. const encryptedBytes = sodium.seal(messageBytes, keyBytes); // Base64 the encrypted secret const encrypted = Buffer.from(encryptedBytes).toString('base64'); console.log(encrypted); #### Example encrypting a secret using Python Encrypt your secret using pynacl with Python 3. from base64 import b64encode from nacl import encoding, public def encrypt(public_key: str, secret_value: str) -> str: \"\"\"Encrypt a Unicode string using the public key.\"\"\" public_key = public.PublicKey(public_key.encode(\"utf-8\"), encoding.Base64Encoder()) sealed_box = public.SealedBox(public_key) encrypted = sealed_box.encrypt(secret_value.encode(\"utf-8\")) return b64encode(encrypted).decode(\"utf-8\") #### Example encrypting a secret using C# Encrypt your secret using the Sodium.Core package. var secretValue = System.Text.Encoding.UTF8.GetBytes(\"mySecret\"); var publicKey = Convert.FromBase64String(\"2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvvcCU=\"); var sealedPublicKeyBox = Sodium.SealedPublicKeyBox.Create(secretValue, publicKey); Console.WriteLine(Convert.ToBase64String(sealedPublicKeyBox)); #### Example encrypting a secret using Ruby Encrypt your secret using the rbnacl gem. ruby require \"rbnacl\" require \"base64\" key = Base64.decode64(\"+ZYvJDZMHUfBkJdyq5Zm9SKqeuBQ4sj+6sfjlH4CgG0=\") public_key = RbNaCl::PublicKey.new(key) box = RbNaCl::Boxes::Sealed.from_public_key(public_key) encrypted_secret = box.encrypt(\"my_secret\") # Print the base64 encoded secret puts Base64.strict_encode64(encrypted_secret)
actions_slash_create_or_update_repo_secret
Creates or updates a repository secret with an encrypted value. Encrypt your secret using LibSodium. For more information, see "Encrypting secrets for the REST API." Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_create_org_variable
Creates an organization variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_create_registration_token_for_org
Returns a token that you can pass to the config script. The token expires after one hour. For example, you can replace TOKEN in the following example with the registration token provided by this endpoint to configure your self-hosted runner: ./config.sh --url https://github.com/octo-org --token TOKEN Authenticated users must have admin access to the organization to use this endpoint. OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_create_registration_token_for_repo
Returns a token that you can pass to the config script. The token expires after one hour. For example, you can replace TOKEN in the following example with the registration token provided by this endpoint to configure your self-hosted runner: ./config.sh --url https://github.com/octo-org --token TOKEN Authenticated users must have admin access to the repository to use this endpoint. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_create_remove_token_for_org
Returns a token that you can pass to the config script to remove a self-hosted runner from an organization. The token expires after one hour. For example, you can replace TOKEN in the following example with the registration token provided by this endpoint to remove your self-hosted runner from an organization: ./config.sh remove --token TOKEN Authenticated users must have admin access to the organization to use this endpoint. OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_create_remove_token_for_repo
Returns a token that you can pass to the config script to remove a self-hosted runner from an repository. The token expires after one hour. For example, you can replace TOKEN in the following example with the registration token provided by this endpoint to remove your self-hosted runner from an organization: ./config.sh remove --token TOKEN Authenticated users must have admin access to the repository to use this endpoint. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_create_repo_variable
Creates a repository variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_create_workflow_dispatch
You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You must configure your GitHub Actions workflow to run when the workflow_dispatch webhook event occurs. The inputs are configured in the workflow file. For more information about how to configure the workflow_dispatch event in the workflow file, see "Events that trigger workflows." OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_actions_cache_by_id
Deletes a GitHub Actions cache for a repository, using a cache ID. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_actions_cache_by_key
Deletes one or more GitHub Actions caches for a repository, using a complete cache key. By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_artifact
Deletes an artifact for a workflow run. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_environment_secret
Deletes a secret in an environment using the secret name. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_environment_variable
Deletes an environment variable using the variable name. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_org_secret
Deletes a secret in an organization using the secret name. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_org_variable
Deletes an organization variable using the variable name. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_repo_secret
Deletes a secret in a repository using the secret name. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_repo_variable
Deletes a repository variable using the variable name. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_self_hosted_runner_from_org
Forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. Authenticated users must have admin access to the organization to use this endpoint. OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_self_hosted_runner_from_repo
Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists. Authenticated users must have admin access to the repository to use this endpoint. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_workflow_run
Deletes a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_delete_workflow_run_logs
Deletes all logs for a workflow run. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_disable_selected_repository_github_actions_organization
Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization." OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
actions_slash_disable_workflow
Disables a workflow and sets the state of the workflow to disabled_manually. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_download_artifact
Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for Location: in the response header to find the URL for the download. The :archive_format must be zip. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_download_job_logs_for_workflow_run
Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look for Location: in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_download_workflow_run_attempt_logs
Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after 1 minute. Look for Location: in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_download_workflow_run_logs
Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for Location: in the response header to find the URL for the download. Anyone with read access to the repository can use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_enable_selected_repository_github_actions_organization
Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization." OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
actions_slash_enable_workflow
Enables a workflow and sets the state of the workflow to active. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_force_cancel_workflow_run
Cancels a workflow run and bypasses conditions that would otherwise cause a workflow execution to continue, such as an always() condition on a job. You should only use this endpoint to cancel a workflow run when the workflow run is not responding to POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_generate_runner_jitconfig_for_org
Generates a configuration that can be passed to the runner application at startup. The authenticated user must have admin access to the organization. OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_generate_runner_jitconfig_for_repo
Generates a configuration that can be passed to the runner application at startup. The authenticated user must have admin access to the repository. OAuth tokens and personal access tokens (classic) need therepo scope to use this endpoint.
actions_slash_get_actions_cache_list
Lists the GitHub Actions caches for a repository. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_actions_cache_usage
Gets GitHub Actions cache usage for a repository. The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated. Anyone with read access to the repository can use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_actions_cache_usage_by_repo_for_org
Lists repositories and their GitHub Actions cache usage for an organization. The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated. OAuth tokens and personal access tokens (classic) need the read:org scope to use this endpoint.
actions_slash_get_actions_cache_usage_for_org
Gets the total GitHub Actions cache usage for an organization. The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated. OAuth tokens and personal access tokens (classic) need the read:org scope to use this endpoint.
actions_slash_get_allowed_actions_organization
Gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization." OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
actions_slash_get_allowed_actions_repository
Gets the settings for selected actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository policy for allowed_actions must be configured to selected. For more information, see "Set GitHub Actions permissions for a repository." OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_artifact
Gets a specific artifact for a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_custom_oidc_sub_claim_for_repo
Gets the customization template for an OpenID Connect (OIDC) subject claim. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_environment_public_key
Get the public key for an environment, which you need to encrypt environment secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_environment_secret
Gets a single environment secret without revealing its encrypted value. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_environment_variable
Gets a specific variable in an environment. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_github_actions_default_workflow_permissions_organization
Gets the default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization, as well as whether GitHub Actions can submit approving pull request reviews. For more information, see "Setting the permissions of the GITHUB_TOKEN for your organization." OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
actions_slash_get_github_actions_default_workflow_permissions_repository
Gets the default workflow permissions granted to the GITHUB_TOKEN when running workflows in a repository, as well as if GitHub Actions can submit approving pull request reviews. For more information, see "Setting the permissions of the GITHUB_TOKEN for your repository." OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_github_actions_permissions_organization
Gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization. OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
actions_slash_get_github_actions_permissions_repository
Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions and reusable workflows allowed to run in the repository. OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_job_for_workflow_run
Gets a specific job in a workflow run. Anyone with read access to the repository can use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_org_public_key
Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. The authenticated user must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_org_secret
Gets a single organization secret without revealing its encrypted value. The authenticated user must have collaborator access to a repository to create, update, or read secrets OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_org_variable
Gets a specific variable in an organization. The authenticated user must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_pending_deployments_for_run
Get all deployment environments for a workflow run that are waiting for protection rules to pass. Anyone with read access to the repository can use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_repo_public_key
Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_repo_secret
Gets a single repository secret without revealing its encrypted value. The authenticated user must have collaborator access to the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_repo_variable
Gets a specific variable in a repository. The authenticated user must have collaborator access to the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_reviews_for_run
Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_get_self_hosted_runner_for_org
Gets a specific self-hosted runner configured in an organization. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_get_self_hosted_runner_for_repo
Gets a specific self-hosted runner configured in a repository. Authenticated users must have admin access to the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_workflow
Gets a specific workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_get_workflow_access_to_repository
Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository. This endpoint only applies to private repositories. For more information, see "Allowing access to components in a private repository." OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_get_workflow_run
Gets a specific workflow run. Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_get_workflow_run_attempt
Gets a specific workflow run attempt. Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_get_workflow_run_usage
Gets the number of billable minutes and total run time for a specific workflow run. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "Managing billing for GitHub Actions". Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_get_workflow_usage
Gets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "Managing billing for GitHub Actions". You can replace workflow_id with the workflow file name. For example, you could use main.yaml. Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_list_artifacts_for_repo
Lists all artifacts for a repository. Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_list_environment_secrets
Lists all secrets available in an environment without revealing their encrypted values. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_list_environment_variables
Lists all environment variables. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_list_jobs_for_workflow_run
Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters. Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_list_jobs_for_workflow_run_attempt
Lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters. Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_list_labels_for_self_hosted_runner_for_org
Lists all labels for a self-hosted runner configured in an organization. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_list_labels_for_self_hosted_runner_for_repo
Lists all labels for a self-hosted runner configured in a repository. Authenticated users must have admin access to the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_list_org_secrets
Lists all secrets available in an organization without revealing their encrypted values. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_list_org_variables
Lists all organization variables. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_list_repo_organization_secrets
Lists all organization secrets shared with a repository without revealing their encrypted values. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_list_repo_organization_variables
Lists all organization variables shared with a repository. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_list_repo_secrets
Lists all secrets available in a repository without revealing their encrypted values. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_list_repo_variables
Lists all repository variables. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_list_repo_workflows
Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_list_runner_applications_for_org
Lists binaries for the runner application that you can download and run. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_list_runner_applications_for_repo
Lists binaries for the runner application that you can download and run. Authenticated users must have admin access to the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_list_selected_repos_for_org_secret
Lists all repositories that have been selected when the visibility for repository access to a secret is set to selected. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_list_selected_repos_for_org_variable
Lists all repositories that can access an organization variable that is available to selected repositories. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_list_selected_repositories_enabled_github_actions_organization
Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization." OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
actions_slash_list_self_hosted_runners_for_org
Lists all self-hosted runners configured in an organization. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_list_self_hosted_runners_for_repo
Lists all self-hosted runners configured in a repository. Authenticated users must have admin access to the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_list_workflow_run_artifacts
Lists artifacts for a workflow run. Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_list_workflow_runs
List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters. Anyone with read access to the repository can use this endpoint OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_list_workflow_runs_for_repo
Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters. Anyone with read access to the repository can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository. This API will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.
actions_slash_re_run_job_for_workflow_run
Re-run a job and its dependent jobs in a workflow run. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_re_run_workflow
Re-runs your workflow run using its id. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_re_run_workflow_failed_jobs
Re-run all of the failed jobs and their dependent jobs in a workflow run using the id of the workflow run. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_remove_all_custom_labels_from_self_hosted_runner_for_org
Remove all custom labels from a self-hosted runner configured in an organization. Returns the remaining read-only labels from the runner. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_remove_all_custom_labels_from_self_hosted_runner_for_repo
Remove all custom labels from a self-hosted runner configured in a repository. Returns the remaining read-only labels from the runner. Authenticated users must have admin access to the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_remove_custom_label_from_self_hosted_runner_for_org
Remove a custom label from a self-hosted runner configured in an organization. Returns the remaining labels from the runner. This endpoint returns a 404 Not Found status if the custom label is not present on the runner. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_remove_custom_label_from_self_hosted_runner_for_repo
Remove a custom label from a self-hosted runner configured in a repository. Returns the remaining labels from the runner. This endpoint returns a 404 Not Found status if the custom label is not present on the runner. Authenticated users must have admin access to the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_remove_selected_repo_from_org_secret
Removes a repository from an organization secret when the visibility for repository access is set to selected. The visibility is set when you Create or update an organization secret. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_remove_selected_repo_from_org_variable
Removes a repository from an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their visibility field set to selected. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_review_custom_gates_for_run
Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "Using environments for deployment." Note: GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
actions_slash_review_pending_deployments_for_run
Approve or reject pending deployments that are waiting on approval by a required reviewer. Required reviewers with read access to the repository contents and deployments can use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_set_allowed_actions_organization
Sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization." OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
actions_slash_set_allowed_actions_repository
Sets the actions and reusable workflows that are allowed in a repository. To use this endpoint, the repository permission policy for allowed_actions must be configured to selected. For more information, see "Set GitHub Actions permissions for a repository." OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_set_custom_labels_for_self_hosted_runner_for_org
Remove all previous custom labels and set the new custom labels for a specific self-hosted runner configured in an organization. Authenticated users must have admin access to the organization to use this endpoint. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_set_custom_labels_for_self_hosted_runner_for_repo
Remove all previous custom labels and set the new custom labels for a specific self-hosted runner configured in a repository. Authenticated users must have admin access to the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_set_custom_oidc_sub_claim_for_repo
Sets the customization template and opt-in or opt-out flag for an OpenID Connect (OIDC) subject claim for a repository. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_set_github_actions_default_workflow_permissions_organization
Sets the default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization, and sets if GitHub Actions can submit approving pull request reviews. For more information, see "Setting the permissions of the GITHUB_TOKEN for your organization." OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
actions_slash_set_github_actions_default_workflow_permissions_repository
Sets the default workflow permissions granted to the GITHUB_TOKEN when running workflows in a repository, and sets if GitHub Actions can submit approving pull request reviews. For more information, see "Setting the permissions of the GITHUB_TOKEN for your repository." OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_set_github_actions_permissions_organization
Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
actions_slash_set_github_actions_permissions_repository
Sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions and reusable workflows in the repository. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_set_selected_repos_for_org_secret
Replaces all repositories for an organization secret when the visibility for repository access is set to selected. The visibility is set when you Create or update an organization secret. Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_set_selected_repos_for_org_variable
Replaces all repositories for an organization variable that is available to selected repositories. Organization variables that are available to selected repositories have their visibility field set to selected. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_set_selected_repositories_enabled_github_actions_organization
Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see "Set GitHub Actions permissions for an organization." OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
actions_slash_set_workflow_access_to_repository
Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository. This endpoint only applies to private repositories. For more information, see "Allowing access to components in a private repository". OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_update_environment_variable
Updates an environment variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
actions_slash_update_org_variable
Updates an organization variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.
actions_slash_update_repo_variable
Updates a repository variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.