Volver al catálogo

GitHub

github

GitHub is a code hosting platform for version control and collaboration, offering Git-based repository management, issue tracking, and continuous integration features

Acciones
823
Triggers
46
Autenticación
—
OAuth gestionado
Sí
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (823)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Accept a repository invitationGITHUB_ACCEPT_A_REPOSITORY_INVITATIONAcción

Accepts a pending repository invitation that has been issued to the authenticated user.

Parámetros de entrada

  • invitation_idintegerObligatorio

    Unique identifier of the repository invitation. Obtain by listing pending invitations for the authenticated user.

Parámetros de salida

  • dataobjectObligatorio

    GitHub API response. Usually empty for a successful acceptance (HTTP 204 No Content status).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repositories starred by the authenticated userGITHUB_ACTIVITY_LIST_REPO_S_STARRED_BY_AUTHENTICATED_USERAcción

Deprecated: lists repositories starred by the authenticated user, including star creation timestamps; use 'list repositories starred by the authenticated user' instead.

Parámetros de entrada

  • pageinteger

    Page number of results (starts from 1).

  • sortstringenum

    Sorts starred repositories by 'created' (date starred) or 'updated' (date last pushed).

    createdupdated
  • per_pageinteger

    Number of results per page (max 100).

  • directionstringenum

    Sort direction: 'asc' (ascending) or 'desc' (descending).

    ascdesc

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List stargazersGITHUB_ACTIVITY_LIST_STARGAZERS_FOR_REPOAcción

Deprecated: lists users who have starred a repository; use `list stargazers` instead.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • repostringObligatorio

    Name of the repository, without the `.git` extension; case-insensitive.

  • ownerstringObligatorio

    Username of the account owner (user or organization) of the repository; case-insensitive.

  • per_pageinteger

    Number of results to display per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Star a repository for the authenticated userGITHUB_ACTIVITY_STAR_REPO_FOR_AUTHENTICATED_USERAcción

Deprecated: stars a repository for the authenticated user; use `star a repository for the authenticated user` instead.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response data. Upon a successful star operation (HTTP 204 No Content), this field will typically be an empty dictionary or not populated.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add email for auth userGITHUB_ADD_AN_EMAIL_ADDRESS_FOR_THE_AUTHENTICATED_USERAcción

Adds 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.

Parámetros de entrada

  • emailsstring[]Obligatorio

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add app access restrictionsGITHUB_ADD_APP_ACCESS_RESTRICTIONSAcción

Replaces github app access restrictions for an existing protected branch; requires a json array of app slugs in the request body, where apps must be installed and have 'contents' write permissions.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • branchstringObligatorio

    The name of the branch to which restrictions will be applied. Wildcard characters (e.g., '*') are not allowed in the branch name when using this REST API endpoint. For operations involving wildcard branch names, consult the GitHub GraphQL API.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add a repository collaboratorGITHUB_ADD_A_REPOSITORY_COLLABORATORAcción

Adds 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • usernamestringObligatorio

    The GitHub handle for the user account to add as a collaborator.

  • permissionstring

    Permission level for the collaborator. For organization-owned repositories, valid values are `pull` (read-only), `triage` (manage issues/PRs), `push` (read/write), `maintain` (manage most settings), `admin` (full control), or a custom repository role name if defined by the owning organization. This parameter is ignored for personal repositories, which grant `push` access.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add a repository to an app installationGITHUB_ADD_A_REPOSITORY_TO_AN_APP_INSTALLATIONAcción

Adds 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.

Parámetros de entrada

  • repository_idintegerObligatorio

    The unique identifier of the repository to add to the installation. The authenticated user must have admin permissions for this repository.

  • installation_idintegerObligatorio

    The unique identifier of the GitHub App installation to which the repository will be added. This installation must be accessible to the authenticated user.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add a selected repository to a user secretGITHUB_ADD_A_SELECTED_REPOSITORY_TO_A_USER_SECRETAcción

Grants a specified repository access to an authenticated user's existing codespaces secret, enabling codespaces created for that repository to use the secret.

Parámetros de entrada

  • secret_namestringObligatorio

    Name of the user-level Codespaces secret to which repository access is added; this secret must already exist for the authenticated user.

  • repository_idintegerObligatorio

    The unique identifier of the repository to be granted access to the specified user-level Codespaces secret.

Parámetros de salida

  • dataobjectObligatorio

    The response data from the API. On successful execution (HTTP 204 No Content), this field is typically empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add assignees to an issueGITHUB_ADD_ASSIGNEES_TO_AN_ISSUEAcción

Adds or removes assignees for a github issue; changes are silently ignored if the authenticated user lacks push access to the repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case sensitive.

  • ownerstringObligatorio

    The username of the account or the organization name that owns the repository. This field is not case sensitive.

  • assigneesstring[]

    A list of GitHub usernames to assign to the issue. Up to 10 assignees can be specified. Pass an empty list `[]` to remove all current assignees. _NOTE: The authenticated user must have push access to the repository to modify assignees. If the user lacks this permission, changes to assignees will be silently ignored._

  • issue_numberintegerObligatorio

    The unique number identifying the issue within the repository.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response data, typically representing the full issue object with its updated list of assignees.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add labels to an issueGITHUB_ADD_LABELS_TO_AN_ISSUEAcción

Adds labels (provided in the request body) to a repository issue; labels that do not already exist are created.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username or organization name owning the repository (case-insensitive).

  • issue_numberintegerObligatorio

    Number that uniquely identifies the issue within the repository.

Parámetros de salida

  • dataobjectObligatorio

    The API response data, which includes all labels currently applied to the issue.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add org runner labelsGITHUB_ADD_ORG_RUNNER_LABELSAcción

Adds new custom labels to an existing self-hosted runner for an organization; existing labels are not removed, and duplicates are not added.

Parámetros de entrada

  • orgstringObligatorio

    The organization's name (case-insensitive).

  • labelsstring[]Obligatorio

    A list of custom label names to add to the self-hosted runner. Previously applied labels are not removed.

  • runner_idintegerObligatorio

    Unique identifier of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the updated list of labels for the runner. This typically includes a 'total_count' of labels and a 'labels' array, where each element is an object detailing a label (e.g., its ID, name, and type).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add or update team membership for a userGITHUB_ADD_OR_UPDATE_TEAM_MEMBERSHIP_FOR_A_USERAcción

Adds 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.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • rolestringenum

    The role to assign to the user within the team. A 'maintainer' has broader permissions than a 'member', such as managing team members and settings.

    membermaintainer
  • usernamestringObligatorio

    The GitHub username of the user to add or whose membership to update.

  • team_slugstringObligatorio

    The slug (URL-friendly version) of the team's name.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the team membership details for the user, including their role and current membership state (e.g., 'active', 'pending').

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add or update team project permissionsGITHUB_ADD_OR_UPDATE_TEAM_PROJECT_PERMISSIONSAcción

Grants or updates a team's permissions ('read', 'write', or 'admin') for a specific project, which must exist within the specified organization and be linked to it.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization (case-insensitive).

  • team_slugstringObligatorio

    URL-friendly identifier (slug) for the team.

  • permissionstringenum

    Permission level to grant ('read', 'write', or 'admin'). Uses the team's default permission if not provided.

    readwriteadmin
  • project_idintegerObligatorio

    Unique identifier of the project.

Parámetros de salida

  • dataobject

    Response data. A successful update (HTTP 204 No Content) typically results in an empty body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add or update team repository permissionsGITHUB_ADD_OR_UPDATE_TEAM_REPOSITORY_PERMISSIONSAcción

Sets or updates a team's permission level for a repository within an organization; the team must be a member of the organization.

Parámetros de entrada

  • orgstringObligatorio

    Organization's name (case-insensitive).

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • team_slugstringObligatorio

    The team's slug (URL-friendly name).

  • permissionstring

    Permission to grant the team. Options: 'pull' (read-only), 'triage' (manage issues/PRs), 'push' (read/write), 'maintain' (manage repo settings, plus push), 'admin' (full control), or a custom repository role name.

Parámetros de salida

  • dataobject

    API response data. Usually an empty dictionary for successful updates (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add project collaboratorGITHUB_ADD_PROJECT_COLLABORATORAcción

Adds a specified github user as a collaborator to an existing organization project with a given permission level.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username of the user to be added as a collaborator.

  • permissionstringenum

    Permission level for the collaborator on the project.

    readwriteadmin
  • project_idintegerObligatorio

    The unique identifier of the organization project.

Parámetros de salida

  • dataobjectObligatorio

    API response data; typically empty on success (204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add repo to org secret with selected accessGITHUB_ADD_REPO_TO_ORG_SECRET_WITH_SELECTED_ACCESSAcción

Adds a repository to an existing organization-level github actions secret that is configured for 'selected' repository access.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • secret_namestringObligatorio

    The name of the organization secret to which the repository will be added.

  • repository_idintegerObligatorio

    The unique identifier of the repository to be granted access to the organization secret.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API. For a successful operation (which typically returns a 204 No Content status), this field will likely be empty. In case of an error, it may contain error details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add selected repo to org secretGITHUB_ADD_REPO_TO_ORG_SECRET_WITH_SELECTED_VISIBILITYAcción

Grants an existing repository access to an existing organization-level dependabot secret; the repository must belong to the organization, and the call succeeds without change if access already exists.

Parámetros de entrada

  • orgstringObligatorio

    The organization's unique identifier (case-insensitive).

  • secret_namestringObligatorio

    Name of the Dependabot secret; must be alphanumeric or underscore, no spaces (lowercase auto-converts to uppercase).

  • repository_idintegerObligatorio

    Unique ID of the repository to be granted access to the secret.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add runner labelsGITHUB_ADD_RUNNER_LABELSAcción

Adds and appends custom labels to a self-hosted repository runner, which must be registered and active.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension. Case-insensitive.

  • ownerstringObligatorio

    Username or organization name of the repository owner. Case-insensitive.

  • labelsstring[]Obligatorio

    Custom label names to add. Appended to existing labels. Names are case-insensitive. Empty list means no changes.

  • runner_idintegerObligatorio

    Unique ID of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio

    Details of all custom labels on the runner after addition, typically including `total_count` and a list of label objects (each with `id`, `name`, `type`).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add selected repository to an organization secretGITHUB_ADD_SELECTED_REPOSITORY_TO_AN_ORGANIZATION_SECRETAcción

Adds a repository to an organization secret's access list when the secret's visibility is 'selected'; this operation is idempotent.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case sensitive.

  • secret_namestringObligatorio

    The name of the secret. Secret names can only contain alphanumeric characters ([A-Z], [a-z], [0-9]) or underscores (_). Spaces are not allowed. Secret names cannot start with GITHUB_ and must be less than 255 characters.

  • repository_idintegerObligatorio

    The unique identifier of the repository to add to the secret's access list.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary, as this operation does not return a response body on success (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add selected repository to an organization variableGITHUB_ADD_SELECTED_REPOSITORY_TO_AN_ORGANIZATION_VARIABLEAcción

Grants a repository access to an organization-level github actions variable, if that variable's visibility is set to 'selected repositories'.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive).

  • namestringObligatorio

    Name of the existing organization-level GitHub Actions variable.

  • repository_idintegerObligatorio

    Unique identifier of the repository to grant access.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add social accounts for the authenticated userGITHUB_ADD_SOCIAL_ACCOUNTS_FOR_THE_AUTHENTICATED_USERAcción

Adds 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.

Parámetros de entrada

  • account_urlsstring[]Obligatorio

    Full URLs for social media profiles to add to the user's GitHub profile; these will be displayed publicly.

Parámetros de salida

  • dataobjectObligatorio

    Details of social media accounts successfully added to the authenticated user's profile, typically including platform and URL for each.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add status check contextsGITHUB_ADD_STATUS_CHECK_CONTEXTSAcción

Adds status check contexts (provided in the request body, e.g., `{"contexts": ["new-context"]}`) to a protected branch, requiring these contexts to have been previously reported.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • branchstringObligatorio

    The name of the branch to which status check contexts will be added. Branch names cannot contain wildcard characters. To use wildcard characters in branch names, refer to [the GraphQL API](https://docs.github.com/graphql).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add team access restrictionsGITHUB_ADD_TEAM_ACCESS_RESTRICTIONSAcción

Overwrites the list of teams (and their child teams) granted push access to a protected branch; the list of team slugs must be provided in the http post request body.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This value is not case-sensitive.

  • ownerstringObligatorio

    The GitHub username or organization name that owns the repository. This value is not case-sensitive.

  • branchstringObligatorio

    The name of the branch to apply restrictions to. Wildcard characters are not supported for this field. To use wildcard characters in branch names, please consult the GitHub GraphQL API (see https://docs.github.com/graphql).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add user access restrictionsGITHUB_ADD_USER_ACCESS_RESTRICTIONSAcción

Sets/replaces list of users allowed to push to a protected branch; usernames (e.g., `["user1"]`) must be a json array in request body (not schema parameters), an empty array `[]` removes all restrictions.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • branchstringObligatorio

    The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, refer to the GitHub GraphQL API documentation.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add users to codespaces access for an organizationGITHUB_ADD_USERS_TO_CODESPACES_ACCESS_FOR_AN_ORGANIZATIONAcción

Sets or replaces the list of organization members granted codespaces access billed to the organization; ensure the organization's billing settings allow access for selected members.

Parámetros de entrada

  • orgstringObligatorio

    Organization's name (case-insensitive).

  • selected_usernamesstring[]Obligatorio

    Usernames of organization members to be granted Codespaces access billed to the organization. These users must be members of the specified organization.

Parámetros de salida

  • dataobjectObligatorio

    API response. May be empty or absent on success (e.g., HTTP 204), or contain error details on failure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Approve a workflow run for a fork pull requestGITHUB_APPROVE_A_WORKFLOW_RUN_FOR_A_FORK_PULL_REQUESTAcción

Approves a workflow run from a forked repository's pull request; call this when such a run requires manual approval due to workflow configuration.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • run_idintegerObligatorio

    The unique identifier of the workflow run requiring approval.

Parámetros de salida

  • dataobjectObligatorio

    An empty object indicating success.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Assign an organization role to a teamGITHUB_ASSIGN_AN_ORGANIZATION_ROLE_TO_A_TEAMAcción

Assigns 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.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is case-insensitive.

  • role_idintegerObligatorio

    Unique identifier of the organization role to assign to the team (obtainable by listing organization roles).

  • team_slugstringObligatorio

    The slug (URL-friendly version) of the team's name.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary if the role was assigned successfully. GitHub API returns a 204 No Content status on success.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Assign an organization role to a userGITHUB_ASSIGN_AN_ORGANIZATION_ROLE_TO_A_USERAcción

Assigns a specific organization role to a user who is a member or an outside collaborator in a github organization, using a valid role id.

Parámetros de entrada

  • orgstringObligatorio

    The organization's name. This is not case-sensitive.

  • role_idintegerObligatorio

    The unique integer identifier for the organization role. This ID can be obtained by listing the organization's roles.

  • usernamestringObligatorio

    The GitHub username of the user to whom the role will be assigned.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that is typically empty upon successful role assignment, as the GitHub API returns a 204 No Content status for this operation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

AuthuserdockerconflictpackageslistGITHUB_AUTH_USER_DOCKER_CONFLICT_PACKAGES_LISTAcción

Lists docker packages for the authenticated user that encountered conflicts during the docker migration process.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    List of the authenticated user's Docker packages that experienced conflicts during migration, including details for each.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Block a userGITHUB_BLOCK_A_USERAcción

Blocks an existing individual github user (not an organization or your own account), preventing them from interacting with your account and repositories.

Parámetros de entrada

  • usernamestringObligatorio

    Case-sensitive GitHub username of the user to block.

Parámetros de salida

  • dataobject

    Response data from the GitHub API; typically empty on success (HTTP 204 No Content), but populated for other response codes.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Block a user from an organizationGITHUB_BLOCK_A_USER_FROM_AN_ORGANIZATIONAcción

Blocks an existing github user from an existing organization, preventing their contributions, collaboration, and forking of the organization's repositories.

Parámetros de entrada

  • orgstringObligatorio

    The case-insensitive name of the GitHub organization.

  • usernamestringObligatorio

    The GitHub username (handle) of the account to block.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response data from the API. For a successful block operation (HTTP 204 No Content), this dictionary is typically empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Cancel a GitHub Pages deploymentGITHUB_CANCEL_A_GITHUB_PAGES_DEPLOYMENTAcción

Cancels an existing, ongoing or queued github pages deployment for a repository using its `pages deployment id`.

Parámetros de entrada

  • repostringObligatorio

    Repository name, excluding the `.git` extension. Not case-sensitive.

  • ownerstringObligatorio

    Username or organization that owns the repository. Not case-sensitive.

  • pages_deployment_idintegerObligatorio

    Unique numerical ID of the GitHub Pages deployment (not the commit SHA).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Cancel a workflow runGITHUB_CANCEL_A_WORKFLOW_RUNAcción

Cancels a workflow run in a github repository if it is in a cancellable state (e.g., 'in progress' or 'queued').

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    The account owner of the repository (not case-sensitive).

  • run_idintegerObligatorio

    Unique identifier of the workflow run.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check a tokenGITHUB_CHECK_A_TOKENAcción

Checks 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.

Parámetros de entrada

  • client_idstringObligatorio

    The unique client ID of the GitHub App for which the token was issued.

  • access_tokenstringObligatorio

    The OAuth or GitHub App access token that needs to be checked for validity.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing details of the validated token if it is valid. Key information includes `id`, `url`, `app` (details of the GitHub App), `token` (the token string), `user` (if a user token), `scopes`, `permissions`, `created_at`, `updated_at`, and `expires_at` (if applicable).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check if a gist is starredGITHUB_CHECK_IF_A_GIST_IS_STARREDAcción

Checks if a gist, identified by `gist id`, is starred by the authenticated user, returning an empty response (204) if starred, or a 404 error if not starred or not found.

Parámetros de entrada

  • gist_idstringObligatorio

    The ID of the Gist to check.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check if person is followed by authenticated userGITHUB_CHECK_IF_A_PERSON_IS_FOLLOWED_BY_THE_AUTHENTICATED_USERAcción

Checks if the authenticated github user follows a target github user; an http 204 status indicates the user is followed, while an http 404 status indicates the user is not followed or the target user does not exist.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username (e.g., 'octocat') of the person to check. This is the user's handle on GitHub.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check if pull request mergedGITHUB_CHECK_IF_A_PULL_REQUEST_HAS_BEEN_MERGEDAcción

Checks if a specified github pull request has been merged, indicated by a 204 http status (merged) or 404 (not merged/found).

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case sensitive).

  • ownerstringObligatorio

    The account owner of the repository (not case sensitive).

  • pull_numberintegerObligatorio

    The number that identifies the pull request.

Parámetros de salida

  • dataobjectObligatorio

    API response data. Merge status is indicated by HTTP status: 204 (merged, empty body) or 404 (not merged/found, body may contain error details).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check if repo starred by auth userGITHUB_CHECK_IF_A_REPOSITORY_IS_STARRED_BY_THE_AUTHENTICATED_USERAcción

Use 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a user or organization). This name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Empty dictionary if the repository is starred by the authenticated user (signified by an HTTP 204 No Content from GitHub API). If not starred or if the repository doesn't exist, an API error (e.g., HTTP 404) is raised, and this response is not populated.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check if a user can be assignedGITHUB_CHECK_IF_A_USER_CAN_BE_ASSIGNEDAcción

Verifies 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This name is not case sensitive.

  • assigneestringObligatorio

    The GitHub username of the user to check for assignability. This name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    API response data. Typically empty if the user can be assigned (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check if a user can be assigned to an issueGITHUB_CHECK_IF_A_USER_CAN_BE_ASSIGNED_TO_A_ISSUEAcción

Checks if a specified github user can be assigned to a given issue within a repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account owning the repository. This field is not case-sensitive.

  • assigneestringObligatorio

    The GitHub username of the user to check for assignment permissions.

  • issue_numberintegerObligatorio

    The unique number identifying the issue within the repository.

Parámetros de salida

  • dataobjectObligatorio

    Empty if the user can be assigned; otherwise, contains GitHub error details if the user cannot be assigned or if the issue/repository is not found.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check if a user follows another userGITHUB_CHECK_IF_A_USER_FOLLOWS_ANOTHER_USERAcción

Checks if a github user `username` follows `target user`; returns a 204 http status if true, 404 if not or if users are invalid.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username of the user to check.

  • target_userstringObligatorio

    The GitHub username of the user to verify if they are followed by the `username`.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary. The follow status is determined by the HTTP response code (204 for following, 404 for not following), not the content of this field.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check if a user is a repository collaboratorGITHUB_CHECK_IF_A_USER_IS_A_REPOSITORY_COLLABORATORAcción

Checks if a user is a collaborator on a specified github repository, returning a 204 status if they are, or a 404 status if they are not or if the repository/user does not exist.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository, typically a GitHub username or an organization name. This name is not case sensitive.

  • usernamestringObligatorio

    The GitHub username of the user whose collaborator status is being checked. This name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check if a user is blocked by an organizationGITHUB_CHECK_IF_A_USER_IS_BLOCKED_BY_AN_ORGANIZATIONAcción

Checks if a github user is blocked by an organization; a successful response (204 no content) indicates the user is blocked, while a 404 not found error indicates the user is not blocked.

Parámetros de entrada

  • orgstringObligatorio

    The organization's GitHub name. This name is not case-sensitive.

  • usernamestringObligatorio

    The GitHub username of the user to check.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check if a user is blocked by the authenticated userGITHUB_CHECK_IF_A_USER_IS_BLOCKED_BY_THE_AUTHENTICATED_USERAcción

Checks if the specified github user is blocked by the authenticated user; a 204 no content response indicates the user is blocked, while a 404 not found indicates they are not.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username (handle) of the user.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary, returned when the API signals the user is blocked (204 No Content). This model is not used if the user is not blocked (API returns 404 Not Found).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check private vulnerability reporting statusGITHUB_CHECK_PRIVATE_VULNERABILITY_REPORTING_STATUSAcción

Checks if private vulnerability reporting is enabled for the specified repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing a boolean field `enabled` which is `true` if private vulnerability reporting is enabled for the repository, and `false` otherwise.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check team permissions for a projectGITHUB_CHECK_TEAM_PERMISSIONS_FOR_A_PROJECTAcción

Checks if a team has 'read', 'write', or 'admin' permissions for an organization's specific classic project, returning the project's details if access is confirmed.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This is case-insensitive.

  • team_slugstringObligatorio

    The slug (short name) of the team.

  • project_idintegerObligatorio

    The unique identifier of the project (classic).

Parámetros de salida

  • dataobjectObligatorio

    Details of the classic project, returned if the team has 'read', 'write', or 'admin' permissions. Includes project URLs, owner information, and other attributes.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check team permissions for a repositoryGITHUB_CHECK_TEAM_PERMISSIONS_FOR_A_REPOSITORYAcción

Checks a team's permissions for a specific repository within an organization, including permissions inherited from parent teams.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This field is not case-sensitive.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The organization that owns the repository. For this GitHub API endpoint, this value must be the same as the `org` parameter. This field is not case-sensitive.

  • team_slugstringObligatorio

    The URL-friendly slug for the team name. It is unique within the organization and typically all lowercase with hyphens instead of spaces.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the repository object, which includes the team's permissions for it. Key information includes a `permissions` attribute with boolean flags for `admin`, `maintain`, `push`, `triage`, and `pull` access.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Clear repository cache by keyGITHUB_CLEAR_REPOSITORY_CACHE_BY_KEYAcción

Deletes 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.

Parámetros de entrada

  • keystringObligatorio

    The exact cache key used to identify specific caches for deletion. This key is often dynamically generated in workflows using expressions (e.g., `${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}`).

  • refstring

    The full Git reference for narrowing down the cache deletion. For example, to target caches for a specific branch, use `refs/heads/<branch_name>`. To target caches for a pull request, use `refs/pull/<pull_number>/merge`. If omitted, caches matching the key across all refs are considered.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary typically containing `total_count`, the number of caches deleted, and `actions_caches`, an array of the deleted cache objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Clear self-hosted runner org labelsGITHUB_CLEAR_SELF_HOSTED_RUNNER_ORG_LABELSAcción

Removes all custom labels from a self-hosted runner for an organization; default labels (e.g., 'self-hosted', 'linux', 'x64') will remain.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization (case-insensitive).

  • runner_idintegerObligatorio

    Unique identifier of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with the total count and list of remaining labels after clearing custom ones; GitHub-assigned default labels are not removed.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Compare two commitsGITHUB_COMPARE_TWO_COMMITSAcción

Compares 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.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch, for pagination when the number of differences (commits or files) is large.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • baseheadstringObligatorio

    A string specifying the base and head references to compare, in the format `BASE...HEAD`. `BASE` and `HEAD` can be branch names (e.g., `main...develop`), tag names (e.g., `v1.0.0...v1.1.0`), or commit SHA-1s. Both references must exist in the specified repository. To compare branches across forks in the same network, use the format `OWNER:REF...OWNER:REF` (e.g., `octocat:main...another-user:main`).

  • per_pageinteger

    Number of results (e.g., files or commits) to return per page, with a maximum of 100, for pagination.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the comparison details. This typically includes: the status of the comparison (e.g., 'diverged', 'ahead', 'behind', 'identical'), the number of commits `ahead_by` and `behind_by` the base, `total_commits` in the range, an array of `commits` objects, an array of `files` objects detailing changed files (including status, additions, deletions, changes, patch, etc.), and various URLs (`html_url`, `permalink_url`, `diff_url`, `patch_url`) for accessing the comparison.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Configure JIT runner for an orgGITHUB_CONFIGURE_JITRUNNER_FOR_ORGAcción

Generates a jit configuration for a github organization's new self-hosted runner to run a single job then unregister; the runner group id must exist.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive).

  • namestringObligatorio

    Desired name for the new self-hosted runner, visible in the GitHub UI.

  • labelsstring[]Obligatorio

    Custom labels to assign to the new self-hosted runner, used by GitHub Actions to route jobs. **Minimum items**: 1. **Maximum items**: 100.

  • work_folderstring

    Path to the working directory on the runner machine where jobs will execute, relative to the runner's installation directory.

  • runner_group_idintegerObligatorio

    ID of the runner group to assign the new self-hosted runner. Must exist in the organization.

Parámetros de salida

  • dataobjectObligatorio

    Generated JIT configuration. Includes `runner` details (like `id`, `name`, `os`, `status`, `labels`) and `encoded_jit_config` (base64 encoded string for runner registration with GitHub Actions).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Configure OIDC subject claim templateGITHUB_CONFIGURE_OIDCSUBJECT_CLAIM_TEMPLATEAcción

Sets 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`).

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (case-insensitive).

  • include_claim_keysstring[]Obligatorio

    Array of unique strings, each a valid claim key (e.g., 'repo', 'actor'; alphanumeric/underscores only), to include in the OIDC subject claim (`sub`).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Convert an organization member to outside collaboratorGITHUB_CONVERT_AN_ORGANIZATION_MEMBER_TO_OUTSIDE_COLLABORATORAcción

Converts an existing organization member, who is not an owner, to an outside collaborator, restricting their access to explicitly granted repositories.

Parámetros de entrada

  • orgstringObligatorio

    The organization name (case-insensitive).

  • asyncboolean

    If true, performs the conversion asynchronously (API returns a 202 status when the job is successfully queued).

  • usernamestringObligatorio

    The GitHub username of the member to convert.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a blobGITHUB_CREATE_A_BLOBAcción

Creates a git blob in a repository, requiring content and encoding ('utf-8' or 'base64').

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • contentstringObligatorio

    The content to be stored in the new blob.

  • encodingstring

    The encoding for the 'content'; "utf-8" or "base64".

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a check runGITHUB_CREATE_A_CHECK_RUNAcción

Creates 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.

Parámetros de entrada

  • namestringObligatorio

    The name of the check to be displayed in the GitHub UI. For example, "Code Coverage" or "Linter".

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • statusstringenum

    The current status of the check run. Only GitHub Actions can set `status` to `waiting`, `pending`, or `requested`.

    queuedin_progresscompletedwaitingrequestedpending
  • actionsobject[]

    A list of up to three action objects defining interactive buttons displayed on GitHub after the check run completes. Each object needs a `label` (button text), `identifier` (unique ID for the action), and `description` (tooltip). Clicking a button sends a `check_run.requested_action` webhook to your app.

  • head_shastringObligatorio

    The SHA of the commit for which the check run is created.

  • conclusionstringenum

    **Required if `completed_at` is provided or if `status` is `completed`**. Specifies the final outcome of the check (e.g., 'success', 'failure'). Note: Setting `conclusion` automatically sets `status` to `completed`. GitHub alone can set a conclusion to `stale`.

    action_requiredcancelledfailureneutralsuccessskippedstaletimed_out
  • started_atstringdate-time

    The ISO 8601 timestamp (YYYY-MM-DDTHH:MM:SSZ) indicating when the check run began.

  • details_urlstring

    The URL of the integrator's site providing full details of the check. If omitted, the GitHub App's homepage is used. This URL is available from the check's UI.

  • external_idstring

    A unique identifier for the check run on the integrator's system. This helps in correlating check runs between GitHub and the external system.

  • completed_atstringdate-time

    The ISO 8601 timestamp (YYYY-MM-DDTHH:MM:SSZ) indicating when the check run finished. **Required if `status` is `completed`**.

  • output__textstring

    Detailed textual information about the check run's output. Supports Markdown. **Maximum length**: 65,535 characters.

  • output__titlestring

    A descriptive title for the output of the check run, displayed in the GitHub UI. For example, 'Linter Scan Summary'.

  • output__imagesobject[]

    A list of image objects to display in the check run's output in the GitHub UI. Each object requires `alt` (alternative text), `image_url` (URL of the image), and an optional `caption`.

  • output__summarystring

    A summary of the check run's findings. Supports Markdown. **Maximum length**: 65,535 characters.

  • output__annotationsobject[]

    A list of annotation objects detailing issues at specific code locations. Annotations are visible in the 'Checks' and 'Files changed' tabs of a pull request. Each annotation object should specify `path`, `start_line`, `end_line`, `annotation_level` ('notice', 'warning', or 'failure'), and `message`. Optional fields include `start_column`, `end_column`, `title`, and `raw_details`. Up to 50 annotations per API request; for more, use subsequent 'Update a check run' calls. GitHub Actions limits are 10 warnings and 10 errors per step.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the full check run object as created by the API. This includes fields like `id`, `node_id`, `head_sha`, `status`, `conclusion`, `name`, `details_url`, `external_id`, `started_at`, `completed_at`, `output` (containing summary, text, annotations, images), `app` (information about the GitHub App that created the check run), and `pull_requests` (an array of pull requests associated with the commit).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a check suiteGITHUB_CREATE_A_CHECK_SUITEAcción

Creates a new check suite for a specific commit (`head sha`) in an original repository (not a fork); github dispatches a `check suite` webhook event with the `requested` action upon success.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

  • head_shastringObligatorio

    SHA of the commit for which to create the check suite, typically the head commit of a branch.

Parámetros de salida

  • dataobjectObligatorio

    Details of the newly created check suite.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a codespace for the authenticated userGITHUB_CREATE_A_CODESPACE_FOR_THE_AUTHENTICATED_USERAcción

Creates 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)).

Parámetros de entrada

  • refstring

    Git ref (branch, tag, or commit SHA) to use for the codespace.

  • pull_requestobject
  • repository_idinteger

    ID of the repository to create the codespace from.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a codespace from a pull requestGITHUB_CREATE_A_CODESPACE_FROM_A_PULL_REQUESTAcción

Creates a github codespace for an open pull request in a codespaces-enabled repository, with options to customize its configuration.

Parámetros de entrada

  • geostringenum

    Geographic area for this codespace (e.g., `UsEast`, `EuropeWest`); supersedes `location`. If unspecified, typically IP-derived.

    EuropeWestSoutheastAsiaUsEastUsWest
  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is case-insensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is case-insensitive.

  • machinestring

    Machine type for this codespace (e.g., `standardLinux`). Varies by CPU, RAM, storage. Uses default if unspecified.

  • locationstring

    Requested geographic location (e.g., `EastUs`, `WestEurope`). This parameter is deprecated; use `geo`. If unspecified, location may be IP-derived.

  • client_ipstring

    Client's public IP address for location auto-detection if proxied and `geo` or `location` are not specified.

  • pull_numberintegerObligatorio

    The unique number identifying the pull request.

  • display_namestring

    Custom name for the codespace.

  • devcontainer_pathstring

    Path to a `devcontainer.json` file in the repository that defines the development environment.

  • working_directorystring

    Working directory for the codespace upon opening. Defaults to the repository root if unspecified.

  • idle_timeout_minutesinteger

    Minutes of inactivity after which the codespace is automatically stopped. A default timeout applies if unspecified.

  • retention_period_minutesinteger

    Retention period in minutes (0-43200, i.e., up to 30 days) for a stopped codespace. 0 means immediate deletion.

  • multi_repo_permissions_opt_outboolean

    Set to `true` to prevent GitHub from requesting additional repository permissions defined in `devcontainer.json`. Defaults to `false` (permissions will be requested).

Parámetros de salida

  • dataobjectObligatorio

    Full details of the created codespace.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a codespace in a repositoryGITHUB_CREATE_A_CODESPACE_IN_A_REPOSITORYAcción

Creates 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.

Parámetros de entrada

  • geostringenum

    Geographic area for the codespace, replacing `location`; determined by user IP if not specified.

    EuropeWestSoutheastAsiaUsEastUsWest
  • refstring

    Git reference (e.g., branch name) for the codespace; uses repository's default branch if not provided.

  • repostringObligatorio

    Name of the repository, without the `.git` extension; not case-sensitive.

  • ownerstringObligatorio

    Username or organization name owning the repository; not case-sensitive.

  • machinestring

    Machine type (CPU, RAM, storage). See 'List available machine types for a repository' action for options; uses a default type if not specified.

  • locationstring

    Requested AWS region (best-effort, may differ); determined by user IP if not provided. Deprecated: use `geo`.

  • client_ipstring

    IP address to infer preferred region if `location` and `geo` are unspecified; useful for proxied requests.

  • display_namestring

    Custom display name for the codespace; a default name is generated if not provided.

  • devcontainer_pathstring

    Path to a `devcontainer.json` in the repository; uses `.devcontainer/devcontainer.json` or `devcontainer.json` at root if not specified.

  • working_directorystring

    Directory to use as default when codespace opens; uses repository root if not specified.

  • idle_timeout_minutesinteger

    Minutes of inactivity before codespace auto-stops; uses a default timeout if not specified.

  • retention_period_minutesinteger

    Minutes an idle (stopped) codespace is retained before auto-deletion (0-43200, i.e., up to 30 days); uses a default period if not specified.

  • multi_repo_permissions_opt_outboolean

    If `true`, opts out of granting multi-repository permissions from `devcontainer.json`. If unspecified or `false`, permissions are granted if requested.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a commitGITHUB_CREATE_A_COMMITAcción

Creates a new commit in a github repository; the `tree` sha and any `parents` shas must already exist in the repository.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • treestringObligatorio

    SHA of the tree object for this commit; must exist in the repository.

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

  • messagestringObligatorio

    The commit message.

  • parentsstring[]

    SHAs of parent commits; all must exist in the repository. Omit or provide an empty list for a root commit.

  • signaturestring

    ASCII-armored detached PGP signature over the commit data. GitHub adds this to the `gpgsig` header if provided.

  • author__datestringdate-time

    Timestamp (ISO 8601: `YYYY-MM-DDTHH:MM:SSZ`) when the commit was authored.

  • author__namestring

    Name of the commit's author. Defaults to authenticated user if not provided.

  • author__emailstring

    Email of the commit's author. Defaults to authenticated user if not provided.

  • committer__datestringdate-time

    Timestamp (ISO 8601: `YYYY-MM-DDTHH:MM:SSZ`) when the commit was committed. Defaults to `author_date` or current time.

  • committer__namestring

    Name of the committer. Defaults to author's name or authenticated user if not provided.

  • committer__emailstring

    Email of the committer. Defaults to author's email or authenticated user if not provided.

Parámetros de salida

  • dataobjectObligatorio

    Details of the created commit, including SHA, URL, author/committer info, tree, message, parents, and verification status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a commit commentGITHUB_CREATE_A_COMMIT_COMMENTAcción

Creates a comment on a specific commit, or on a specific line if `path` and `position` are provided.

Parámetros de entrada

  • bodystringObligatorio

    The text content of the comment.

  • lineinteger

    **Deprecated:** Use `position` instead. Line number in the file to comment on. `position` takes precedence if both are provided.

  • pathstring

    Relative path of the file to comment on. If specified, `position` is also required.

  • repostringObligatorio

    The name of the repository, without the `.git` extension.

  • ownerstringObligatorio

    The username or organization name that owns the repository.

  • positioninteger

    Line number in the diff's patch to comment on, relative to the commit's changes. Required if `path` is specified.

  • commit_shastringObligatorio

    The SHA identifier of the commit to comment on.

Parámetros de salida

  • dataobjectObligatorio

    Full representation of the newly created commit comment.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a commit statusGITHUB_CREATE_A_COMMIT_STATUSAcción

Sets a commit's status (e.g., error, failure, pending, success from ci/cd) for a given sha; max 1000 statuses per sha/context.

Parámetros de entrada

  • shastringObligatorio

    SHA hash of the commit.

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username or organization name of the repository owner (case-insensitive).

  • statestringObligatorioenum

    State of the commit status, indicating check outcome or phase.

    errorfailurependingsuccess
  • contextstring

    Label to differentiate this status from other systems (e.g., 'ci/jenkins'); case-insensitive.

  • target_urlstring

    URL linking to the source of the status (e.g., CI build log), displayed in GitHub UI.

  • descriptionstring

    Human-readable description of the status, displayed in GitHub UI.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a custom organization roleGITHUB_CREATE_A_CUSTOM_ORGANIZATION_ROLEAcción

Creates a custom role with defined permissions within a github organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive) where the custom role will be created.

  • namestringObligatorio

    Unique name for the custom role.

  • descriptionstring

    Optional short description of the custom role's purpose or permissions.

  • permissionsstring[]Obligatorio

    List of permission strings defining actions granted by this role; see GitHub docs for available permissions.

Parámetros de salida

  • dataobjectObligatorio

    Details of the created custom role, including `id`, `name`, `description`, `permissions`, and `organization`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a deploy keyGITHUB_CREATE_A_DEPLOY_KEYAcción

Creates a deploy key for a repository; the repository must exist and be accessible, and the provided key must be a valid public ssh key.

Parámetros de entrada

  • keystringObligatorio

    The full public SSH key. Ensure this is the public key, not the private key.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case sensitive.

  • titlestring

    A descriptive name for the new deploy key. If not provided, a default name will be generated.

  • read_onlyboolean

    If `true`, the deploy key will only have read access. If `false` (default), the key will have read and write access. Write access grants significant privileges.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a deploymentGITHUB_CREATE_A_DEPLOYMENTAcción

Creates a github deployment for an existing repository, targeting a specific ref (branch, tag, or sha) that must also exist within the repository.

Parámetros de entrada

  • refstringObligatorio

    The ref to deploy. This can be a branch name, a tag name, or a commit SHA.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • taskstring

    Specifies a task to execute, e.g., `deploy` or `deploy:migrations`.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • payloadstring

    A JSON string payload providing additional information that a deployment system might need, customizable based on the deployment process.

  • auto_mergeboolean

    Attempts to automatically merge the default branch into the requested ref if the ref is behind the default branch. Set to `false` to disable.

  • descriptionstring

    A short description of the deployment. Maximum length of 1000 characters.

  • environmentstring

    Name for the target deployment environment (e.g., `production`, `staging`, `qa`).

  • required_contextsstring[]

    A list of status check contexts to verify against commit status checks before creating the deployment. If omitted or `null`, GitHub verifies all unique contexts. Pass an empty list `[]` to bypass all checks.

  • transient_environmentboolean

    Specifies if the given environment is specific to this deployment and will no longer exist at some point in the future (e.g., a staging environment for a pull request). Set to `true` if the environment is temporary.

  • production_environmentboolean

    Specifies if the given environment is one that end-users directly interact with.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the created deployment object as returned by the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a deployment branch policyGITHUB_CREATE_A_DEPLOYMENT_BRANCH_POLICYAcción

Creates 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.

Parámetros de entrada

  • namestringObligatorio

    Name pattern for deployable branches/tags (Ruby File.fnmatch syntax; `*` won't match `/`, e.g., `release/*/*` for `release/feature/login`). Refer to [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case sensitive).

  • typestringenum

    Whether the policy targets a Git branch or a tag.

    branchtag
  • ownerstringObligatorio

    Account owner of the repository (not case sensitive).

  • environment_namestringObligatorio

    Name of the target environment; URL-encode special characters (e.g., `/` as `%2F`).

Parámetros de salida

  • dataobjectObligatorio

    Details of the created deployment branch policy.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a deployment statusGITHUB_CREATE_A_DEPLOYMENT_STATUSAcción

Creates a status for an existing deployment, updating its operational state, associated urls, and description.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • statestringObligatorioenum

    State of the status. Setting a transient deployment to `inactive` shows it as `destroyed` in GitHub.

    errorfailureinactivein_progressqueuedpendingsuccess
  • log_urlstring

    URL for deployment output. Preferred over `target_url`; setting this also sets `target_url` to the same value.

  • target_urlstring

    URL for deployment status updates or output. `log_url` is generally preferred.

  • descriptionstring

    Short description of the status (max 140 characters).

  • environmentstring

    Name for the target deployment environment (e.g., `production`, `staging`). If unset, uses environment from previous status or deployment.

  • auto_inactiveboolean

    If true, sets prior successful, non-transient, non-production deployments in the same repository and environment to `inactive`.

  • deployment_idintegerObligatorio

    The unique identifier of the deployment for which to create a status.

  • environment_urlstring

    URL for accessing the target deployment environment.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a discussionGITHUB_CREATE_A_DISCUSSIONAcción

Creates a new discussion post on a specific team's page within an organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization (not case-sensitive).

  • bodystringObligatorio

    Main content of the discussion post, typically in markdown.

  • titlestringObligatorio

    Title of the discussion post.

  • privateboolean

    If `true`, post is private (visible only to team members, org owners, and team maintainers); `false` makes it public to all organization members.

  • team_slugstringObligatorio

    URL-friendly version of the team name (slug).

Parámetros de salida

  • dataobjectObligatorio

    Details of the created discussion, including ID, title, body, author, creation timestamp, and URLs.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a discussion commentGITHUB_CREATE_A_DISCUSSION_COMMENTAcción

Creates a new comment on an existing team discussion within a github organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

  • bodystringObligatorio

    The content of the discussion comment. Supports GitHub Flavored Markdown.

  • team_slugstringObligatorio

    The slug (URL-friendly version) of the team name.

  • discussion_numberintegerObligatorio

    The unique number identifying the discussion within the team.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the created discussion comment.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a forkGITHUB_CREATE_A_FORKAcción

Creates a fork of an accessible repository, optionally into a specific organization, with a new name, or copying only the default branch.

Parámetros de entrada

  • namestring

    The desired name for the newly created fork. If not provided, the new fork will have the same name as the original repository.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case sensitive.

  • organizationstring

    The GitHub organization name to fork the repository into. If not specified, the fork will be created in the authenticated user's account.

  • default_branch_onlyboolean

    Specifies whether to fork only the default branch of the repository. If `True`, only the default branch is copied. If `False` or not specified, all branches are copied.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the full repository object of the newly created fork. This includes details such as `id`, `node_id`, `name`, `full_name`, `html_url`, `clone_url`, `forks_url`, `commits_url`, etc.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a gistGITHUB_CREATE_A_GISTAcción

Creates a new gist on github with provided files, an optional description, and public/secret visibility.

Parámetros de entrada

  • filesobjectObligatorio

    Content for the gist's files. Dictionary where keys are filenames and values are objects, each having a `content` key with the file's raw string data.

  • publicboolean

    Indicates if the gist is public (`true`) or secret (`false`).

  • descriptionstring

    Optional description for the gist.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a gist commentGITHUB_CREATE_A_GIST_COMMENTAcción

Creates a new comment on a specified github gist.

Parámetros de entrada

  • bodystringObligatorio

    The text of the comment to be posted on the gist.

  • gist_idstringObligatorio

    The unique identifier of the gist.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a GitHub App from a manifestGITHUB_CREATE_A_GITHUB_APP_FROM_A_MANIFESTAcción

Use this action to finalize a github app's creation by exchanging the temporary `code` (received as a url parameter during the app manifest setup redirection) for the app's full configuration details.

Parámetros de entrada

  • codestringObligatorio

    The temporary code provided by GitHub during the app manifest flow. This code is exchanged for the app's configuration.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the configuration details of the newly created GitHub App. This typically includes `id`, `slug`, `node_id`, `owner`, `name`, `description`, `external_url`, `html_url`, `created_at`, `updated_at`, `permissions`, `events`, `client_id`, `client_secret`, `webhook_secret`, and `pem` (the PEM-encoded private key).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a github pages deploymentGITHUB_CREATE_A_GITHUB_PAGES_DEPLOYMENTAcción

Creates 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This field is not case-sensitive.

  • oidc_tokenstringObligatorio

    OIDC token from GitHub Actions for deployment authorization, typically from `secrets.GITHUB_TOKEN` with `id-token: write` permission.

  • artifact_idinteger

    Identifier of a GitHub Actions artifact (e.g., .zip or .tar) with static assets for deployment. Artifact must belong to the repository. Either this or `artifact_url` is required.

  • environmentstring

    Target environment for this GitHub Pages deployment. Defaults to `github-pages`.

  • artifact_urlstring

    URL of a GitHub Actions artifact (e.g., .zip or .tar) with static assets for deployment. Artifact must belong to the repository. Either this or `artifact_id` is required.

  • pages_build_versionstring

    Unique string identifying the build version for this deployment, typically the Git commit SHA. Defaults to `GITHUB_SHA`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the created GitHub Pages deployment, typically including the deployment URL.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a github pages siteGITHUB_CREATE_A_GITHUB_PAGES_SITEAcción

Configures or updates github pages for a repository, setting build type and source; ensure a pages workflow exists for 'workflow' `build type`, or `source branch` exists for 'legacy' or unspecified `build type`.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is case-insensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is case-insensitive.

  • build_typestringenum

    Build process for the Pages site: 'legacy' (traditional GitHub Pages build) or 'workflow' (GitHub Actions). If omitted and `source_branch` is provided, defaults to 'legacy'. When 'workflow', `source_branch` and `source_path` are ignored.

    legacyworkflow
  • source__pathstringenum

    Directory within `source_branch` for site source files (e.g., '/' for root, '/docs'). Ignored if `build_type` is 'workflow'.

    //docs
  • source__branchstring

    The branch for GitHub Pages source (e.g., 'main', 'gh-pages'). Required if `build_type` is 'legacy' or not specified. It is ignored if `build_type` is 'workflow'.

Parámetros de salida

  • dataobjectObligatorio

    The GitHub Pages site configuration details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a labelGITHUB_CREATE_A_LABELAcción

Creates a new label in a specified github repository, provided the repository exists and the user has write permissions.

Parámetros de entrada

  • namestringObligatorio

    The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see the "[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case sensitive.

  • colorstring

    The hexadecimal color code for the label (e.g., `f29513`), without the leading `#`. If not provided, GitHub will assign a random color.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case sensitive.

  • descriptionstring

    A short description of the label. Maximum 100 characters.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a milestoneGITHUB_CREATE_A_MILESTONEAcción

Creates a milestone in a github repository for tracking progress on issues or pull requests; requires repository existence and user write permissions.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the repository owner (case-insensitive).

  • statestringenum

    State of the milestone.

    openclosed
  • titlestringObligatorio

    Title for the new milestone.

  • due_onstringdate-time

    Due date for the milestone (ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`).

  • descriptionstring

    Detailed description of the milestone.

Parámetros de salida

  • dataobjectObligatorio

    Details of the newly created milestone from the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an autolink reference for a repositoryGITHUB_CREATE_AN_AUTOLINK_REFERENCE_FOR_A_REPOSITORYAcción

Creates 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 `<num>`.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. The name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This can be a username or an organization name. The name is not case-sensitive.

  • key_prefixstringObligatorio

    Prefix that triggers the autolink (e.g., 'JIRA-'). When followed by an identifier, it's converted into a link. Must be non-empty and not contain spaces.

  • url_templatestringObligatorio

    URL template for the autolink, using `<num>` as a placeholder for the reference identifier (e.g., 'https://example.atlassian.net/browse/<num>'). Behavior of `<num>` is determined by `is_alphanumeric`.

  • is_alphanumericboolean

    Specifies if the `<num>` placeholder in `url_template` matches alphanumeric characters (`A-Z` (case-insensitive), `0-9`, and `-`) or only numeric characters (`0-9`).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the autolink reference object that was created. This typically includes fields such as `id`, `key_prefix`, `url_template`, and `is_alphanumeric`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an environment variableGITHUB_CREATE_AN_ENVIRONMENT_VARIABLEAcción

Creates an encrypted environment variable for a pre-existing environment within a github repository; will fail if the variable name already exists.

Parámetros de entrada

  • namestringObligatorio

    The name of the environment variable to create (e.g., `API_KEY`).

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • valuestringObligatorio

    The value of the environment variable (e.g., `your_secret_token`). This value will be encrypted.

  • environment_namestringObligatorio

    The name of the environment for which to create the variable. The name must be URL encoded if it contains special characters (e.g., slashes `/` must be replaced with `%2F`).

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary is returned upon successful creation of the environment variable (HTTP 201 Created).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an issueGITHUB_CREATE_AN_ISSUEAcción

Creates 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.

Parámetros de entrada

  • bodystring

    The detailed textual contents of the new issue.

  • repostringObligatorio

    The name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    The GitHub account owner of the repository (case-insensitive).

  • titlestringObligatorio

    The title for the new issue.

  • labelsstring[]

    Label names to associate with this issue (generally case-insensitive). NOTE: Only users with push access can set labels; they are silently dropped otherwise. Pass an empty list to clear all labels.

  • assigneestring

    Login for the user to whom this issue should be assigned. NOTE: Only users with push access can set the assignee; it is silently dropped otherwise. **This field is deprecated in favor of `assignees`.**

  • assigneesstring[]

    GitHub login names for users to assign to this issue. NOTE: Only users with push access can set assignees; they are silently dropped otherwise.

  • milestonestring

    The ID of the milestone to associate this issue with (e.g., "5"). NOTE: Only users with push access can set the milestone; it is silently dropped otherwise.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full data representation of the newly created GitHub issue, including its ID, title, body, state, assignees, labels, etc.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an issue commentGITHUB_CREATE_AN_ISSUE_COMMENTAcción

Creates a new comment on an existing github issue or pull request within the specified repository.

Parámetros de entrada

  • bodystringObligatorio

    Comment content in GitHub Flavored Markdown.

  • repostringObligatorio

    Name of the repository (without `.git` extension); not case-sensitive.

  • ownerstringObligatorio

    Account owner of the repository (username or organization); not case-sensitive.

  • issue_numberintegerObligatorio

    Number identifying the issue or pull request for the comment.

Parámetros de salida

  • dataobjectObligatorio

    Full API response for the created issue comment, including ID, author, body, and timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an organization projectGITHUB_CREATE_AN_ORGANIZATION_PROJECTAcción

Creates a new classic project board within a specified github organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization (not case-sensitive).

  • bodystring

    Body or description for the new project.

  • namestringObligatorio

    Name for the new project.

Parámetros de salida

  • dataobjectObligatorio

    Details of the newly created classic organization project.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an organization repositoryGITHUB_CREATE_AN_ORGANIZATION_REPOSITORYAcción

Creates a new repository within a specified github organization, with options for detailed configuration including visibility, features, merge strategies, initial commit, and templates.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization where the repository will be created (case-insensitive).

  • namestringObligatorio

    Name of the new repository.

  • privateboolean

    Whether the repository is private. `visibility` takes precedence if both are set.

  • team_idinteger

    ID of the team to grant access to this repository within the organization.

  • has_wikiboolean

    Enable wiki for this repository.

  • homepagestring

    URL for the repository's homepage.

  • auto_initboolean

    Create an initial commit with an empty README.

  • has_issuesboolean

    Enable issues for this repository.

  • visibilitystringenum

    Repository visibility: 'public' (visible to everyone) or 'private' (visible to collaborators).

    publicprivate
  • descriptionstring

    Short description of the repository.

  • is_templateboolean

    Make this repository a template repository.

  • has_projectsboolean

    Enable projects for this repository. Fails if organization has disabled repository projects and this is true.

  • has_downloadsboolean

    Enable downloads for this repository (deprecated).

  • allow_auto_mergeboolean

    Allow auto-merge on pull requests.

  • license_templatestring

    License template keyword (e.g., "mit", "apache-2.0"). See [GitHub license documentation](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) for options.

  • custom_propertiesobject

    Custom properties for the repository as a key-value dictionary.

  • allow_merge_commitboolean

    Allow merging pull requests with a merge commit.

  • allow_rebase_mergeboolean

    Allow rebase-merging pull requests.

  • allow_squash_mergeboolean

    Allow squash-merging pull requests.

  • gitignore_templatestring

    Name of the .gitignore template to apply (e.g., "Python", "Node"). Refer to the [GitHub gitignore template list](https://github.com/github/gitignore).

  • merge_commit_titlestringenum

    Default title for merge commits: 'PR_TITLE' or 'MERGE_MESSAGE'.

    PR_TITLEMERGE_MESSAGE
  • merge_commit_messagestringenum

    Default message for merge commits: 'PR_TITLE', 'PR_BODY', or 'BLANK'.

    PR_BODYPR_TITLEBLANK
  • delete_branch_on_mergeboolean

    Automatically delete head branches when pull requests are merged. Requires organization owner privileges if true.

  • squash_merge_commit_titlestringenum

    Default title for squash merge commits: 'PR_TITLE' or 'COMMIT_OR_PR_TITLE'.

    PR_TITLECOMMIT_OR_PR_TITLE
  • squash_merge_commit_messagestringenum

    Default message for squash merge commits: 'PR_BODY', 'COMMIT_MESSAGES', or 'BLANK'.

    PR_BODYCOMMIT_MESSAGESBLANK
  • use_squash_pr_title_as_defaultboolean

    DEPRECATED: Use `squash_merge_commit_title`. Default to pull request title for squash-merge commits.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full representation of the newly created repository.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an organization variableGITHUB_CREATE_AN_ORGANIZATION_VARIABLEAcción

Creates a new, uniquely named github actions variable for an organization, with configurable repository access visibility (all, private, or selected).

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • namestringObligatorio

    The name of the organization variable. Must be unique at the organization level.

  • valuestringObligatorio

    The value of the organization variable.

  • visibilitystringObligatorioenum

    Controls which repositories in the organization can access the variable. Accepted values are 'all' (all repositories), 'private' (only private repositories), or 'selected' (specific repositories designated by `selected_repository_ids`).

    allprivateselected
  • selected_repository_idsinteger[]

    A list of repository integer IDs that can access this organization variable. This field is required and only applicable when `visibility` is set to 'selected'.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary indicating the successful creation of the organization variable, as the GitHub API typically returns an empty body (201 Created) for this operation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an organization webhookGITHUB_CREATE_AN_ORGANIZATION_WEBHOOKAcción

Creates a webhook for a github organization to deliver event notifications to a configured url.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • namestringObligatorio

    The name of the webhook. Must be "web" for organization webhooks.

  • activeboolean

    Boolean indicating if the webhook is active. `true` sends notifications, `false` does not. Defaults to `true`.

  • eventsstring[]

    List of event names to trigger the webhook. Use `['*']` for all events. Defaults to `['push']` if not specified. See GitHub docs for event types.

  • config__urlstringuri

    The target URL for webhook payload delivery. This URL is a mandatory part of the webhook's `config` object and will receive POST requests for subscribed events.

  • config__secretstring

    Optional secret for generating an HMAC hex digest for payload verification (X-Hub-Signature-256 header). If provided, this is used as the key.

  • config__passwordstring

    Password for basic authentication if the webhook endpoint (`config_url`) requires it, corresponding to `config_username`.

  • config__usernamestring

    Username for basic authentication if the webhook endpoint (`config_url`) requires it. Use only if your endpoint is protected by basic auth.

  • config__content__typestring

    The media type for serializing webhook payloads. Supported: `json`, `form`. GitHub API defaults to `form` if this field is not set or is `None`.

  • config__insecure__sslstring

    Controls SSL certificate verification for `config_url`. '1' disables verification (not recommended), '0' enables. GitHub API defaults to '0' (verification enabled) if this field is not set or is `None`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the complete JSON representation of the created webhook object as returned by the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a project cardGITHUB_CREATE_A_PROJECT_CARDAcción

Creates a project card in a github project column; the request body must contain either a `note` for a note-only card, or both `content id` (id of an issue or pull request) and `content type` (e.g., 'issue', 'pullrequest').

Parámetros de entrada

  • column_idintegerObligatorio

    The unique identifier of the project column where the card will be created. This value is used as a path parameter in the API request URL (e.g., `/projects/columns/{column_id}/cards`).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full representation of the newly created project card, as returned by the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a project columnGITHUB_CREATE_A_PROJECT_COLUMNAcción

Creates a new column in a github project (classic).

Parámetros de entrada

  • namestringObligatorio

    The name for the new project column.

  • project_idintegerObligatorio

    The unique identifier of the target GitHub project (classic) where the new column will be created.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the attributes of the newly created project column. Key attributes typically include `id`, `node_id`, `name`, `url`, `project_url`, `cards_url`, `created_at`, and `updated_at`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a pull requestGITHUB_CREATE_A_PULL_REQUESTAcción

Creates a pull request in a github repository, requiring existing `base` and `head` branches; `title` or `issue` must be provided.

Parámetros de entrada

  • basestringObligatorio

    The name of the branch you want the changes pulled into. This must be an existing branch on the current (target) repository. You cannot submit a pull request to one repository that requests a merge to a base branch of another repository.

  • bodystring

    The detailed description or contents of the pull request.

  • headstringObligatorio

    The name of the branch where your changes are implemented. For cross-repository pull requests, namespace `head` with the source owner and branch, like `username:branch`.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • draftboolean

    Indicates whether the pull request should be created as a draft. Draft pull requests cannot be merged until marked as ready for review.

  • issueinteger

    The number of an existing issue in the repository to convert into a pull request. If provided, the issue's title and body may be used for the pull request. Required if `title` is not specified.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • titlestring

    The title of the new pull request. Required unless `issue` is specified.

  • head_repostringrepo.nwo

    The name of the repository (e.g., 'octocat/Hello-World') where the changes in the pull request were made. This field is required for cross-repository pull requests if both the source and target repositories are owned by the same organization but are different repositories.

  • maintainer_can_modifyboolean

    Indicates whether maintainers of the upstream repository can modify the pull request. This is primarily relevant for pull requests originating from forks.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full representation of the created pull request.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a referenceGITHUB_CREATE_A_REFERENCEAcción

Creates a git reference (e.g., a branch or tag) in a repository; the repository must not be empty prior to this operation.

Parámetros de entrada

  • refstringObligatorio

    Fully qualified reference to create (e.g., `refs/heads/master`, `refs/tags/v1.0.0`). Must start with `refs/` and contain at least two slashes.

  • shastringObligatorio

    SHA-1 hash of an existing commit in the repository that the new reference will point to.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Details of the newly created Git reference, typically including its `ref`, `node_id`, `url`, and target object (`sha`, `type`).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a registration token for an organizationGITHUB_CREATE_A_REGISTRATION_TOKEN_FOR_AN_ORGANIZATIONAcción

Generates a temporary (one-hour) registration token to add a new self-hosted runner to an organization for github actions.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the generated registration token and its expiration details, used for configuring self-hosted runners.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a registration token for a repositoryGITHUB_CREATE_A_REGISTRATION_TOKEN_FOR_A_REPOSITORYAcción

Generates a time-limited token required to register a new self-hosted runner with a specific repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account or the organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the registration token and its expiration details, such as the `token` string and `expires_at` timestamp.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a releaseGITHUB_CREATE_A_RELEASEAcción

Creates 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.

Parámetros de entrada

  • bodystring

    A detailed description of the release. Markdown formatting is supported.

  • namestring

    The title of the release. If omitted and `generate_release_notes` is false, it defaults to the `tag_name`.

  • repostringObligatorio

    The name of the repository, without the .git extension. This field is not case-sensitive.

  • draftboolean

    Set to `true` to create an unpublished (draft) release. Defaults to `false`.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This field is not case-sensitive.

  • tag_namestringObligatorio

    The name of the tag for this release. This tag must be unique for published releases.

  • prereleaseboolean

    Set to `true` to identify this release as a pre-release. Defaults to `false`.

  • make_lateststring

    Specifies if this release should be marked as the latest for the repository. Valid values: 'true', 'false', 'legacy'. Defaults to 'true'. Draft releases and prereleases cannot be set as 'latest'.

  • target_commitishstring

    Specifies the commitish value (e.g., branch name, tag name, or commit SHA) from which the Git tag is created. Defaults to the repository's default branch if the tag specified in `tag_name` doesn't exist yet.

  • generate_release_notesboolean

    Set to `true` to automatically generate the release title (`name`) and description (`body`) from the commit history since the last release. Defaults to `false`.

  • discussion_category_namestring

    If specified, a new discussion will be created in this category and linked to the release. The category must already exist in the repository's discussions.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a remove token for an organizationGITHUB_CREATE_A_REMOVE_TOKEN_FOR_AN_ORGANIZATIONAcción

Generates a token, valid for one hour, to authenticate removing a self-hosted runner from an organization.

Parámetros de entrada

  • orgstringObligatorio

    The unique identifier or name of the GitHub organization. This name is not case-sensitive. For example, if your organization's URL is github.com/my-org, 'my-org' is the value.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the generated time-limited token and its expiration details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a remove token for a repositoryGITHUB_CREATE_A_REMOVE_TOKEN_FOR_A_REPOSITORYAcción

Generates a temporary (one-hour validity) token required to unregister and remove a self-hosted runner from a repository.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (not case-sensitive).

Parámetros de salida

  • dataobjectObligatorio

    Contains the generated remove token (e.g., `{'token': 'YOUR_GENERATED_TOKEN'}`), used to unregister a self-hosted runner.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a reply for a review commentGITHUB_CREATE_A_REPLY_FOR_A_REVIEW_COMMENTAcción

Posts 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.

Parámetros de entrada

  • bodystringObligatorio

    The text of the reply to the review comment.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • comment_idintegerObligatorio

    The unique identifier of the comment to which the reply is being made.

  • pull_numberintegerObligatorio

    The number that identifies the pull request.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the newly created reply to the review comment. The structure of this dictionary conforms to the GitHub API's representation of a pull request review comment.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a repository dispatch eventGITHUB_CREATE_A_REPOSITORY_DISPATCH_EVENTAcción

Triggers 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    The account owner of the repository (not case-sensitive).

  • event_typestringObligatorio

    Custom webhook event name (100 characters or fewer).

  • client_payloadobject

    JSON payload with extra information for the webhook event (max 10 top-level properties), passed to the triggered workflow or action.

Parámetros de salida

  • dataobject

    Empty dictionary on success (HTTP 204 No Content), or contains error details on failure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a repository for the authenticated userGITHUB_CREATE_A_REPOSITORY_FOR_THE_AUTHENTICATED_USERAcción

Creates a new repository for the authenticated user, optionally within an organization if `team id` is specified.

Parámetros de entrada

  • namestringObligatorio

    The name of the repository.

  • privateboolean

    Whether the repository is private (true) or public (false).

  • team_idinteger

    The ID of the team to be granted access. Only valid if creating in an organization.

  • has_wikiboolean

    Whether the wiki is enabled.

  • homepagestring

    A URL with more information about the repository.

  • auto_initboolean

    Whether to initialize the repository with a README.

  • has_issuesboolean

    Whether issues are enabled.

  • descriptionstring

    A short description of the repository.

  • is_templateboolean

    Whether this repository is a template repository.

  • has_projectsboolean

    Whether projects are enabled.

  • has_downloadsboolean

    Whether downloads are enabled (deprecated by GitHub and may not be configurable).

  • has_discussionsboolean

    Whether discussions are enabled.

  • allow_auto_mergeboolean

    Whether to allow auto-merge on pull requests.

  • license_templatestring

    License template keyword (e.g., 'mit', 'apache-2.0').

  • allow_merge_commitboolean

    Whether to allow merging pull requests with a merge commit.

  • allow_rebase_mergeboolean

    Whether to allow rebase-merging pull requests.

  • allow_squash_mergeboolean

    Whether to allow squash-merging pull requests.

  • gitignore_templatestring

    Desired .gitignore template (e.g., 'Python', 'Node').

  • merge_commit_titlestringenum

    The default title for a merge commit. `PR_TITLE` uses the pull request's title. `MERGE_MESSAGE` uses a classic title like 'Merge pull request #123 from branch-name'.

    PR_TITLEMERGE_MESSAGE
  • merge_commit_messagestringenum

    The default message for a merge commit. `PR_BODY` uses the pull request's body. `PR_TITLE` uses the pull request's title. `BLANK` results in a blank commit message.

    PR_BODYPR_TITLEBLANK
  • delete_branch_on_mergeboolean

    Whether to automatically delete head branches when pull requests are merged.

  • squash_merge_commit_titlestringenum

    The default title for a squash merge commit. `PR_TITLE` uses the pull request's title. `COMMIT_OR_PR_TITLE` uses the commit's title (if only one commit) or the pull request's title (if multiple commits).

    PR_TITLECOMMIT_OR_PR_TITLE
  • squash_merge_commit_messagestringenum

    The default message for a squash merge commit. `PR_BODY` uses the pull request's body. `COMMIT_MESSAGES` uses the branch's commit messages. `BLANK` results in a blank commit message.

    PR_BODYCOMMIT_MESSAGESBLANK

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a repository from an unpublished codespaceGITHUB_CREATE_A_REPOSITORY_FROM_AN_UNPUBLISHED_CODESPACEAcción

Publishes the specified codespace to a new repository, using the codespace's current state as the initial commit.

Parámetros de entrada

  • namestring

    The desired name for the new repository to be created from the codespace. If omitted, GitHub might generate a name (e.g., based on the codespace name).

  • privateboolean

    Specifies the visibility of the new repository. Set to `true` for a private repository, or `false` for a public one. Defaults to `false` (public).

  • codespace_namestringObligatorio

    The unique name of the codespace to be published as a new repository. This codespace must exist, be unpublished, and belong to the authenticated user.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a repository projectGITHUB_CREATE_A_REPOSITORY_PROJECTAcción

Creates a new classic project board within a specified repository; classic projects must be enabled for the target repository.

Parámetros de entrada

  • bodystring

    An optional detailed description for the project board.

  • namestringObligatorio

    The name of the project board to be created.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full details of the newly created repository project board, as returned by the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a repository rulesetGITHUB_CREATE_A_REPOSITORY_RULESETAcción

Creates a uniquely named ruleset for a repository, defining rules for branches or tags with specified enforcement, conditions, and bypass actors.

Parámetros de entrada

  • namestringObligatorio

    Unique name for the ruleset.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Account owner of the repository (not case-sensitive).

  • rulesobject[]

    Array of rule objects to be enforced. Each must have `type` and may have `parameters`. Refer to GitHub API docs for available rule types and parameters.

  • targetstringenum

    The target of the ruleset, whether it applies to branches or tags.

    branchtag
  • enforcementstringObligatorioenum

    Enforcement level: `disabled` (ruleset is not enforced), `active` (ruleset is enforced), or `evaluate` (test rules before enforcing; GitHub Enterprise only).

    disabledactiveevaluate
  • bypass_actorsobject[]

    Actors that can bypass rules in this ruleset. Each actor object requires `actor_id`, `actor_type` (e.g., 'Team', 'Integration'), and `bypass_mode` (e.g., 'always').

  • conditions__ref__name__excludestring[]

    Ref names or patterns to exclude. Condition fails if any pattern matches the ref name.

  • conditions__ref__name__includestring[]

    Ref names/patterns to include. Condition passes if one pattern matches the ref name. Use `~DEFAULT_BRANCH` for default branch, `~ALL` for all branches.

Parámetros de salida

  • dataobjectObligatorio

    Details of the created repository ruleset.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a repository using a templateGITHUB_CREATE_A_REPOSITORY_USING_A_TEMPLATEAcción

Creates 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.

Parámetros de entrada

  • namestringObligatorio

    The desired name for the new repository to be created.

  • ownerstring

    The username or organization name that will own the new repository. Defaults to the authenticated user if not provided.

  • privateboolean

    Set to `true` to create a private repository, or `false` to create a public repository.

  • descriptionstring

    A brief summary or description for the new repository.

  • template_repostringObligatorio

    The name of the template repository, without the `.git` extension. This field is not case-sensitive.

  • template_ownerstringObligatorio

    The username or organization name that owns the template repository. This field is not case-sensitive.

  • include_all_branchesboolean

    Set to `true` to copy the directory structure and files from all branches of the template repository, not just the default branch.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a repository variableGITHUB_CREATE_A_REPOSITORY_VARIABLEAcción

Creates a new, unencrypted variable in a repository for github actions workflows; fails if a variable with the same name already exists.

Parámetros de entrada

  • namestringObligatorio

    The name of the variable to create. Variable names are case-sensitive and can only contain alphanumeric characters ([a-z], [A-Z], [0-9]) or underscores (_). They cannot start with the `GITHUB_` prefix, and spaces are not allowed.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case sensitive.

  • valuestringObligatorio

    The value of the variable. This will be stored as a string.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary. The GitHub API returns a 201 Created status with no content in the body upon successful creation of the repository variable.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a repository webhookGITHUB_CREATE_A_REPOSITORY_WEBHOOKAcción

Creates a webhook for a specified repository; requires admin permissions on the repository.

Parámetros de entrada

  • namestring

    Name of the webhook. Use `web`. This parameter currently only accepts `web` and defaults to `web` if not provided.

  • repostringObligatorio

    The name of the repository without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • activeboolean

    Determines if notifications are sent when the webhook is triggered. `true` sends notifications (active), `false` disables them (inactive).

  • eventsstring[]

    List of events to trigger the webhook (e.g., `['push']`, `['issues']`). See GitHub documentation for 'webhook event payloads'.

  • config__urlstringuri

    The URL to which webhook payloads will be delivered via POST for subscribed events.

  • config__secretstring

    Optional secret string for HMAC hex digest in delivery signature headers, enhancing security. See GitHub's 'delivery signature headers' documentation for details.

  • config__content__typestring

    Media type for serializing payloads: `json` or `form`. Defaults to `form` if not specified. `json` delivers JSON, `form` delivers URL-encoded data.

  • config__insecure__sslstring

    Determines SSL certificate verification for the payload URL: "0" to verify SSL (recommended), or "1" to skip. Defaults to "0" (verify SSL) if not provided.

Parámetros de salida

  • dataobjectObligatorio

    Full details of the newly created webhook, typically including ID, type, configuration, active status, and subscribed events.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a review comment for a pull requestGITHUB_CREATE_A_REVIEW_COMMENT_FOR_A_PULL_REQUESTAcción

Creates a review comment on a pull request's diff, targeting a specific line, range of lines, an entire file, or replying to an existing comment.

Parámetros de entrada

  • bodystringObligatorio

    Text content of the review comment.

  • lineinteger

    **Required unless `subject_type` is 'file'**. Line number in the diff for the comment; for multi-line, this is the last line of the range.

  • pathstringObligatorio

    Relative path of the file for the comment.

  • repostringObligatorio

    Repository name without the `.git` extension (not case sensitive).

  • sidestringenum

    Side of the diff (`LEFT` or `RIGHT`) for the comment in a split diff view; for multi-line comments, refers to the last line of the range.

    LEFTRIGHT
  • ownerstringObligatorio

    Account owner of the repository (not case sensitive).

  • positioninteger

    **Deprecated: Use `line` instead.** Position in the diff hunk for the comment (not the file line number).

  • commit_idstringObligatorio

    SHA of the commit for the comment. Using an outdated `commit_id` can misplace the comment if lines change.

  • start_lineinteger

    **Required for multi-line comments unless `in_reply_to` is used.** First line in the diff for a multi-line comment.

  • start_sidestringenum

    **Required for multi-line comments unless `in_reply_to` is used.** Starting side of the diff (`LEFT` or `RIGHT`) for a multi-line comment.

    LEFTRIGHTside
  • in_reply_tointeger

    ID of an existing review comment to reply to. If provided, other location parameters (except `body`) are ignored.

  • pull_numberintegerObligatorio

    Identifier of the pull request.

  • subject_typestringenum

    Level of the comment target: `line` (specific line) or `file` (entire file). Defaults to `line` if not provided.

    linefile

Parámetros de salida

  • dataobjectObligatorio

    Details of the newly created pull request review comment.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a review for a pull requestGITHUB_CREATE_A_REVIEW_FOR_A_PULL_REQUESTAcción

Creates 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`.

Parámetros de entrada

  • bodystring

    Review's main body text; required if `event` is `REQUEST_CHANGES` or `COMMENT`.

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • eventstringenum

    Review action type (`APPROVE`, `REQUEST_CHANGES`, `COMMENT`); if omitted, review is `PENDING` and requires later submission.

    APPROVEREQUEST_CHANGESCOMMENT
  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • commentsobject[]

    Inline draft review comments. Each object requires `path` (relative file path) and `body` (comment text). Optionally, specify `line` (or `start_line` for multi-line), and `side` (or `start_side`) for diff location. `position` is deprecated; use `line`. Example: `[{'path': 'file.py', 'line': 10, 'body': 'Refactor this.'}]`

  • commit_idstring

    SHA of the commit to review; defaults to the latest pull request commit. Outdated SHAs may lead to stale comments.

  • pull_numberintegerObligatorio

    Identifying number of the pull request.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a scoped access tokenGITHUB_CREATE_A_SCOPED_ACCESS_TOKENAcción

Exchanges a user-to-server token for a new, fine-grained scoped access token for a github app, requiring `client id`, `access token`, either `target` or `target id`, and at least one permission; for repository-specific scoping, provide either `repositories` (names) or `repository ids` (ids), but not both.

Parámetros de entrada

  • targetstring

    Username or organization name for scoping the new token. Required if `target_id` is not provided.

  • client_idstringObligatorio

    Client ID of the GitHub App.

  • target_idinteger

    ID of the user or organization for scoping the new token. Required if `target` is not provided.

  • access_tokenstringObligatorio

    User-to-server access token to be exchanged for a new scoped token.

  • repositoriesstring[]

    Repository names to scope the new token to. Cannot be used if `repository_ids` is specified.

  • repository_idsinteger[]

    Repository IDs to scope the new token to. Cannot be used if `repositories` is specified.

  • permissions__pagesstringenum

    Permission for GitHub Pages settings, statuses, configurations, builds, and creating new builds. Applies to target repositories.

    readwrite
  • permissions__checksstringenum

    Permission for checks on code (e.g., CI statuses). Applies to target repositories.

    readwrite
  • permissions__issuesstringenum

    Permission for issues, comments, assignees, labels, and milestones. Applies to target repositories.

    readwrite
  • permissions__actionsstringenum

    Permission for GitHub Actions workflows, workflow runs, and artifacts. Applies to target repositories.

    readwrite
  • permissions__membersstringenum

    Permission for organization members and teams. Applies to target organization.

    readwrite
  • permissions__profilestringenum

    Permission to manage profile settings for the user account. Applies to target user.

    write
  • permissions__secretsstringenum

    Permission for repository secrets (e.g., Actions secrets). Applies to target repositories.

    readwrite
  • permissions__contentsstringenum

    Permission for repository contents, commits, branches, downloads, releases, and merges. Applies to target repositories.

    readwrite
  • permissions__metadatastringenum

    Read-only permission for repository metadata, search, and collaborator listing. Applies to target repositories.

    readwrite
  • permissions__packagesstringenum

    Permission for packages in GitHub Packages. Applies to target repositories or organization.

    readwrite
  • permissions__starringstringenum

    Permission to list and manage repositories a user is starring. Applies to target user.

    readwrite
  • permissions__statusesstringenum

    Permission for commit statuses. Applies to target repositories.

    readwrite
  • permissions__followersstringenum

    Permission to manage followers for the user account. Applies to target user.

    readwrite
  • permissions__gpg__keysstringenum

    Permission to view and manage GPG keys for the user account. Applies to target user.

    readwrite
  • permissions__workflowsstringenum

    Permission for updating GitHub Actions workflow files. Requires `contents: write`. Applies to target repositories.

    write
  • permissions__codespacesstringenum

    Permission for Codespaces. Applies to target user/organization if repositories are not specified, otherwise to target repositories.

    readwrite
  • permissions__deploymentsstringenum

    Permission for deployments and deployment statuses. Applies to target repositories.

    readwrite
  • permissions__environmentsstringenum

    Permission for repository environments. Applies to target repositories.

    readwrite
  • permissions__single__filestringenum

    Permission to manage a single file. Requires `repository_ids` set to a single repository and `repositories` to a single file path.

    readwrite
  • permissions__administrationstringenum

    Permission for repository administration (settings, teams, collaborators). Applies to target repositories.

    readwrite
  • permissions__git__ssh__keysstringenum

    Permission to manage Git SSH keys for the user account. Applies to target user.

    readwrite
  • permissions__pull__requestsstringenum

    Permission for pull requests, comments, assignees, labels, milestones, and merges. Applies to target repositories.

    readwrite
  • permissions__email__addressesstringenum

    Permission to manage email addresses for the user account. Applies to target user.

    readwrite
  • permissions__security__eventsstringenum

    Permission for security events (e.g., code scanning alerts). Applies to target repositories.

    readwrite
  • permissions__repository__hooksstringenum

    Permission for repository webhooks. Applies to target repositories.

    readwrite
  • permissions__team__discussionsstringenum

    Permission for team discussions and related comments. Applies to target organization.

    readwrite
  • permissions__organization__planstringenum

    Read-only permission for viewing an organization's billing plan. Applies to target organization.

    read
  • permissions__dependabot__secretsstringenum

    Permission for Dependabot secrets for targeted repositories.

    readwrite
  • permissions__interaction__limitsstringenum

    Permission to view and manage interaction limits on a repository. Applies to target repositories or organization.

    readwrite
  • permissions__organization__hooksstringenum

    Permission for organization webhooks. Applies to target organization.

    readwrite
  • permissions__organization__eventsstringenum

    Read-only permission to view organization audit log events. Applies to target organization.

    read
  • permissions__repository__projectsstringenum

    Permission for repository projects, columns, and cards. Applies to target repositories.

    readwriteadmin
  • permissions__organization__secretsstringenum

    Permission for organization-level secrets (e.g., Actions secrets). Applies to target organization.

    readwrite
  • permissions__vulnerability__alertsstringenum

    Permission for Dependabot alerts. Applies to target repositories.

    readwrite
  • permissions__organization__packagesstringenum

    Permission for organization-level GitHub Packages. Applies to target organization.

    readwrite
  • permissions__organization__projectsstringenum

    Permission for organization projects and projects beta (if available). Applies to target organization.

    readwriteadmin
  • permissions__secret__scanning__alertsstringenum

    Permission for secret scanning alerts. Applies to target repositories.

    readwrite
  • permissions__organization__custom__rolesstringenum

    Permission for custom repository roles within an organization. Applies to target organization.

    readwrite
  • permissions__organization__administrationstringenum

    Permission for administrative settings of an organization. Applies to target organization.

    readwrite
  • permissions__organization__user__blockingstringenum

    Permission for viewing and managing users blocked by the organization. Applies to target organization.

    readwrite
  • permissions__repository__custom__propertiesstringenum

    Permission to view and edit repository custom properties, if allowed by property definition. Applies to target repositories.

    readwrite
  • permissions__organization__custom__org__rolesstringenum

    Permission for custom organization roles. Applies to target organization.

    readwrite
  • permissions__organization__custom__propertiesstringenum

    Permission for custom properties for an organization. Applies to target organization.

    readwriteadmin
  • permissions__organization__announcement__bannersstringenum

    Permission to view and manage organization announcement banners. Applies to target organization.

    readwrite
  • permissions__organization__self__hosted__runnersstringenum

    Permission for GitHub Actions self-hosted runners for an organization. Applies to target organization.

    readwrite
  • permissions__organization__personal__access__tokensstringenum

    Permission for fine-grained personal access tokens requested by organization members. Applies to target organization.

    readwrite
  • permissions__organization__copilot__seat__managementstringenum

    Permission for GitHub Copilot seat assignments for organization members (beta). Applies to target organization.

    write
  • permissions__organization__personal__access__token__requestsstringenum

    Permission for requests for fine-grained personal access tokens within an organization. Applies to target organization.

    readwrite

Parámetros de salida

  • dataobjectObligatorio

    Details of the newly created scoped access token, including the token, `expires_at`, `permissions`, and repository scope.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a dependency snapshotGITHUB_CREATE_A_SNAPSHOT_OF_DEPENDENCIES_FOR_A_REPOSITORYAcción

Creates 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.

Parámetros de entrada

  • refstringObligatorio

    Git reference (fully qualified, e.g., `refs/heads/main`) of the repository branch/tag that triggered this snapshot.

  • shastringObligatorio

    Commit SHA (maximum 40 characters) associated with this dependency snapshot.

  • repostringObligatorio

    Repository name, without `.git` extension (name is not case-sensitive).

  • ownerstringObligatorio

    Account owner of the repository (name is not case-sensitive).

  • job__idstring

    Optional external ID of the job that generated this snapshot.

  • scannedstringObligatoriodate-time

    UTC timestamp (ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ) when the snapshot was taken.

  • versionintegerObligatorio

    Version of the dependency snapshot submission, typically of the manifest or lock file format.

  • metadataobject

    Optional user-defined metadata for domain-specific information. Limited to 8 keys with scalar values (e.g., string, number, boolean).

  • manifestsobject

    Optional collection of package manifests (e.g., package-lock.json, pom.xml). Keys are manifest file names; values detail dependencies.

  • detector__urlstring

    Optional URL of the detector tool used.

  • detector__namestring

    Optional name of the tool used to detect dependencies.

  • job__html__urlstring

    Optional URL for the job that generated this snapshot.

  • job__correlatorstring

    Optional string to group snapshots. For a given `job.correlator` and `detector.name`, only the 'latest' snapshot is current. Useful to distinguish detection runs (e.g., concatenating GITHUB_WORKFLOW and GITHUB_JOB).

  • detector__versionstring

    Optional version of the detector tool used.

Parámetros de salida

  • dataobjectObligatorio

    ID of the created snapshot and a confirmation message.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a tag objectGITHUB_CREATE_A_TAG_OBJECTAcción

Creates an annotated git tag object in a repository, pointing to an existing git object (commit, tree, or blob) defined by its sha and ensuring the `type` field correctly specifies the object's type.

Parámetros de entrada

  • tagstringObligatorio

    The name of the tag, typically a version identifier (e.g., "v0.0.1").

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • typestringObligatorioenum

    The type of the Git object being tagged.

    committreeblob
  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • objectstringObligatorio

    The SHA of the Git object (commit, tree, or blob) that this tag is pointing to.

  • messagestringObligatorio

    The message associated with the tag.

  • tagger__datestringdate-time

    The timestamp for when this object was tagged. This should be in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.

  • tagger__namestring

    The name of the person creating the tag.

  • tagger__emailstring

    The email address of the person creating the tag.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a tag protection state for a repositoryGITHUB_CREATE_A_TAG_PROTECTION_STATE_FOR_A_REPOSITORYAcción

Creates a tag protection rule for a repository using a glob pattern; note: tag protections are deprecated (sunset august 30, 2024), migrate to repository rulesets.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. Not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). Not case sensitive.

  • patternstringObligatorio

    Glob pattern to protect tags. Examples: `v1.*` (protects tags starting with `v1.`), `*` (protects all tags).

Parámetros de salida

  • dataobjectObligatorio

    Empty dictionary, as a successful creation returns an empty body with a 201 status code.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a teamGITHUB_CREATE_A_TEAMAcción

Creates 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'.

Parámetros de entrada

  • orgstringObligatorio

    Organization name where the team will be created (not case-sensitive).

  • namestringObligatorio

    Name of the new team.

  • privacystringenum

    Team privacy: 'secret' (visible to owners and members) or 'closed' (visible to all org members). Defaults to 'secret' for non-nested teams; must be 'closed' if `parent_team_id` is set.

    secretclosed
  • permissionstringenum

    **Deprecated**. Default repository permission ('pull' for read access, 'push' for write access) for the team.

    pullpush
  • repo_namesstring[]

    Repository full names (e.g., "org-name/repo-name") for team access; repositories must exist and be accessible to the organization.

  • descriptionstring

    Team's purpose or focus.

  • maintainersstring[]

    GitHub user handles of organization members to be team maintainers; users must be organization members.

  • parent_team_idinteger

    ID of an existing team to be the parent, creating a nested team. If provided, new team `privacy` must be 'closed'.

  • notification_settingstringenum

    Notification settings for @mentions: 'notifications_enabled' (members notified) or 'notifications_disabled' (no one notified). Default: 'notifications_enabled'.

    notifications_enablednotifications_disabled

Parámetros de salida

  • dataobjectObligatorio

    Full representation of the newly created team from the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a temporary private forkGITHUB_CREATE_A_TEMPORARY_PRIVATE_FORKAcción

Creates 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.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension; not case-sensitive.

  • ownerstringObligatorio

    Account owner (username or organization) of the repository; not case-sensitive.

  • ghsa_idstringObligatorio

    Identifier for the GitHub Security Advisory (e.g., GHSA-rfv9-x7w6-39px) that the fork will address.

Parámetros de salida

  • dataobjectObligatorio

    Full repository object of the newly created temporary private fork.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a treeGITHUB_CREATE_A_TREEAcción

Creates 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • treeobject[]Obligatorio

    List of objects defining the tree structure. Each object (node) requires `path` (string), `mode` (string; e.g., '100644' file, '100755' executable, '040000' subdirectory/tree, '160000' submodule, '120000' symlink), and `type` (string: 'blob', 'tree', or 'commit'). For new/updated blobs, provide `content` (UTF-8 string). For existing objects or `tree`/`commit` types, provide `sha` (string). To delete, specify `path`, `mode`, `type`, and set `sha` to `null`.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • base_treestring

    SHA1 of an existing Git tree object to use as a base. If provided, its entries are combined with `tree` entries, where `tree` entries overwrite those from `base_tree` with the same path. Typically the SHA1 of the latest commit's tree for new branch changes. If omitted, the new tree is built from `tree` entries; files from the parent commit's tree not in `tree` are treated as deleted.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the created Git tree object. It includes the `sha` and `url` of the new tree, an array of `tree` items (nodes in the tree), and a `truncated` boolean flag indicating if the number of items in the tree array exceeded the maximum limit and was cut short.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a user projectGITHUB_CREATE_A_USER_PROJECTAcción

Creates a new github project board for the authenticated user to organize and track issues, pull requests, and notes.

Parámetros de entrada

  • bodystring

    Body or description for the new project.

  • namestringObligatorio

    Name for the new project.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a workflow dispatch eventGITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENTAcción

Manually triggers a github actions workflow identified by `workflow id` at a given `ref`, if the workflow is configured to accept `workflow dispatch` events.

Parámetros de entrada

  • refstringObligatorio

    Git reference (branch or tag) for the workflow.

  • repostringObligatorio

    Repository name, excluding the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Owner of the repository (username or organization, case-insensitive).

  • inputsobject

    Key-value inputs for the workflow, matching `on.workflow_dispatch.inputs` definitions (max 10); uses workflow defaults if omitted.

  • workflow_idintegerObligatorio

    Identifier of the workflow, which can be its numeric ID or filename (e.g., 'main.yml'); the GitHub API accepts either format.

Parámetros de salida

  • dataobjectObligatorio

    API response data; typically empty on successful dispatch (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create commit signature protectionGITHUB_CREATE_COMMIT_SIGNATURE_PROTECTIONAcción

Enables commit signature protection for a specified branch, requiring all new commits to be signed.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • branchstringObligatorio

    The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a custom deployment protection rule on an environmentGITHUB_CREATE_DEPLOYMENT_PROTECTION_RULEAcción

Enables a custom deployment protection rule for an existing environment in a repository by linking a configured github app (via `integration id`) to control deployments.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository where the environment exists. Do not include the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The GitHub username or organization name that owns the repository. This name is not case sensitive.

  • integration_idinteger

    The unique identifier of the GitHub App that provides the custom deployment protection rule. This app must be installed and configured for the repository.

  • environment_namestringObligatorio

    The name of the environment to which the protection rule will be applied. This name must be URL-encoded if it contains special characters (e.g., slashes `/` should be replaced with `%2F`).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the newly created custom deployment protection rule.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create JIT runner config for repoGITHUB_CREATE_JIT_RUNNER_CONFIGAcción

Generates 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.

Parámetros de entrada

  • namestringObligatorio

    The desired name for the new self-hosted runner.

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • labelsstring[]Obligatorio

    A list of custom labels to assign to the runner. These labels help in targeting specific runners for jobs. Minimum items: 1. Maximum items: 100.

  • work_folderstring

    The working directory for the runner, relative to its installation path. This is where job execution will take place.

  • runner_group_idintegerObligatorio

    The unique identifier of the runner group to which the new runner will be assigned. Use 0 for the default group or the ID of a specific runner group.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the JIT configuration for the runner. This typically includes an encoded JIT configuration string which contains a temporary, time-limited token used by the runner to authenticate and register itself with GitHub Actions, along with the repository URL.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update a custom property for an organizationGITHUB_CREATE_OR_UPDATE_A_CUSTOM_PROPERTY_FOR_AN_ORGANIZATIONAcción

Creates a new custom property (name must be unique for creation) or updates an existing one for an organization to define metadata for its repositories.

Parámetros de entrada

  • orgstringObligatorio

    The organization's unique identifier (case-insensitive).

  • requiredboolean

    If true, property must be set for all repositories and `default_value` is mandatory.

  • value_typestringObligatorioenum

    Data type of the custom property.

    stringsingle_select
  • descriptionstring

    Explanation of the custom property's purpose.

  • default_valuestring

    Default value if property isn't set. For `single_select` type, must be one of `allowed_values`.

  • allowed_valuesstring[]

    Ordered list of allowed values (up to 200). Required and non-empty if `value_type` is `single_select`.

  • custom_property_namestringObligatorio

    Name of the custom property (case-sensitive).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update an environmentGITHUB_CREATE_OR_UPDATE_AN_ENVIRONMENTAcción

Creates 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.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    The username or organization name of the repository owner (not case-sensitive).

  • reviewersobject[]

    Up to 6 users or teams allowed to review deployments. Reviewers need at least read access; one approval suffices. Each reviewer object requires `id` and `type` ('User' or 'Team').

  • wait_timerinteger

    Time in minutes to delay a job after it's triggered (0-43,200, i.e., up to 30 days).

  • environment_namestringObligatorio

    Name of the environment. URL-encode if it contains special characters (e.g., '/' becomes '%2F').

  • prevent_self_reviewboolean

    If true, prevents the user who triggered deployment from approving their own job.

  • deployment__branch__policy__protected__branchesboolean

    If true, only branches with existing protection rules can deploy; `deployment_branch_policy_custom_branch_policies` must then be false.

  • deployment__branch__policy__custom__branch__policiesboolean

    If true, deployment is restricted to branches matching custom name patterns; `deployment_branch_policy_protected_branches` must then be false.

Parámetros de salida

  • dataobjectObligatorio

    Details of the created or updated environment, structured as per GitHub API's environment object.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update an environment secretGITHUB_CREATE_OR_UPDATE_AN_ENVIRONMENT_SECRETAcción

Creates or updates an environment secret with an `encrypted value` that was encrypted using the public key identified by `key id` for the specified environment.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository. Not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. Not case-sensitive.

  • key_idstringObligatorio

    ID of the public key used for encryption, obtained from the 'Get an environment public key' GitHub API endpoint.

  • secret_namestringObligatorio

    Name of the secret. Case-sensitive.

  • encrypted_valuestringObligatorio

    Value of the secret, encrypted with LibSodium using the public key obtained from the 'Get an environment public key' GitHub API endpoint for the target environment.

  • environment_namestringObligatorio

    Name of the environment. Case-sensitive; URL-encode special characters (e.g., `/` becomes `%2F`).

Parámetros de salida

  • dataobjectObligatorio

    Empty dictionary indicating successful secret creation (201 status) or update (204 status).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update an organization secretGITHUB_CREATE_OR_UPDATE_AN_ORGANIZATION_SECRETAcción

Creates or updates an organization secret for github actions, requiring its value to be pre-encrypted via libsodium using the organization's public key.

Parámetros de entrada

  • orgstringObligatorio

    The organization name. The name is not case sensitive.

  • key_idstring

    ID of the public key (from 'Get an organization public key' endpoint) used for encryption. Required if `encrypted_value` is provided.

  • visibilitystringObligatorioenum

    Controls which repositories can access the secret. If 'selected', `selected_repository_ids` must be provided.

    allprivateselected
  • secret_namestringObligatorio

    The name of the secret.

  • encrypted_valuestring

    Value for the secret, pre-encrypted using LibSodium with the organization's public key (obtained from 'Get an organization public key' endpoint). Required if creating a new secret or updating its value.

  • selected_repository_idsinteger[]

    List of repository IDs that can access this secret. Required and only applicable when `visibility` is 'selected'.

Parámetros de salida

  • dataobject

    API response. Typically an empty body for successful creation (201) or update (204); may contain data for errors.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update a repository secretGITHUB_CREATE_OR_UPDATE_A_REPOSITORY_SECRETAcción

Creates or updates a github actions secret within a specific repository; use `encrypted value` and `key id` to set or change its value.

Parámetros de entrada

  • repostringObligatorio

    The repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    The repository owner's username or organization name (case-insensitive).

  • key_idstring

    ID of the public key used to encrypt `encrypted_value` (obtained with the public key). Required if `encrypted_value` is provided.

  • secret_namestringObligatorio

    The name for the secret being created or updated.

  • encrypted_valuestring

    Value for the secret, pre-encrypted with the repository's public key using LibSodium (public key is obtained via 'Get a repository public key' endpoint).

Parámetros de salida

  • dataobjectObligatorio

    API response; typically empty for successful creation (201) or update (204) as GitHub returns an empty response body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update a secret for the authenticated userGITHUB_CREATE_OR_UPDATE_A_SECRET_FOR_THE_AUTHENTICATED_USERAcción

Creates or updates a codespaces secret for the authenticated user; `encrypted value` must be encrypted with the public key (id: `key id`) from github's 'get public key for the authenticated user' endpoint.

Parámetros de entrada

  • key_idstringObligatorio

    ID of the public key (from GitHub's 'Get public key for the authenticated user' endpoint) used to encrypt `encrypted_value`.

  • secret_namestringObligatorio

    The name of the secret. This name must be unique among the user's Codespaces secrets.

  • encrypted_valuestring

    Secret's value, encrypted using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) with the public key (see `key_id`) obtained from GitHub's 'Get public key for the authenticated user' endpoint.

  • selected_repository_idsinteger[]

    Repository IDs that can access this secret. If omitted or empty, accessible to all user's Codespaces-enabled repositories.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update custom properties for an organizationGITHUB_CREATE_OR_UPDATE_CUSTOM_PROPERTIES_FOR_AN_ORGANIZATIONAcción

Creates new custom property schemas or updates existing ones in bulk for a specified organization; each property definition must include `property name` and `value type`.

Parámetros de entrada

  • orgstringObligatorio

    The case-insensitive organization name.

  • propertiesobject[]Obligatorio

    Definitions for custom properties. Each must include a unique `property_name` (max 75 chars, no spaces) and `value_type`. Optional: `description`, `required`, `default_value`, `allowed_values` (for 'single_select' type).

Parámetros de salida

  • dataobjectObligatorio

    The organization's complete list of custom property definitions post-operation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update repository custom property valuesGITHUB_CREATE_OR_UPDATE_CUSTOM_PROPERTY_VALUES_FOR_A_REPOSITORYAcción

Creates 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • propertiesobject[]Obligatorio

    A list of custom property objects to create or update for the repository. Each object in the list must contain `property_name` (string identifying the custom property) and `value` (the value for the property, which can be a string, number, or a single-select option, matching the property's defined type).

Parámetros de salida

  • dataobject

    A dictionary containing the API response data. For this operation, a successful request typically returns an HTTP 204 No Content status, which may result in this dictionary being empty or not populated, depending on the API client's handling.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update file contentsGITHUB_CREATE_OR_UPDATE_FILE_CONTENTSAcción

Creates a new file or updates an existing file in a github repository; provide `sha` to update an existing file, otherwise a new file is created.

Parámetros de entrada

  • shastring

    The blob SHA of the file being replaced. Required to update an existing file; omit to create a new file.

  • pathstringObligatorio

    The full path to the file in the repository, including the filename and extension.

  • repostringObligatorio

    The name of the repository (not case sensitive, without the `.git` extension).

  • ownerstringObligatorio

    The account owner of the repository (not case sensitive).

  • branchstring

    The branch name. Defaults to the repository’s default branch if omitted.

  • contentstringObligatorio

    The new file content, Base64 encoded. For example, to upload the text 'Hello World', use 'SGVsbG8gV29ybGQ='.

  • messagestringObligatorio

    The commit message for this file creation or update.

  • author__datestring

    Author's timestamp (ISO 8601 format). Defaults to committer's date if author details are provided but date is not.

  • author__namestring

    Author's name. If specified, `author_email` is also required. Defaults to committer details; if all committer/author details omitted, GitHub uses authenticated user.

  • author__emailstring

    Author's email. If specified, `author_name` is also required. Defaults to committer details; if all committer/author details omitted, GitHub uses authenticated user.

  • committer__datestring

    Committer's commit timestamp (ISO 8601 format). Defaults to current time if committer details are provided but date is not.

  • committer__namestring

    Committer's name. If specified, `committer_email` is also required. GitHub uses authenticated user if all committer/author details omitted.

  • committer__emailstring

    Committer's email. If specified, `committer_name` is also required. GitHub uses authenticated user if all committer/author details omitted.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update repo secret with encrypted valueGITHUB_CREATE_OR_UPDATE_REPO_SECRET_WITH_ENCRYPTED_VALUEAcción

Creates 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`.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This name is not case-sensitive.

  • key_idstring

    The ID of the public key that was used to encrypt the secret value. This ID is retrieved from GitHub along with the public key via the 'Get a repository public key' endpoint for Dependabot secrets.

  • secret_namestringObligatorio

    The name of the Dependabot secret to create or update.

  • encrypted_valuestring

    Value for your secret. This value must be encrypted with LibSodium, using the public key retrieved from the GitHub API's 'Get a repository public key' endpoint for Dependabot secrets. The resulting encrypted string is typically Base64 encoded.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API. Upon successful creation (HTTP 201 status) or update (HTTP 204 status) of the secret, this field is typically an empty dictionary. In other cases, such as errors, it may contain relevant details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create reaction for a commit commentGITHUB_CREATE_REACTION_FOR_A_COMMIT_COMMENTAcción

Creates an emoji reaction for a commit comment; if the user has already reacted with the same content, details of the existing reaction are returned.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension. Not case-sensitive.

  • ownerstringObligatorio

    Username of the repository owner. Not case-sensitive.

  • contentstringObligatorioenum

    The [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions) to add to the commit comment.

    +1-1laughconfusedhearthoorayrocketeyes
  • comment_idintegerObligatorio

    Unique ID of the commit comment.

Parámetros de salida

  • dataobjectObligatorio

    Details of the created or existing reaction, including its ID, user, reaction content (e.g., 'heart'), and creation timestamp.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create reaction for an issueGITHUB_CREATE_REACTION_FOR_AN_ISSUEAcción

Creates a reaction for a specified issue within a github repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case-sensitive.

  • contentstringObligatorioenum

    The reaction type to add to the issue. See the [GitHub documentation on reactions](https://docs.github.com/rest/reactions/reactions#about-reactions) for full details.

    +1-1laughconfusedhearthoorayrocketeyes
  • issue_numberintegerObligatorio

    The number that identifies the issue.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the created reaction. Key fields typically include `id` (reaction ID), `node_id`, `user` (an object detailing the user who reacted), `content` (the reaction emoji, e.g., '+1'), and `created_at` (timestamp of creation).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create reaction for an issue commentGITHUB_CREATE_REACTION_FOR_AN_ISSUE_COMMENTAcción

Creates a reaction for a specific comment on an issue within a github repository.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username of the account that owns the repository (not case-sensitive).

  • contentstringObligatorioenum

    Reaction content to add to the issue comment. Must be one of the values from `ContentEnm`.

    +1-1laughconfusedhearthoorayrocketeyes
  • comment_idintegerObligatorio

    Unique identifier of the issue comment.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create reaction for a pull request review commentGITHUB_CREATE_REACTION_FOR_A_PULL_REQUEST_REVIEW_COMMENTAcción

Adds a specified reaction to a pull request review comment within a github repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is case-insensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is case-insensitive.

  • contentstringObligatorioenum

    The reaction to add. See the [GitHub API documentation on reactions](https://docs.github.com/rest/reactions/reactions#about-reactions) for more context on reactions.

    +1-1laughconfusedhearthoorayrocketeyes
  • comment_idintegerObligatorio

    The unique identifier of the pull request review comment to which the reaction will be added.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the created reaction, such as its ID, the user who created it, and the content of the reaction.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create reaction for a releaseGITHUB_CREATE_REACTION_FOR_A_RELEASEAcción

Creates an emoji reaction for a specific, existing release in a github repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • contentstringObligatorioenum

    The type of reaction to add to the release.

    +1laughhearthoorayrocketeyes
  • release_idintegerObligatorio

    The unique identifier (ID) of the release to add a reaction to.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the created reaction, such as its ID, user, and content.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create reaction for a team discussionGITHUB_CREATE_REACTION_FOR_A_TEAM_DISCUSSIONAcción

Creates a reaction for a team discussion within a github organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • contentstringObligatorioenum

    The reaction content to add to the team discussion.

    +1-1laughconfusedhearthoorayrocketeyes
  • team_slugstringObligatorio

    The slug (URL-friendly version) of the team name.

  • discussion_numberintegerObligatorio

    The unique number identifying the team discussion.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the created reaction, such as its ID, content, and user information as returned by the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create reaction for a team discussion commentGITHUB_CREATE_REACTION_FOR_A_TEAM_DISCUSSION_COMMENTAcción

Adds a reaction to a team discussion comment, requiring the specified organization, team, discussion, and comment to exist.

Parámetros de entrada

  • orgstringObligatorio

    The organization name on GitHub. This name is not case sensitive.

  • contentstringObligatorioenum

    The type of reaction to add to the team discussion comment. For more information on reaction types, see the [GitHub API documentation on reactions](https://docs.github.com/rest/reactions/reactions#about-reactions).

    +1-1laughconfusedhearthoorayrocketeyes
  • team_slugstringObligatorio

    The slug (URL-friendly version) of the team name.

  • comment_numberintegerObligatorio

    The unique number identifying the comment within the discussion.

  • discussion_numberintegerObligatorio

    The unique number identifying the team discussion.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the created reaction object. This typically includes details like the reaction's ID, the user who created it, the reaction content (e.g., '+1', 'heart'), and timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or Update Organization Secret with LibSodiumGITHUB_CREATE_UPDATE_ORG_SECRET_WITH_LIB_SODIUMAcción

Creates 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.

Parámetros de entrada

  • orgstringObligatorio

    The organization name (case-insensitive).

  • key_idstring

    ID of the public key used for encryption (retrieved from 'Get an organization public key' endpoint). Required if `encrypted_value` is provided.

  • visibilitystringObligatorioenum

    Secret visibility: `all` (all repositories), `private` (private repositories), or `selected` (specific repositories designated by `selected_repository_ids`).

    allprivateselected
  • secret_namestringObligatorio

    The secret name (case-insensitive and unique within the organization).

  • encrypted_valuestring

    Value of the secret, encrypted using [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) and the organization's public key (obtained from 'Get an organization public key' endpoint). Required to create or update the secret's value.

  • selected_repository_idsstring[]

    List of repository IDs that can access the secret; required and used only when `visibility` is `selected`.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Customize OIDC subject claim templateGITHUB_CUSTOMIZE_OIDC_SUBJECT_CLAIM_TEMPLATEAcción

Retrieves the openid connect (oidc) subject claim customization template for a repository, which defines the `sub` claim structure in oidc tokens for github actions workflows; returns the default configuration if no customization is applied.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Details the OIDC subject claim customization for the repository, indicating whether it uses the default subject claim (e.g., `{'use_default': True}`) or specifies custom claims to include (e.g., `{'include_claim_keys': ['repo', 'context']}`).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get custom OIDC subject claim templateGITHUB_CUSTOM_OIDCSUBJECT_CLAIM_TEMPLATEAcción

Retrieves 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.

Parámetros de entrada

  • orgstringObligatorio

    The unique identifier of the GitHub organization. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the OIDC subject claim customization template. This object will contain either a `use_default: true` field, indicating that the default subject claim customization is used, or an `include_claim_keys: [...]` field, specifying an ordered list of context attributes (e.g., `repo`, `context`, `job_workflow_ref`) to use for the OIDC subject claim.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set custom OIDC subject claim templateGITHUB_CUSTOM_OIDCSUBJECT_CLAIM_TEMPLATE_SETTERAcción

Sets 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`.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Owner of the repository (username or organization name, case-insensitive).

  • use_defaultbooleanObligatorio

    If true, applies the default GitHub-provided OIDC subject claim template (ignoring `include_claim_keys`); if false, a custom template defined by `include_claim_keys` is used.

  • include_claim_keysstring[]

    Array of unique OIDC claim strings (alphanumeric and underscores) for the token. Used only if `use_default` is `false`. Consult GitHub's OIDC documentation for supported claim keys.

Parámetros de salida

  • dataobjectObligatorio

    API response. May be empty on success (e.g., 204 No Content) or contain details of the configured template (e.g., 201 Created).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Decline a repository invitationGITHUB_DECLINE_A_REPOSITORY_INVITATIONAcción

Declines a specific, pending repository invitation for the authenticated user, identified by its `invitation id`.

Parámetros de entrada

  • invitation_idintegerObligatorio

    Identifier of the pending repository invitation to decline; obtained by listing the user's pending invitations.

Parámetros de salida

  • dataobjectObligatorio

    Response data. Empty for a successful decline (HTTP 204 No Content); contains error details for failures with a response body (e.g., 4xx errors).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete access restrictionsGITHUB_DELETE_ACCESS_RESTRICTIONSAcción

Removes all user, team, and app-based access restrictions from a protected branch.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This field is not case-sensitive.

  • branchstringObligatorio

    The name of the branch from which to remove access restrictions. Wildcard characters are not supported; for wildcard usage, refer to the GitHub GraphQL API.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary upon successful removal of access restrictions, typically corresponding to a 204 No Content HTTP status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a code scanning analysis from a repositoryGITHUB_DELETE_A_CODE_SCANNING_ANALYSIS_FROM_A_REPOSITORYAcción

Deletes 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.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository without the `.git` extension (not case sensitive).

  • ownerstringObligatorio

    Account owner of the repository (not case sensitive).

  • analysis_idintegerObligatorio

    Unique identifier of the code scanning analysis to delete, typically obtained by listing analyses.

  • confirm_deletestring

    Pass `true` to confirm deletion if this is the last analysis for a specific tool and reference, preventing accidental data loss and a 400 error.

Parámetros de salida

  • dataobjectObligatorio

    Contains `next_analysis_url` and `previous_analysis_url` for navigation to the next or previous analysis for the same reference and tool, if available (can be `null`).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a codespace for the authenticated userGITHUB_DELETE_A_CODESPACE_FOR_THE_AUTHENTICATED_USERAcción

Deletes a specific codespace owned by the authenticated user; this is a destructive action and the codespace must exist.

Parámetros de entrada

  • codespace_namestringObligatorio

    The unique name of the codespace to be deleted. This can be the system-generated name (e.g., 'monalisa-octocat-g4v9wxj96hp') or a user-defined display name if it's unique for the user.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a codespace from the organizationGITHUB_DELETE_A_CODESPACE_FROM_THE_ORGANIZATIONAcción

Permanently deletes a specific codespace belonging to a member of the specified organization.

Parámetros de entrada

  • orgstringObligatorio

    The organization's name (case-insensitive).

  • usernamestringObligatorio

    GitHub username of the user owning the codespace.

  • codespace_namestringObligatorio

    Unique name of the codespace.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary; the operation typically returns a 202 (Accepted) or 204 (No Content) status with no body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a commit commentGITHUB_DELETE_A_COMMIT_COMMENTAcción

Deletes a specific commit comment, identified by its `comment id`, from the specified repository; the comment must exist.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, excluding the `.git` extension. This value is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This value is not case-sensitive.

  • comment_idintegerObligatorio

    The unique numerical identifier of the commit comment to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary, as a successful deletion results in an HTTP 204 No Content response (no body).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a commit comment reactionGITHUB_DELETE_A_COMMIT_COMMENT_REACTIONAcción

Deletes a reaction from a commit comment in a github repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • comment_idintegerObligatorio

    The unique identifier of the commit comment from which the reaction will be deleted.

  • reaction_idintegerObligatorio

    The unique identifier of the reaction to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API. For a successful deletion (HTTP 204 No Content), this field is typically empty. It might contain error details if the request fails.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a custom organization roleGITHUB_DELETE_A_CUSTOM_ORGANIZATION_ROLEAcción

Deletes a custom organization role (which should not be actively assigned) by its id; a 204 no content response indicates success.

Parámetros de entrada

  • orgstringObligatorio

    The organization name (not case-sensitive).

  • role_idintegerObligatorio

    Unique ID of the custom role to delete.

Parámetros de salida

  • dataobject

    Response data; typically empty as a 204 No Content status indicates successful deletion.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a deploy keyGITHUB_DELETE_A_DEPLOY_KEYAcción

Deletes 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • key_idintegerObligatorio

    The unique identifier (ID) of the deploy key to be deleted.

Parámetros de salida

  • dataobject

    Typically empty for a successful deletion (204 No Content). May contain data in other scenarios, such as an error response.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a deploymentGITHUB_DELETE_A_DEPLOYMENTAcción

Permanently deletes a specified *inactive* deployment from a repository.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • deployment_idintegerObligatorio

    Unique identifier of the deployment to delete.

Parámetros de salida

  • dataobjectObligatorio

    Empty dictionary, indicating successful deletion.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a deployment branch policyGITHUB_DELETE_A_DEPLOYMENT_BRANCH_POLICYAcción

Deletes a specific deployment branch or tag policy, identified by its id, from a given environment within a repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • branch_policy_idintegerObligatorio

    The unique identifier of the branch policy.

  • environment_namestringObligatorio

    The name of the environment. The name must be URL encoded. For example, any slashes in the name must be replaced with `%2F`.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a discussionGITHUB_DELETE_A_DISCUSSIONAcción

Deletes a specific team discussion, identified by its number, from an organization's team.

Parámetros de entrada

  • orgstringObligatorio

    Case-insensitive name of the organization.

  • team_slugstringObligatorio

    URL-friendly version (slug) of the team name.

  • discussion_numberintegerObligatorio

    The unique number identifying the discussion to be deleted.

Parámetros de salida

  • dataobject

    Data from the response. Typically an empty dictionary for a successful deletion (204 No Content) as no content is returned.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a discussion commentGITHUB_DELETE_A_DISCUSSION_COMMENTAcción

Deletes a specific comment from an existing team discussion within an organization, provided the specified organization, team, discussion, and comment all exist.

Parámetros de entrada

  • orgstringObligatorio

    The organization name (not case sensitive).

  • team_slugstringObligatorio

    The slug of the team name (URL-friendly version).

  • comment_numberintegerObligatorio

    Unique number identifying the comment.

  • discussion_numberintegerObligatorio

    Unique number identifying the discussion.

Parámetros de salida

  • dataobjectObligatorio

    Response data; typically empty for a successful deletion (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete admin branch protectionGITHUB_DELETE_ADMIN_BRANCH_PROTECTIONAcción

Removes admin enforcement from a protected branch (branch name cannot contain wildcard characters) in a repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • branchstringObligatorio

    The name of the branch. Cannot contain wildcard characters.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a fileGITHUB_DELETE_A_FILEAcción

Deletes a file by path from a github repository, requiring a commit message and the file's current blob sha to confirm the deletion.

Parámetros de entrada

  • shastringObligatorio

    Blob SHA of the file being deleted, required to ensure the correct file version.

  • pathstringObligatorio

    Path to the file to be deleted within the repository.

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    The account owner of the repository (not case-sensitive).

  • branchstring

    Branch from which the file will be deleted; defaults to the repository's default branch.

  • messagestringObligatorio

    Commit message for the deletion.

  • author__namestring

    Name of the commit author for the deletion; defaults to the committer's name.

  • author__emailstring

    Email address of the commit author for the deletion; defaults to the committer's email.

  • committer__namestring

    Name of the user committing the deletion; defaults to the authenticated user's name.

  • committer__emailstring

    Email address of the user committing the deletion; defaults to the authenticated user's email.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a gistGITHUB_DELETE_A_GISTAcción

Permanently deletes an existing github gist, specified by its `gist id`; this action is destructive and cannot be undone.

Parámetros de entrada

  • gist_idstringObligatorio

    The unique identifier of the gist to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary, as a successful deletion typically returns a 204 No Content status with no body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a gist commentGITHUB_DELETE_A_GIST_COMMENTAcción

Deletes a specific comment from a github gist using its `gist id` and `comment id`.

Parámetros de entrada

  • gist_idstringObligatorio

    The unique identifier of the Gist from which the comment will be deleted.

  • comment_idintegerObligatorio

    The unique identifier of the comment to be deleted.

Parámetros de salida

  • dataobject

    A dictionary that is empty for a successful deletion. In case of an error, this may contain details about the error.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a GitHub Pages siteGITHUB_DELETE_A_GITHUB_PAGES_SITEAcción

Deletes the github pages site for the specified repository; completes without error if no site is currently enabled.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a user or organization). This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a labelGITHUB_DELETE_A_LABELAcción

Permanently removes an existing label from a repository.

Parámetros de entrada

  • namestringObligatorio

    The name of the label to delete. Label names are case-insensitive. If the label name contains spaces or special characters, ensure it is correctly URL-encoded (e.g., 'help wanted' becomes 'help%20wanted').

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobject

    Typically an empty dictionary. A successful deletion operation returns a 204 No Content HTTP status, meaning there is no body in the response from the API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a milestoneGITHUB_DELETE_A_MILESTONEAcción

Deletes the specified milestone if it exists; this operation is idempotent, typically returning a 404 if the milestone is not found or already deleted.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This name is not case-sensitive.

  • milestone_numberintegerObligatorio

    The unique number that identifies the milestone to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    A placeholder for response data. Since a successful milestone deletion (HTTP 204 No Content) does not return a body, this field will generally be empty or not applicable.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an app authorizationGITHUB_DELETE_AN_APP_AUTHORIZATIONAcción

Revokes a single, specific oauth access token for an oauth app, not all authorizations for the app.

Parámetros de entrada

  • client_idstringObligatorio

    The client ID of the OAuth App for which the token grant is being revoked.

  • access_tokenstringObligatorio

    The specific OAuth access token to be revoked.

Parámetros de salida

  • dataobjectObligatorio

    The response data from the API. For a successful revocation, which typically returns a 204 No Content status, this field will be empty or not applicable as no response body is returned.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an app tokenGITHUB_DELETE_AN_APP_TOKENAcción

Revokes an oauth access token for a github app, if the app exists and the token was issued to it.

Parámetros de entrada

  • client_idstringObligatorio

    The client ID of the GitHub App.

  • access_tokenstringObligatorio

    The OAuth access token to be revoked.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary confirming that the token has been successfully revoked.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an artifactGITHUB_DELETE_AN_ARTIFACTAcción

Deletes a github artifact by its id within a repository, typically resulting in an empty response (http 204 no content) on success.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension; not case-sensitive.

  • ownerstringObligatorio

    Account owner of the repository (user or organization); not case-sensitive.

  • artifact_idintegerObligatorio

    Unique ID of the artifact to delete.

Parámetros de salida

  • dataobjectObligatorio

    Response data; typically empty for a successful deletion (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an autolink reference from a repositoryGITHUB_DELETE_AN_AUTOLINK_REFERENCE_FROM_A_REPOSITORYAcción

Deletes a specific autolink reference (which automatically links external resource ids like jira-123 to urls) from the specified repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This is not case-sensitive.

  • autolink_idintegerObligatorio

    The unique numerical identifier of the autolink reference to be deleted.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete authenticated user email addressGITHUB_DELETE_AN_EMAIL_ADDRESS_FOR_THE_AUTHENTICATED_USERAcción

Sends an empty request body to `delete /user/emails` to attempt deletion of user email addresses; the api typically requires specific emails, so outcome may vary.

Parámetros de entrada

  • emailsstring[]Obligatorio

    Array of email addresses to delete from the authenticated user account.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an environmentGITHUB_DELETE_AN_ENVIRONMENTAcción

Deletes an existing deployment environment from an existing repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This is not case sensitive.

  • environment_namestringObligatorio

    The name of the environment to delete. The name must be URL encoded; for example, slashes (`/`) should be replaced with `%2F`.

Parámetros de salida

  • dataobject

    Contains an empty dictionary on successful deletion, as the API returns a 204 No Content status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an environment secretGITHUB_DELETE_AN_ENVIRONMENT_SECRETAcción

Deletes an existing and accessible secret from a specified environment within a github repository, returning an empty dictionary on success or error details otherwise.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • secret_namestringObligatorio

    The name of the secret to be deleted. GitHub stores and processes secret names as uppercase (e.g., `my_secret` becomes `MY_SECRET`).

  • environment_namestringObligatorio

    The name of the environment from which the secret will be deleted. This name must be URL-encoded if it contains special characters (e.g., slashes `/` should be replaced with `%2F`).

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary upon successful deletion. If an error occurs (e.g., secret not found, insufficient permissions), this field may contain details about the error.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an environment variableGITHUB_DELETE_AN_ENVIRONMENT_VARIABLEAcción

Deletes a named environment variable from a specified, existing environment within a github repository.

Parámetros de entrada

  • namestringObligatorio

    The name of the environment variable to delete.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • environment_namestringObligatorio

    The name of the environment. Must be URL-encoded if it contains special characters (e.g., slashes `/` should be `%2F`).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an issue commentGITHUB_DELETE_AN_ISSUE_COMMENTAcción

Permanently deletes a specific comment by its id from an issue or pull request, if the repository exists and the comment id is valid.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • comment_idintegerObligatorio

    Unique identifier of the comment to delete.

Parámetros de salida

  • dataobjectObligatorio

    Response body; typically empty upon successful deletion (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an issue comment reactionGITHUB_DELETE_AN_ISSUE_COMMENT_REACTIONAcción

Deletes a reaction from an issue comment in a repository; the repository, comment, and reaction must exist.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case-sensitive.

  • comment_idintegerObligatorio

    The unique numeric identifier for the issue comment from which the reaction will be deleted.

  • reaction_idintegerObligatorio

    The unique numeric identifier for the reaction to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    The response body. For a successful deletion (HTTP 204 No Content), this field may not be populated or relevant.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an issue reactionGITHUB_DELETE_AN_ISSUE_REACTIONAcción

Permanently removes a specific reaction from an issue in a github repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • reaction_idintegerObligatorio

    The unique identifier of the reaction to be deleted.

  • issue_numberintegerObligatorio

    The unique number identifying the issue from which the reaction will be deleted.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response data. For this specific action, upon successful deletion, the GitHub API returns a 204 No Content status, so this dictionary will be empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an organizationGITHUB_DELETE_AN_ORGANIZATIONAcción

Deletes a github organization and its repositories; this is a destructive action and the organization name will be unavailable for reuse for approximately 90 days.

Parámetros de entrada

  • orgstringObligatorio

    The unique name of the organization to be deleted. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Provides deletion status information for accepted requests (asynchronous processing) or error details on failure; typically empty for successful synchronous deletions (204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an organization secretGITHUB_DELETE_AN_ORGANIZATION_SECRETAcción

Permanently deletes a secret from a github organization, making it inaccessible to github actions workflows or other tools.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

  • secret_namestringObligatorio

    The name of the secret to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary. A successful deletion typically results in a 204 No Content response, meaning this field will be empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an organization variableGITHUB_DELETE_AN_ORGANIZATION_VARIABLEAcción

Deletes a named github actions variable from a specified organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This parameter is not case-sensitive.

  • namestringObligatorio

    The name of the organization variable to delete. This parameter is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an organization webhookGITHUB_DELETE_AN_ORGANIZATION_WEBHOOKAcción

Deletes a specific webhook, identified by `hook id`, from an existing organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This field is not case-sensitive.

  • hook_idintegerObligatorio

    The unique identifier of the webhook. This ID can be retrieved from the `X-GitHub-Hook-ID` header in a webhook delivery or by listing organization webhooks.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that might contain response data for non-204 responses or detailed error messages. For a successful deletion (204 No Content), this field is generally not populated as the response body is empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a package for an organizationGITHUB_DELETE_A_PACKAGE_FOR_AN_ORGANIZATIONAcción

Deletes a specific package in an organization; cannot delete public packages with over 5,000 downloads.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization owning the package (not case-sensitive).

  • package_namestringObligatorio

    Unique name of the package to be deleted.

  • package_typestringObligatorioenum

    Type of the package to be deleted. Packages in GitHub's Gradle registry have type `maven`. Docker images in GitHub's Container registry (`ghcr.io`) have type `container`. Use type `docker` for images previously in GitHub's Docker registry (`docker.pkg.github.com`), even if migrated to the Container registry.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a package for a userGITHUB_DELETE_A_PACKAGE_FOR_A_USERAcción

Deletes 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.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username of the account that owns the package.

  • package_namestringObligatorio

    The unique name of the package to be deleted.

  • package_typestringObligatorioenum

    Ecosystem of the package. Packages in GitHub's Gradle registry use `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) use `container`. The `docker` type can find images from the old Docker registry (`docker.pkg.github.com`), even if migrated.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a package for the authenticated userGITHUB_DELETE_A_PACKAGE_FOR_THE_AUTHENTICATED_USERAcción

Permanently deletes a specific package owned by the authenticated user; public packages downloaded over 5,000 times cannot be deleted via this api.

Parámetros de entrada

  • package_namestringObligatorio

    The unique name of the package to be deleted.

  • package_typestringObligatorioenum

    Specifies package type. Note: GitHub Gradle packages are 'maven'; ghcr.io images are 'container'; 'docker' type helps find images migrated from docker.pkg.github.com.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio

    Contains the API response data. For a successful package deletion, this is typically an empty object or provides minimal confirmation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a package version for the authenticated userGITHUB_DELETE_A_PACKAGE_VERSION_FOR_THE_AUTHENTICATED_USERAcción

Deletes an existing package version associated with the authenticated user.

Parámetros de entrada

  • package_namestringObligatorio

    The unique name of the package.

  • package_typestringObligatorioenum

    Type of the package. E.g., `maven` for GitHub Gradle registry, `container` for `ghcr.io` images. The `docker` type covers images from `docker.pkg.github.com` (including migrated ones).

    npmmavenrubygemsdockernugetcontainer
  • package_version_idintegerObligatorio

    The unique numeric identifier of the specific package version to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    Empty dictionary; the API returns 204 No Content on successful deletion, meaning no response body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a pending review for a pull requestGITHUB_DELETE_A_PENDING_REVIEW_FOR_A_PULL_REQUESTAcción

Deletes a pending (unsubmitted) review from a pull request; this is only possible if the review has not yet been submitted.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • review_idintegerObligatorio

    The unique identifier of the pending review to be deleted.

  • pull_numberintegerObligatorio

    The number that identifies the pull request.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the pull request review object that was deleted.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a projectGITHUB_DELETE_A_PROJECTAcción

Deletes the github project specified by `project id` if the project exists and the projects feature is enabled for its repository or organization; a successful deletion results in a 204 no content response.

Parámetros de entrada

  • project_idintegerObligatorio

    The unique identifier of the project to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    Typically an empty dictionary as a successful deletion returns HTTP 204 No Content; contains error details otherwise.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a project cardGITHUB_DELETE_A_PROJECT_CARDAcción

Deletes a project card from a github 'project (classic)'; this operation is idempotent.

Parámetros de entrada

  • card_idintegerObligatorio

    The unique numerical identifier of the project card to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that is typically empty. A successful deletion (HTTP 204 No Content status) means there is no content in the response body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a project columnGITHUB_DELETE_A_PROJECT_COLUMNAcción

Deletes a project column by its id from a github project (classic); this is a destructive operation.

Parámetros de entrada

  • column_idintegerObligatorio

    The unique identifier of the project column to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary, indicating successful deletion (204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a pull request comment reactionGITHUB_DELETE_A_PULL_REQUEST_COMMENT_REACTIONAcción

Deletes a specific reaction from a pull request review comment, provided the comment and reaction exist on that comment within the specified repository.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension; not case-sensitive.

  • ownerstringObligatorio

    Account owner (username or organization) of the repository; not case-sensitive.

  • comment_idintegerObligatorio

    Unique ID of the pull request review comment.

  • reaction_idintegerObligatorio

    Unique ID of the reaction to delete.

Parámetros de salida

  • dataobjectObligatorio

    Empty dictionary, as a successful deletion (204 No Content) has no response body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a referenceGITHUB_DELETE_A_REFERENCEAcción

Deletes a git reference from a repository; 'ref' must be fully qualified (e.g., 'refs/heads/branch' or 'refs/tags/tag').

Parámetros de entrada

  • refstringObligatorio

    Full path of the Git reference to delete (e.g., 'refs/heads/main' or 'refs/tags/v1.0.0'). GitHub auto-prefixes 'refs/heads/' for branches if 'refs/' is omitted; 'refs/tags/' prefix is mandatory for tags.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a releaseGITHUB_DELETE_A_RELEASEAcción

Permanently deletes a specific release, its assets, and potentially its associated git tag from a repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository, typically a username or organization name. This field is not case-sensitive.

  • release_idintegerObligatorio

    The unique numerical identifier (ID) of the release to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API. For a successful deletion (HTTP 204 No Content), this field is typically empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a release assetGITHUB_DELETE_A_RELEASE_ASSETAcción

Deletes a specific release asset from a github repository; this action is idempotent.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension; not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization); not case-sensitive.

  • asset_idintegerObligatorio

    The unique identifier of the release asset to delete.

Parámetros de salida

  • dataobjectObligatorio

    Empty for a successful deletion (204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a release reactionGITHUB_DELETE_A_RELEASE_REACTIONAcción

Deletes a reaction from a github release, provided the repository, release, and reaction exist.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    The account owner of the repository (case-insensitive).

  • release_idintegerObligatorio

    Unique identifier of the release.

  • reaction_idintegerObligatorio

    Unique identifier of the reaction to delete.

Parámetros de salida

  • dataobjectObligatorio

    API response data; typically empty for a successful deletion (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a repositoryGITHUB_DELETE_A_REPOSITORYAcción

Permanently deletes the specified repository; this is a destructive, irreversible action that requires admin privileges for the repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension; case-insensitive.

  • ownerstringObligatorio

    The account owner of the repository (user or organization); case-insensitive.

Parámetros de salida

  • dataobjectObligatorio

    Empty on success (HTTP 204 No Content), or may contain error details if a response body is provided on failure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a repository invitationGITHUB_DELETE_A_REPOSITORY_INVITATIONAcción

Deletes an active repository invitation, permanently revoking a user's access to collaborate on the specified repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is case-insensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is case-insensitive.

  • invitation_idintegerObligatorio

    The unique numerical identifier of the repository invitation to be deleted.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a repository rulesetGITHUB_DELETE_A_REPOSITORY_RULESETAcción

Permanently deletes a repository ruleset.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • ruleset_idintegerObligatorio

    The unique identifier (ID) of the ruleset to be deleted.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a repository secretGITHUB_DELETE_A_REPOSITORY_SECRETAcción

Deletes a named github actions secret from a specified repository; this operation is destructive and idempotent, and requires the repository to exist.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This is typically the username or organization name and is not case-sensitive.

  • secret_namestringObligatorio

    The name of the secret to delete. This refers to a secret used in GitHub Actions.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary. A successful deletion typically results in an HTTP 204 No Content response, where this field will be an empty dictionary.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a repository subscriptionGITHUB_DELETE_A_REPOSITORY_SUBSCRIPTIONAcción

Deletes the authenticated user's subscription to a specified repository if it exists, effectively 'unwatching' it.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a repository variableGITHUB_DELETE_A_REPOSITORY_VARIABLEAcción

Deletes a named variable (e.g., for github actions workflows) from a repository; the repository and the variable must already exist.

Parámetros de entrada

  • namestringObligatorio

    The name of the repository variable to delete.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    The API response data. For a successful deletion (HTTP 204 No Content), this field is typically empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a repository webhookGITHUB_DELETE_A_REPOSITORY_WEBHOOKAcción

Deletes a specific webhook from a repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • hook_idintegerObligatorio

    The unique identifier of the webhook. This ID can be found in the `X-GitHub-Hook-ID` header of a webhook delivery.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a review comment for a pull requestGITHUB_DELETE_A_REVIEW_COMMENT_FOR_A_PULL_REQUESTAcción

Deletes a specific pull request review comment.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • comment_idintegerObligatorio

    The unique numerical identifier of the pull request review comment to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response from the API. For successful deletions (which typically return a 204 No Content status), this dictionary might be empty or not applicable. If an error occurs, this field may contain error details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a secret for the authenticated userGITHUB_DELETE_A_SECRET_FOR_THE_AUTHENTICATED_USERAcción

Deletes an existing codespaces secret for the authenticated user by `secret name`; this is a destructive, irreversible, and idempotent operation.

Parámetros de entrada

  • secret_namestringObligatorio

    Name of the Codespaces secret to delete. Case-sensitive; allows alphanumeric characters or underscores; must not start with `GITHUB_` or contain spaces.

Parámetros de salida

  • dataobjectObligatorio

    Response data; usually empty as this operation typically returns a 204 No Content on success.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a self hosted runner from an organizationGITHUB_DELETE_A_SELF_HOSTED_RUNNER_FROM_AN_ORGANIZATIONAcción

Deletes an existing and registered self-hosted runner from an organization, typically returning 204 no content on success.

Parámetros de entrada

  • orgstringObligatorio

    Organization name (not case-sensitive).

  • runner_idintegerObligatorio

    Unique ID of the self-hosted runner to remove (obtainable by listing organization runners).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a self hosted runner from a repositoryGITHUB_DELETE_A_SELF_HOSTED_RUNNER_FROM_A_REPOSITORYAcción

Removes a specific self-hosted runner (by `runner id`) from a repository, if registered there; this is idempotent.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • runner_idintegerObligatorio

    Unique identifier of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response data. This is typically empty for successful DELETE operations (e.g., HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a tag protection state for a repositoryGITHUB_DELETE_A_TAG_PROTECTION_STATE_FOR_A_REPOSITORYAcción

Permanently deletes a specific tag protection rule, identified by its id, from the given repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • tag_protection_idintegerObligatorio

    The unique identifier of the tag protection to delete.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a teamGITHUB_DELETE_A_TEAMAcción

Deletes a team (and any child teams) from an organization.

Parámetros de entrada

  • orgstringObligatorio

    The organization's unique identifier (case-insensitive).

  • team_slugstringObligatorio

    The team's URL-friendly slug.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a thread subscriptionGITHUB_DELETE_A_THREAD_SUBSCRIPTIONAcción

Call 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.

Parámetros de entrada

  • thread_idintegerObligatorio

    The unique identifier of the notification thread. This ID is obtained from other API calls, such as when listing notifications (e.g., via the `GET /notifications` endpoint). Ensure this ID refers to an active thread to which the user is currently subscribed.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that is typically empty upon successful unsubscription, as the GitHub API returns a 204 No Content status. In case of errors or other specific scenarios, this field might contain relevant information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a workflow runGITHUB_DELETE_A_WORKFLOW_RUNAcción

Deletes a specific workflow run from a repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • run_idintegerObligatorio

    The unique identifier of the workflow run.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete branch protectionGITHUB_DELETE_BRANCH_PROTECTIONAcción

Removes all protection rules from a specific branch in a github repository; the branch must currently have protection rules enabled.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. Not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. Not case sensitive.

  • branchstringObligatorio

    The name of the branch. Wildcard characters are not supported for this REST API endpoint; use the GitHub GraphQL API for wildcard support.

Parámetros de salida

  • dataobjectObligatorio

    The response data from the API. For a successful deletion (HTTP 204 No Content), this dictionary is typically empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete commit signature protectionGITHUB_DELETE_COMMIT_SIGNATURE_PROTECTIONAcción

Disables gpg commit signature protection for a specific branch in a github repository, meaning commits pushed to this branch no longer require gpg signing.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. The name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This is typically the username of the owner (for personal repositories) or the organization name (for organization-owned repositories). The name is not case-sensitive.

  • branchstringObligatorio

    The name of the branch for which commit signature protection will be disabled. Wildcard characters are not supported in the branch name. To use wildcards, refer to the GitHub GraphQL API.

Parámetros de salida

  • dataobjectObligatorio

    API response data; usually empty as GitHub typically returns a 204 No Content on successful deletion.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete dependabot secret by nameGITHUB_DELETE_DEPENDEBOT_SECRET_BY_NAMEAcción

Deletes a specific dependabot secret, identified by its name, from a given repository if both the repository and secret exist.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., username or organization name). This field is not case-sensitive.

  • secret_namestringObligatorio

    The name of the Dependabot secret to delete. Secret names are case-sensitive and can only contain alphanumeric characters ([A-Z], [a-z], [0-9]) or underscores (_); spaces are not allowed.

Parámetros de salida

  • dataobjectObligatorio

    Data returned by the API. For a successful deletion, this is typically an empty dictionary as the API returns a 204 No Content status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete GitHub Actions cache by IDGITHUB_DELETE_GITHUB_ACTIONS_CACHE_BY_IDAcción

Deletes a specific github actions cache from a repository using its unique `cache id`.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension.

  • ownerstringObligatorio

    The username or organization name that owns the repository.

  • cache_idintegerObligatorio

    The unique ID of the GitHub Actions cache to delete.

Parámetros de salida

  • dataobjectObligatorio

    Response from the GitHub API; typically empty for a successful deletion (204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete package version for an organizationGITHUB_DELETE_PACKAGE_VERSION_FOR_AN_ORGANIZATIONAcción

Deletes a specific package version within an organization; requires admin permissions for packages with over 5,000 downloads.

Parámetros de entrada

  • orgstringObligatorio

    Organization name (case-insensitive).

  • package_namestringObligatorio

    Name of the package.

  • package_typestringObligatorioenum

    Package ecosystem. Notes: - `maven`: For GitHub's Gradle registry packages. - `container`: For Docker images in GitHub's Container registry (ghcr.io). - `docker`: For images originally in GitHub's Docker registry (docker.pkg.github.com), including migrated ones.

    npmmavenrubygemsdockernugetcontainer
  • package_version_idintegerObligatorio

    Unique ID of the package version to delete.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete package version for a userGITHUB_DELETE_PACKAGE_VERSION_FOR_A_USERAcción

Permanently and irreversibly deletes a specific version of a package owned by the specified user.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username of the account that owns the package.

  • package_namestringObligatorio

    The name of the package to which the version belongs.

  • package_typestringObligatorioenum

    The type of the package. Supported types include npm, maven, rubygems, docker, nuget, and container. Packages in GitHub's Gradle registry use the `maven` type. Docker images in GitHub's Container registry (ghcr.io) use the `container` type. The `docker` type can be used for images previously in GitHub's Docker registry (docker.pkg.github.com), even if migrated.

    npmmavenrubygemsdockernugetcontainer
  • package_version_idintegerObligatorio

    The unique identifier of the package version to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response data. For successful deletions (HTTP 204 No Content), this will typically be an empty object.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete pull request review protectionGITHUB_DELETE_PULL_REQUEST_REVIEW_PROTECTIONAcción

Disables 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.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username or organization name of the repository owner (not case-sensitive).

  • branchstringObligatorio

    Name of the branch to remove pull request review protection from (wildcards not supported; use GraphQL API for wildcards).

Parámetros de salida

  • dataobjectObligatorio

    API response data; typically empty for a successful deletion (204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete repo codespace secret by nameGITHUB_DELETE_REPO_CODESPACE_SECRET_BY_NAMEAcción

Deletes a specific codespace secret from a repository by its name; this action is idempotent and will succeed even if the secret doesn't exist.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account or the name of the organization that owns the repository. This field is not case-sensitive.

  • secret_namestringObligatorio

    The name of the Codespace secret to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary or a dictionary containing additional information if the deletion process provides any. Typically, a successful deletion results in an empty response body (e.g., HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete social accounts for the authenticated userGITHUB_DELETE_SOCIAL_ACCOUNTS_FOR_THE_AUTHENTICATED_USERAcción

Deletes currently linked social media account urls from the authenticated user's github profile.

Parámetros de entrada

  • account_urlsstring[]Obligatorio

    Absolute URLs of the social media profiles to be unlinked from the GitHub profile.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete team discussion comment reactionGITHUB_DELETE_TEAM_DISCUSSION_COMMENT_REACTIONAcción

Deletes a reaction from a team discussion comment, given the organization name, team slug, discussion number, comment number, and reaction id.

Parámetros de entrada

  • orgstringObligatorio

    The organization name. The name is not case sensitive.

  • team_slugstringObligatorio

    The slug of the team name (URL-friendly version).

  • reaction_idintegerObligatorio

    The unique identifier of the reaction to be deleted.

  • comment_numberintegerObligatorio

    The number that uniquely identifies the comment within the discussion.

  • discussion_numberintegerObligatorio

    The number that uniquely identifies the discussion.

Parámetros de salida

  • dataobjectObligatorio

    Response data. For this operation, a successful deletion (204 No Content) means this field is typically empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete team discussion reactionGITHUB_DELETE_TEAM_DISCUSSION_REACTIONAcción

Permanently deletes a specific reaction from a team discussion within an organization.

Parámetros de entrada

  • orgstringObligatorio

    The organization name. This name is not case sensitive.

  • team_slugstringObligatorio

    The slug of the team name, which is a URL-friendly version of the team name.

  • reaction_idintegerObligatorio

    The unique identifier of the reaction to be deleted.

  • discussion_numberintegerObligatorio

    The unique number identifying the specific discussion within the team.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary is expected upon successful deletion (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete workflow run logsGITHUB_DELETE_WORKFLOW_RUN_LOGSAcción

Deletes all logs for a specific workflow run in a github repository, provided the repository and run exist.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • run_idintegerObligatorio

    The unique identifier of the workflow run.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Disable a custom protection rule for an environmentGITHUB_DISABLE_A_CUSTOM_PROTECTION_RULE_FOR_AN_ENVIRONMENTAcción

Disables a specific, currently active custom deployment protection rule for an existing environment within a github repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository (without the `.git` extension). This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a user or organization). This name is not case sensitive.

  • environment_namestringObligatorio

    The name of the environment. This name must be URL encoded; for example, any slashes (`/`) in the name must be replaced with `%2F`.

  • protection_rule_idintegerObligatorio

    The unique integer identifier of the custom deployment protection rule to be disabled.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that may contain response data. Typically, a successful disable operation (HTTP 204 No Content) results in an empty response body, making this field empty or not applicable.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Disable a workflowGITHUB_DISABLE_A_WORKFLOWAcción

Disables a specified workflow (by id or filename) in a given github repository, preventing new automatic triggers; any in-progress runs will continue.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This field is not case-sensitive.

  • workflow_idintegerObligatorio

    The ID of the workflow or the workflow's file name (e.g., `main.yml` or `ci.yaml`). You can obtain the workflow ID by listing workflows in a repository.

Parámetros de salida

  • dataobjectObligatorio

    The response body from the GitHub API. For a successful disable operation (HTTP 204 No Content), this will be empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Disable private vulnerability reporting for a repositoryGITHUB_DISABLE_PRIVATE_VULNERABILITY_REPORTING_FOR_A_REPOSITORYAcción

Disables private vulnerability reporting for an existing github repository, preventing direct private vulnerability reports to maintainers via github's interface for this repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary is typically returned on success, as the GitHub API responds with a 204 No Content status for this operation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

DisablerepositoryactionsinorgGITHUB_DISABLE_REPOSITORY_ACTIONS_IN_ORGAcción

Disables github actions for a specific repository within an organization; this action is only effective if the organization's github actions `enabled repositories` setting is configured to `selected`.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (not case-sensitive).

  • repository_idintegerObligatorio

    The unique identifier of the repository.

Parámetros de salida

  • dataobjectObligatorio

    Typically empty upon successful execution, as a 204 No Content status is returned.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Dismiss a review for a pull requestGITHUB_DISMISS_A_REVIEW_FOR_A_PULL_REQUESTAcción

Dismisses a review on a pull request with a mandatory explanatory message.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • eventstringenum

    The event type associated with dismissing the review.

    DISMISS
  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • messagestringObligatorio

    The reason for dismissing the review.

  • review_idintegerObligatorio

    The unique identifier for the review to be dismissed.

  • pull_numberintegerObligatorio

    The unique number identifying the pull request within the repository.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response data from the API upon successful dismissal of the review. The structure of this dictionary may vary based on the API's response.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download an artifactGITHUB_DOWNLOAD_AN_ARTIFACTAcción

Downloads a specific github repository artifact, returning a temporary url to its 'zip' archive, valid for one minute.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username or organization name of the repository owner (case-insensitive).

  • artifact_idintegerObligatorio

    Unique numeric identifier of the artifact.

  • archive_formatstringObligatorio

    Archive format; must be 'zip' (GitHub API only supports 'zip').

Parámetros de salida

  • dataobjectObligatorio

    Response dictionary containing a temporary download URL (e.g., under 'Location' or 'download_url') for the artifact, valid for 1 minute.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download a repository tarballGITHUB_DOWNLOAD_A_REPOSITORY_ARCHIVE_TARAcción

Downloads a repository's source code as a tarball (.tar.gz) archive for a specific git reference, if the repository is accessible.

Parámetros de entrada

  • refstringObligatorio

    A Git reference (e.g., branch name, tag name, or commit SHA) that points to the specific version of the repository content to be downloaded as a tarball archive. For example, `main` for the main branch, `v1.0.0` for a tag, or a full commit SHA.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response from the API. For successful tarball downloads, the actual file is typically obtained via a redirect URL in the HTTP headers, and this dictionary might contain metadata or be empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download a repository archive ZIPGITHUB_DOWNLOAD_A_REPOSITORY_ARCHIVE_ZIPAcción

Downloads a repository's source code as a zip archive for a specific git reference (branch, tag, or commit sha).

Parámetros de entrada

  • refstringObligatorio

    The Git reference for the archive. This can be a branch name, a tag name, or a commit SHA.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Response data. Typically the ZIP file's binary content, but may contain redirect information due to GitHub API's 302 redirect for the file.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download job logs for a workflow runGITHUB_DOWNLOAD_JOB_LOGS_FOR_A_WORKFLOW_RUNAcción

Downloads 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., user or organization). This name is not case-sensitive.

  • job_idintegerObligatorio

    The unique identifier of the job for which to download logs.

Parámetros de salida

  • dataobjectObligatorio

    The content of the downloaded job logs. GitHub API provides logs as plain text; this action returns them structured as a dictionary.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download workflow run attempt logsGITHUB_DOWNLOAD_WORKFLOW_RUN_ATTEMPT_LOGSAcción

Downloads a zip archive of logs for a specific workflow run attempt.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • run_idintegerObligatorio

    The unique identifier of the workflow run.

  • attempt_numberintegerObligatorio

    The attempt number of the workflow run.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download workflow run logsGITHUB_DOWNLOAD_WORKFLOW_RUN_LOGSAcción

Downloads logs for a specific github actions workflow run, typically archived as a zip file, if logs are available (e.g., not expired and the workflow has produced output).

Parámetros de entrada

  • repostringObligatorio

    The name of the repository (e.g., 'Spoon-Knife') without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., 'octocat'). This name is not case-sensitive.

  • run_idintegerObligatorio

    The unique identifier of the workflow run (e.g., 12345).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get emojisGITHUB_EMO_J_IS_GETAcción

Lists all emojis available for use on github; deprecated, use `get emojis` instead.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary where each key is an emoji name (e.g., 'smile') and the corresponding value is the URL of the emoji's image.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enable a workflowGITHUB_ENABLE_A_WORKFLOWAcción

Reactivates a currently disabled github actions workflow within a repository using its numerical id.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This value is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This value is not case-sensitive.

  • workflow_idintegerObligatorio

    The numerical ID of the workflow to be enabled. While the GitHub API endpoint for this operation also accepts the workflow filename (e.g., 'ci.yaml') as an identifier, this field specifically requires the integer ID.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary. This action corresponds to a GitHub API endpoint that returns a 204 No Content status on success, indicating the workflow was enabled without returning any body content.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enable GitHub actions in selected repositoriesGITHUB_ENABLE_GITHUB_ACTIONS_IN_SELECTED_REPOSITORIESAcción

Sets 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'.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive).

  • selected_repository_idsinteger[]Obligatorio

    Unique repository IDs for which GitHub Actions will be enabled. This list completely replaces the current selection of repositories.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the GitHub API. Usually empty for successful (HTTP 204 No Content) operations, but may contain details on errors.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enable private vulnerability reporting for a repositoryGITHUB_ENABLE_PRIVATE_VULNERABILITY_REPORTING_FOR_A_REPOSITORYAcción

Enables private vulnerability reporting for a repository, allowing security researchers to privately submit vulnerability reports to maintainers.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This is typically the username or organization name and is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response data. Upon successful execution, this action returns an HTTP 204 status code with an empty response body, so this dictionary will be empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enable repo for Github ActionsGITHUB_ENABLE_REPO_FORGITHUB_ACTIONSAcción

Enables github actions for a repository if the organization's actions permissions are set to allow for 'selected repositories'.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • repository_idintegerObligatorio

    The unique numerical identifier of the GitHub repository.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Encrypt and update dev secretGITHUB_ENCRYPT_AND_UPDATE_DEV_SECRETAcción

Creates or updates a repository's development environment secret using an `encrypted value` and its corresponding `key id`; the secret must be pre-encrypted with the repository's codespaces public key.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • key_idstring

    ID of the public key (retrieved from the GitHub API's 'Get a repository public key for Codespaces' endpoint: `GET /repos/{owner}/{repo}/codespaces/secrets/public-key`) used to encrypt the secret's value.

  • secret_namestringObligatorio

    The name of the development environment secret.

  • encrypted_valuestring

    Value for your secret, encrypted using the public key retrieved from the GitHub API's 'Get a repository public key for Codespaces' endpoint (`GET /repos/{owner}/{repo}/codespaces/secrets/public-key`).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that is typically empty upon successful creation (HTTP 201) or update (HTTP 204) of the secret. In some cases, it might contain metadata about the secret.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Encrypt org dev env secretGITHUB_ENCRYPT_ORG_DEV_ENV_SECRETAcción

Creates or updates an organization's github codespaces secret using an encrypted value and its corresponding public key id.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (case-insensitive).

  • key_idstring

    ID of the public key used for encryption (from 'Get an organization public key').

  • visibilitystringObligatorioenum

    Visibility of the secret. 'selected' requires `selected_repository_ids`.

    allprivateselected
  • secret_namestringObligatorio

    Name of the secret to create or update.

  • encrypted_valuestring

    Encrypted secret value, using the public key from 'Get an organization public key'. Required unless only updating visibility.

  • selected_repository_idsinteger[]

    Repository IDs that can access the secret; required if visibility is 'selected'.

Parámetros de salida

  • dataobject

    An empty object if the secret was successfully created or updated (e.g., HTTP 201 Created or 204 No Content). In case of an error, this may contain error details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Encrypt org secrets using public keyGITHUB_ENCRYPT_ORG_SECRETS_USING_PUBLIC_KEYAcción

Retrieves an organization's public key, which must be used to encrypt secret values before they are configured for codespaces.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the public key information, typically including `key_id` (the public key identifier) and `key` (the Base64-encoded public key value).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export a codespace for the authenticated userGITHUB_EXPORT_A_CODESPACE_FOR_THE_AUTHENTICATED_USERAcción

Triggers an export of a user's specified codespace, automatically stopping it if active, and returns its export status and download url.

Parámetros de entrada

  • codespace_namestringObligatorio

    Unique name of the codespace to be exported.

Parámetros de salida

  • dataobjectObligatorio

    Details of the codespace export, typically including `id`, `state`, `export_url` (URL to download archive if successful, valid for a limited time), `html_url` for status, and other export/codespace metadata.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export an SBOM for a repositoryGITHUB_EXPORT_A_SOFTWARE_BILL_OF_MATERIALS_SBOM_FOR_A_REPOSITORYAcción

Exports the software bill of materials (sbom) in spdx json format for a repository, if its dependency graph is enabled and it has at least one commit.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the software bill of materials (SBOM) in SPDX JSON format.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

FetchpublickeyforsecretencryptionGITHUB_FETCH_PUBLIC_KEY_FOR_SECRET_ENCRYPTIONAcción

Retrieves the public key for an existing github organization, required for encrypting dependabot secrets.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the public key details. It includes `key_id` (the unique identifier for the public key) and `key` (the Base64-encoded public key value).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find Pull RequestsGITHUB_FIND_PULL_REQUESTSAcción

Ai-optimized pull request search with smart filtering by repo, author, state, labels, and merge status. builds intelligent search queries and returns clean, actionable pr data.

Parámetros de entrada

  • pageinteger

    Page number of results to fetch.

  • repostring

    Filter by specific repository (owner/repo format).

  • sortstringenum

    Field to sort results by.

    commentsreactionsinteractionscreatedupdated
  • labelstring

    Filter by label name.

  • orderstringenum

    Sort order (ascending or descending).

    descasc
  • ownerstring

    Filter by repository owner (user or organization).

  • querystringObligatorio

    Search query for PR title, description, or commit messages.

  • statestring

    Filter by PR state: 'open', 'closed', or 'all'.

  • authorstring

    Filter by PR author username.

  • assigneestring

    Filter by PR assignee username. Use '@me' for current user.

  • languagestring

    Filter by programming language.

  • mentionsstring

    Filter by username mentioned in PR.

  • per_pageinteger

    Number of results per page (maximum 100).

  • is_mergedboolean

    Filter by merge status. True for merged PRs, False for unmerged, None for all.

  • base_branchstring

    Filter by base branch name.

  • head_branchstring

    Filter by head branch name.

  • raw_responseboolean

    Return full API response if true, optimized response for AI agents if false.

  • created_sincestring

    Filter PRs created after this date (ISO 8601 format).

  • updated_sincestring

    Filter PRs updated after this date (ISO 8601 format).

  • for_authenticated_userboolean

    Search in repositories accessible to authenticated user (including private).

Parámetros de salida

  • dataobjectObligatorio

    Search results with pull request information optimized for AI agents.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Find RepositoriesGITHUB_FIND_REPOSITORIESAcción

Ai-optimized repository search with smart filtering by language, stars, topics, and ownership. builds intelligent search queries and returns clean, actionable repository data.

Parámetros de entrada

  • pageinteger

    Page number of results to fetch.

  • sortstringenum

    Field to sort results by.

    starsforkshelp-wanted-issuesupdated
  • orderstringenum

    Sort order (ascending or descending).

    descasc
  • ownerstring

    Filter by specific user or organization.

  • querystringObligatorio

    Search query for repository name, description, or README content.

  • topicstring

    Filter by repository topic/tag.

  • archivedboolean

    Filter by archived status. None means include both.

  • languagestring

    Filter by programming language.

  • per_pageinteger

    Number of results per page (maximum 100).

  • max_starsinteger

    Maximum number of stars the repository should have.

  • min_forksinteger

    Minimum number of forks the repository should have.

  • min_starsinteger

    Minimum number of stars the repository should have.

  • fork_filterstring

    How to handle forks: 'include' (include forks), 'exclude' (exclude forks), 'only' (only forks).

  • raw_responseboolean

    Return full API response if true, optimized response for AI agents if false.

  • for_authenticated_userboolean

    Search only in repositories accessible to the authenticated user (including private repos).

Parámetros de salida

  • dataobjectObligatorio

    Search results with repository information optimized for AI agents.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Follow a userGITHUB_FOLLOW_A_USERAcción

Allows the authenticated user to follow the github user specified by `username`; this action is idempotent and the user cannot follow themselves.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username (handle) of the user to be followed by the authenticated user.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the server's response. Upon successful execution (HTTP 204 No Content), this dictionary is typically empty as GitHub does not return a body for this operation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Force cancel a workflow runGITHUB_FORCE_CANCEL_A_WORKFLOW_RUNAcción

Forcefully cancels an existing github actions workflow run, bypassing normal cancellation conditions; requires write permissions to the repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • run_idintegerObligatorio

    The unique identifier of the workflow run.

Parámetros de salida

  • dataobjectObligatorio

    The response body from the GitHub API, typically an empty object on success.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fork a gistGITHUB_FORK_A_GISTAcción

Forks a specified public gist, creating a copy under the authenticated user's account.

Parámetros de entrada

  • gist_idstringObligatorio

    The unique identifier of the gist to be forked.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the newly created gist. This includes details such as its ID, URLs, files, owner information, and other metadata associated with the forked gist.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate release notes content for a releaseGITHUB_GENERATE_RELEASE_NOTES_CONTENT_FOR_A_RELEASEAcción

Generates markdown release notes content (listing changes, pull requests, and contributors) for a github repository release, customizable via tags and a configuration file.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • tag_namestringObligatorio

    The tag name for which the release notes are to be generated. This can be an existing tag or a new tag name.

  • target_commitishstring

    Specifies the commitish value (e.g., a branch name, tag name, or commit SHA) that will be the target for the release's tag. This is required if the `tag_name` does not reference an existing tag. It is ignored if `tag_name` already exists.

  • previous_tag_namestring

    The name of the previous tag to use as the starting point for the release notes. This manually specifies the range of changes to be included. If omitted, GitHub will attempt to automatically determine the previous release.

  • configuration_file_pathstring

    Specifies a path to a configuration file in the repository (e.g., `.github/release.yml`) containing settings for generating release notes. If unspecified, GitHub looks for a configuration file at ".github/release.yml" or ".github/release.yaml". If no such file is found, default settings are used.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the generated release notes. Expected keys are 'name' (the title of the release notes) and 'body' (the Markdown content of the release notes).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a blobGITHUB_GET_A_BLOBAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • file_shastringObligatorio

    The SHA-1 hash of the file (blob) to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the blob's details. Key fields include 'content' (Base64-encoded file content), 'encoding' (the encoding type, e.g., 'base64'), 'sha' (the SHA of the blob), 'size' (size of the blob in bytes), and 'url' (API URL of the blob).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a branchGITHUB_GET_A_BRANCHAcción

Retrieves detailed information for a specified branch within a github repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • branchstringObligatorio

    The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get access restrictionsGITHUB_GET_ACCESS_RESTRICTIONSAcción

Lists users, teams, and github apps with push access to a branch; this branch must be protected in repository settings for detailed restrictions, otherwise expect a 404 or empty response.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., username or organization name). This name is not case-sensitive.

  • branchstringObligatorio

    The name of the branch. Wildcard characters are not supported in this field. To manage branch protections with wildcard patterns, please refer to the GitHub GraphQL API documentation.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary detailing the access restrictions for the protected branch. It typically includes 'users', 'teams', and 'apps' arrays listing entities with push access, along with URLs related to these restrictions. If no restrictions are configured, this may be an empty dictionary.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a check runGITHUB_GET_A_CHECK_RUNAcción

Retrieves detailed information for a specific check run within a github repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • check_run_idintegerObligatorio

    The unique numerical identifier of the check run.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing detailed information for the check run, such as its status, conclusion, and output; the exact structure can vary.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a check suiteGITHUB_GET_A_CHECK_SUITEAcción

Retrieves a specific check suite (a collection of check runs) by its id from a repository accessible to the authenticated user.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This value is not case sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This value is not case sensitive.

  • check_suite_idintegerObligatorio

    The unique identifier of the check suite.

Parámetros de salida

  • dataobjectObligatorio

    Detailed information of the specified check suite.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a classroomGITHUB_GET_A_CLASSROOMAcción

Retrieves details for a specific github classroom; the classroom id must correspond to an existing classroom.

Parámetros de entrada

  • classroom_idintegerObligatorio

    The unique identifier of the classroom.

Parámetros de salida

  • dataobjectObligatorio

    Key attributes of the GitHub Classroom (e.g., ID, name, creation date) from the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a code of conductGITHUB_GET_A_CODE_OF_CONDUCTAcción

Retrieves the full details of a specific github code of conduct using its unique key.

Parámetros de entrada

  • keystringObligatorio

    Unique key for a specific code of conduct.

Parámetros de salida

  • dataobjectObligatorio

    Full details of the code of conduct, including its key, name, URL, and body content (often HTML).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a CodeQL database for a repositoryGITHUB_GET_A_CODE_QL_DATABASE_FOR_A_REPOSITORYAcción

Gets 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • languagestringObligatorio

    The programming language of the CodeQL database to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the CodeQL database object.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a code scanning alertGITHUB_GET_A_CODE_SCANNING_ALERTAcción

Retrieves a specific code scanning alert, which identifies potential code vulnerabilities or errors, by its number from the specified github repository.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • alert_numberintegerObligatorio

    Unique number identifying the code scanning alert, found in the alert's URL or API responses.

Parámetros de salida

  • dataobjectObligatorio

    Detailed information about the code scanning alert, typically including `number`, `created_at`, `url`, `html_url`, `state`, `severity`, `rule`, and `tool`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a code scanning analysis for a repositoryGITHUB_GET_A_CODE_SCANNING_ANALYSIS_FOR_A_REPOSITORYAcción

Retrieves detailed information for a specific code scanning analysis on an accessible repository, identified by its `analysis id`.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username or organization name owning the repository (not case-sensitive).

  • analysis_idintegerObligatorio

    Unique ID of the code scanning analysis, obtained by listing all analyses for the repository.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a code scanning default setup configurationGITHUB_GET_A_CODE_SCANNING_DEFAULT_SETUP_CONFIGURATIONAcción

Gets the default setup configuration for code scanning in a repository, including state, languages, query suite, and schedule for a repository if it exists.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Details the default code scanning setup for the repository, including state, languages, query suite, update timestamp, and schedule.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a codespace for the authenticated userGITHUB_GET_A_CODESPACE_FOR_THE_AUTHENTICATED_USERAcción

Call to retrieve detailed information for a `codespace name` belonging to the authenticated user, ensuring the codespace exists and is accessible.

Parámetros de entrada

  • codespace_namestringObligatorio

    Unique name or identifier of the codespace, typically auto-generated upon creation.

Parámetros de salida

  • dataobjectObligatorio

    Full details of the specified codespace, including its state, machine information, repository association, and other relevant attributes.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a commitGITHUB_GET_A_COMMITAcción

Retrieves a specific commit from a repository by its owner, name, and a valid commit reference (sha, branch, or tag), supporting pagination for large diffs.

Parámetros de entrada

  • refstringObligatorio

    The commit reference. Can be a commit SHA (e.g., '`sha`'), a branch name (e.g., 'heads/`BRANCH_NAME`' or simply '`BRANCH_NAME`'), or a tag name (e.g., 'tags/`TAG_NAME`'). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation.

  • pageinteger

    Page number for paginating the commit's diff if it's too large. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • per_pageinteger

    Number of results per page when paginating the commit's diff (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the comprehensive details of the commit, including author, committer, message, and file changes.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a commit commentGITHUB_GET_A_COMMIT_COMMENTAcción

Retrieves the full details of a specific commit comment in a github repository, using its unique identifier.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • comment_idintegerObligatorio

    The unique identifier of the commit comment.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a commit objectGITHUB_GET_A_COMMIT_OBJECTAcción

Retrieves detailed information (including author, committer, message, tree, parents, verification) for a specific commit in a github repository, identified by its sha.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    Account owner of the repository. The name is not case sensitive.

  • commit_shastringObligatorio

    SHA identifier of the commit.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a custom deployment protection ruleGITHUB_GET_A_CUSTOM_DEPLOYMENT_PROTECTION_RULEAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This name is not case sensitive.

  • environment_namestringObligatorio

    The name of the environment. The name must be URL encoded if it contains special characters (e.g., any slashes `/` must be replaced with `%2F`).

  • protection_rule_idintegerObligatorio

    The unique identifier of the custom deployment protection rule.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the custom deployment protection rule. This includes details such as the rule's ID, whether it's enabled, and information about the GitHub App that enforces the rule.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a custom property for an organizationGITHUB_GET_A_CUSTOM_PROPERTY_FOR_AN_ORGANIZATIONAcción

Retrieves the definition (schema) of a specific, existing custom property for an organization.

Parámetros de entrada

  • orgstringObligatorio

    Organization's unique identifier (not case-sensitive).

  • custom_property_namestringObligatorio

    Name of the custom property whose definition is to be retrieved (case-sensitive).

Parámetros de salida

  • dataobjectObligatorio

    The custom property's definition, including its name, value type (e.g., 'string', 'single_select'), description, requirement status, default value, and any allowed values.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a delivery for a repository webhookGITHUB_GET_A_DELIVERY_FOR_A_REPOSITORY_WEBHOOKAcción

Retrieves a specific delivery for a repository webhook, identified by its `hook id` and `delivery id`.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • hook_idintegerObligatorio

    The unique identifier of the webhook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.

  • delivery_idintegerObligatorio

    The unique identifier of a specific delivery for the webhook. This ID corresponds to a single delivery attempt.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the webhook delivery.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a deploy keyGITHUB_GET_A_DEPLOY_KEYAcción

Gets a specific deploy key, identified by its `key id`, for the github repository specified by `owner` and `repo`.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • key_idintegerObligatorio

    The unique numerical identifier of the deploy key.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a deploymentGITHUB_GET_A_DEPLOYMENTAcción

Gets a specific deployment by id from a repository, provided the repository and deployment id exist.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • deployment_idintegerObligatorio

    The unique numeric identifier of the deployment to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a deployment branch policyGITHUB_GET_A_DEPLOYMENT_BRANCH_POLICYAcción

Retrieves a specific deployment branch policy for an environment in a repository, identified by its unique id.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • branch_policy_idintegerObligatorio

    The unique identifier of the branch policy.

  • environment_namestringObligatorio

    The name of the environment. The name must be URL encoded; for example, replace any slashes in the name with `%2F`.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a deployment statusGITHUB_GET_A_DEPLOYMENT_STATUSAcción

Retrieves a specific deployment status by its id for a given deployment within a github repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • status_idintegerObligatorio

    The unique identifier of the deployment status.

  • deployment_idintegerObligatorio

    The unique identifier of the deployment.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the deployment status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a diff of the dependencies between commitsGITHUB_GET_A_DIFF_OF_THE_DEPENDENCIES_BETWEEN_COMMITSAcción

Gets 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.

Parámetros de entrada

  • namestring

    The optional full path, relative to the repository root, of a specific dependency manifest file (e.g., `package-lock.json`, `pom.xml`). If provided, the diff will be scoped to this file.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • baseheadstringObligatorio

    A string specifying the base and head Git revisions to compare, in the format `BASE_REF...HEAD_REF`. `BASE_REF` and `HEAD_REF` can be commit SHAs, branch names, or tags. For example, `main...develop` or `v1.0.0...v1.1.0`.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary detailing dependency changes (additions, removals, updates) between the specified base and head revisions. The exact structure depends on the GitHub API output.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a discussionGITHUB_GET_A_DISCUSSIONAcción

Fetches a specific discussion by its number from a team within an organization.

Parámetros de entrada

  • orgstringObligatorio

    The organization's name (case-insensitive).

  • team_slugstringObligatorio

    The team's slug (URL-friendly name).

  • discussion_numberintegerObligatorio

    The discussion's unique number within the team.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full details of the discussion.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a discussion commentGITHUB_GET_A_DISCUSSION_COMMENTAcción

Fetches a specific comment from a team discussion within a specific organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This field is not case-sensitive.

  • team_slugstringObligatorio

    The slug of the team name. This is the team name converted to lowercase, with spaces and special characters replaced by hyphens. For example, 'Developer Tools Team' becomes 'developer-tools-team'.

  • comment_numberintegerObligatorio

    The unique number identifying the comment within the discussion.

  • discussion_numberintegerObligatorio

    The unique number identifying the discussion.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the discussion comment.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get admin branch protectionGITHUB_GET_ADMIN_BRANCH_PROTECTIONAcción

Checks if repository administrators are subject to the branch protection rules on a specific branch.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

  • branchstringObligatorio

    Name of the branch (wildcard characters not allowed; use GraphQL API for wildcard support).

Parámetros de salida

  • dataobjectObligatorio

    Admin enforcement status for branch protection, typically including an `enabled` boolean and a `url`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a dns health check for github pagesGITHUB_GET_A_DNS_HEALTH_CHECK_FOR_GITHUB_PAGESAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the detailed health check information for the GitHub Pages site. This typically includes status for the primary domain and, if configured, an alternate domain. Information covers aspects like DNS resolution, CNAME record validity, HTTPS status, and any detected issues. If the health check is pending, this field might be minimal or represent the pending state, often accompanied by a 202 HTTP status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a gistGITHUB_GET_A_GISTAcción

Fetches a specific github gist by its `gist id`, returning comprehensive details if the gist exists.

Parámetros de entrada

  • gist_idstringObligatorio

    The unique hexadecimal string identifier of the gist, found in its URL.

Parámetros de salida

  • dataobjectObligatorio

    Full details of the gist, including files, content, owner, description, comments, forks, and history.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a gist commentGITHUB_GET_A_GIST_COMMENTAcción

Retrieves a specific gist comment by its id and the gist's id.

Parámetros de entrada

  • gist_idstringObligatorio

    Unique identifier of the Gist.

  • comment_idintegerObligatorio

    Unique identifier of the comment.

Parámetros de salida

  • dataobjectObligatorio

    Gist comment details. Key fields include 'id', 'user', 'body' (supports markdown), 'created_at' (ISO 8601 UTC timestamp), and 'updated_at' (ISO 8601 UTC timestamp).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a gist revisionGITHUB_GET_A_GIST_REVISIONAcción

Retrieves a specific revision of a gist.

Parámetros de entrada

  • shastringObligatorio

    The SHA (Secure Hash Algorithm) identifier of a specific gist revision. This is a 40-character hexadecimal string.

  • gist_idstringObligatorio

    The unique identifier of the gist.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a GitHub Pages siteGITHUB_GET_A_GITHUB_PAGES_SITEAcción

Retrieves information for a github pages site, which must be enabled for the repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the GitHub Pages site information. Key fields include 'url' (the Pages site URL), 'status' (e.g., 'built', 'building'), 'cname' (the custom domain for the site, if any), 'custom_404' (boolean indicating if a custom 404 page is used), 'html_url' (the absolute URL to the Pages site), 'source' (an object detailing the build source, including 'branch' and 'path'), and 'public' (boolean indicating if the site is public).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a gitignore templateGITHUB_GET_A_GITIGNORE_TEMPLATEAcción

Retrieves a specific .gitignore template from github by its name, which must be an existing template in github's collection.

Parámetros de entrada

  • namestringObligatorio

    The name of the .gitignore template to retrieve (e.g., 'Python', 'Node'). This is case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    The response data containing the .gitignore template. The structure includes 'name' and 'source' of the template.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a job for a workflow runGITHUB_GET_A_JOB_FOR_A_WORKFLOW_RUNAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • job_idintegerObligatorio

    The unique numerical identifier of the job to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the job. Key fields typically include `id` (the job's unique ID), `run_id` (ID of the workflow run), `status` (e.g., 'queued', 'in_progress', 'completed'), `conclusion` (e.g., 'success', 'failure'), `name` (name of the job), `steps` (list of steps in the job), `started_at`, and `completed_at` timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a labelGITHUB_GET_A_LABELAcción

Retrieves a specific label by its name from a specified github repository.

Parámetros de entrada

  • namestringObligatorio

    The name of the label to retrieve. GitHub's API treats label names as case-insensitive for this operation.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. The name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a username or organization name). The name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the label object, containing details such as `id`, `node_id`, `url`, `name`, `color`, `description`, and `default` status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a licenseGITHUB_GET_A_LICENSEAcción

Call this action to retrieve comprehensive details for a specific software license recognized by github, using its unique license key.

Parámetros de entrada

  • licensestringObligatorio

    The unique identifier (key) of the license. This is typically the SPDX license identifier (e.g., 'mit', 'apache-2.0').

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all API versionsGITHUB_GET_ALL_API_VERSIONSAcción

Retrieves all officially supported, date-based (e.g., "2022-11-28") versions of the github rest api from the /versions endpoint.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all autolinks of a repositoryGITHUB_GET_ALL_AUTOLINKS_OF_A_REPOSITORYAcción

Retrieves all autolinks (e.g., for jira issues) configured for a repository; requires admin permissions on the repository.

Parámetros de entrada

  • repostringObligatorio

    The repository name, excluding `.git`. Case-insensitive.

  • ownerstringObligatorio

    The account owner's username. Case-insensitive.

Parámetros de salida

  • dataobjectObligatorio

    The raw response from the API, which for this endpoint is a list of autolink objects. Each object includes an `id`, `key_prefix` (e.g., 'JIRA-'), `url_template` (e.g., 'https://example.com/issues?id=<num>'), and `is_alphanumeric`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all codes of conductGITHUB_GET_ALL_CODES_OF_CONDUCTAcción

Retrieves all available codes of conduct from github, often used to select one for a repository.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing a list of all available codes of conduct on GitHub. Each code of conduct object includes its unique 'key' (e.g., 'contributor_covenant'), display 'name' (e.g., 'Contributor Covenant'), API 'url', 'html_url' (direct link to view the code of conduct content), and the complete 'body' text.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all commonly used licensesGITHUB_GET_ALL_COMMONLY_USED_LICENSESAcción

Retrieves a list of commonly used software licenses from github, optionally filtering for 'featured' licenses whose specific selection criteria by github may vary.

Parámetros de entrada

  • pageinteger

    The page number for the set of results to retrieve (must be an integer starting from 1). Used for paginating through the list of licenses.

  • featuredboolean

    If true, filters for licenses that GitHub considers 'featured', such as popular or recommended licenses. Note: The exact criteria for 'featured' are not explicitly documented by GitHub for this endpoint and behavior may vary.

  • per_pageinteger

    The number of license results to return per page (must be an integer between 1 and 100, inclusive). Used for paginating through the list of licenses.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary where keys are unique license string identifiers (e.g., 'mit', 'apache-2.0') and values are objects detailing each corresponding license. Each license object typically includes: 'key' (the unique identifier itself), 'name' (full name of the license), 'spdx_id' (SPDX identifier), 'url' (API URL to get this license's details), 'node_id' (GraphQL node ID), 'html_url' (URL to the license text, often on choosealicense.com), 'description' (a brief summary), 'implementation' (guidance on how to use the license), 'permissions' (list of strings describing allowed actions), 'conditions' (list of strings describing obligations), 'limitations' (list of strings describing restrictions), and 'body' (the full text of the license).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all contributor commit activityGITHUB_GET_ALL_CONTRIBUTOR_COMMIT_ACTIVITYAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    Repository name, excluding `.git` (case-insensitive).

  • ownerstringObligatorio

    Username of the repository owner (case-insensitive).

Parámetros de salida

  • dataobjectObligatorio

    Raw GitHub API response. Typically a list of contributor activity objects, each detailing an 'author' (with user info like 'login'), 'total' commits, and 'weeks' array (weekly 'w'-timestamp, 'a'-additions, 'd'-deletions, 'c'-commits).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all custom properties for an organizationGITHUB_GET_ALL_CUSTOM_PROPERTIES_FOR_AN_ORGANIZATIONAcción

Gets the schema definitions for all custom properties configured for an organization, not the specific values assigned to repositories.

Parámetros de entrada

  • orgstringObligatorio

    The unique identifier (login name) of the GitHub organization. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the schema definitions for all custom properties of the organization. Includes details for each property such as its name, value type (e.g., 'single_select', 'string'), description, and any allowed or default values.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all custom property values for a repositoryGITHUB_GET_ALL_CUSTOM_PROPERTY_VALUES_FOR_A_REPOSITORYAcción

Gets all custom property values for a repository, which may include default values or be empty if no properties are explicitly set.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary where each key is the name of a custom property and the corresponding value is the value assigned to that property for the repository. The value can be a string, null (if the property value is not set), or an array of strings, depending on the property's type definition.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all deployment protection rules for an environmentGITHUB_GET_ALL_DEPLOYMENT_PROTECTION_RULES_FOR_AN_ENVIRONMENTAcción

Lists all enabled custom deployment protection rules for a specific environment in a repository; the environment must exist and be configured for deployments.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • environment_namestringObligatorio

    The name of the environment. This name must be URL-encoded. For instance, if the environment name contains slashes (`/`), they should be replaced with `%2F`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of all enabled custom deployment protection rules for the specified environment. The exact structure of this dictionary depends on the protection rules configured.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all gitignore templatesGITHUB_GET_ALL_GITIGNORE_TEMPLATESAcción

Retrieves all available .gitignore template names from github (e.g., 'python', 'node', 'java'), used for generating .gitignore files.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all organization roles for an organizationGITHUB_GET_ALL_ORGANIZATION_ROLES_FOR_AN_ORGANIZATIONAcción

Lists all custom organization roles for an existing github organization.

Parámetros de entrada

  • orgstringObligatorio

    The unique name of the GitHub organization. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response. This typically includes a 'total_count' (integer) of the roles and a 'roles' key (list of objects), where each object details a custom organization role with its ID, name, description, and permissions.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all repository rulesetsGITHUB_GET_ALL_REPOSITORY_RULESETSAcción

Retrieves all rulesets for a github repository, which define conditions and actions for repository interactions (e.g., branch protections).

Parámetros de entrada

  • pageinteger

    Page number for pagination.

  • repostringObligatorio

    Name of the repository, without `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username or organization name of the repository owner (case-insensitive).

  • per_pageinteger

    Number of rulesets per page (max 100).

  • includes_parentsboolean

    If `True`, also fetches rulesets from parent levels (e.g., organization) applicable to this repository.

Parámetros de salida

  • dataobjectObligatorio

    Contains the API response from GitHub. The list of ruleset objects is expected as a value within this dictionary.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all repository topicsGITHUB_GET_ALL_REPOSITORY_TOPICSAcción

Retrieves all topics for a specified, existing, and accessible repository.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with a 'names' key, holding a list of topic strings associated with the repository. Example: `{'names': ['topic1', 'topic2', 'community']}`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all requested reviewers for a pull requestGITHUB_GET_ALL_REQUESTED_REVIEWERS_FOR_A_PULL_REQUESTAcción

Gets all users and teams requested to review a specific pull request in a repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • pull_numberintegerObligatorio

    The number that identifies the pull request.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing lists of users and teams requested for review. The dictionary has two keys: 'users', a list of user objects, and 'teams', a list of team objects. Each user object includes details like 'login', 'id', etc. Each team object includes details like 'slug', 'id', etc.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all status check contextsGITHUB_GET_ALL_STATUS_CHECK_CONTEXTSAcción

Fetches all required status check contexts for a protected branch; returns an empty list if the branch isn't protected or has no required checks.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • branchstringObligatorio

    The specific name of the branch. Wildcard characters (e.g., `*`) are not permitted. For operations involving branches with wildcard patterns, the GitHub GraphQL API should be utilized.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a milestoneGITHUB_GET_A_MILESTONEAcción

Retrieves detailed information for a specific milestone within a github repository by its number.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • milestone_numberintegerObligatorio

    The unique sequential number identifying the milestone within the repository.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full details of the milestone, including attributes like title, description, state, due date, and creator.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an appGITHUB_GET_AN_APPAcción

Retrieves publicly available information for an existing github app, identified by its unique url-friendly `app slug`.

Parámetros de entrada

  • app_slugstringObligatorio

    The app's unique, URL-friendly, lowercase, hyphenated identifier, derived from its name (e.g., 'my-awesome-app').

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the comprehensive details of the GitHub App, including its configuration, permissions, and metadata.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an artifactGITHUB_GET_AN_ARTIFACTAcción

Gets a specific artifact for a repository by `artifact id`.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • artifact_idintegerObligatorio

    The unique identifier (ID) of the artifact to retrieve. This ID can be obtained from other API calls that list artifacts.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an assignmentGITHUB_GET_AN_ASSIGNMENTAcción

Retrieves detailed information for a specific github classroom assignment if the authenticated user is an administrator of the classroom.

Parámetros de entrada

  • assignment_idintegerObligatorio

    The unique identifier of the GitHub Classroom assignment to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the detailed information of the retrieved GitHub Classroom assignment, such as its title, due date, accepted submission count, and other relevant attributes.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an autolink reference of a repositoryGITHUB_GET_AN_AUTOLINK_REFERENCE_OF_A_REPOSITORYAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • autolink_idintegerObligatorio

    The unique numeric identifier of the autolink configuration to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the autolink reference. This typically includes properties such as `id`, `key_prefix` (e.g., 'JIRA-'), and `url_template` (e.g., 'https://example.atlassian.net/browse/<num>').

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an environmentGITHUB_GET_AN_ENVIRONMENTAcción

Get an environment

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This name is not case-sensitive.

  • environment_namestringObligatorio

    The name of the deployment environment. The name must be URL-encoded; for example, any slashes `/` must be replaced with `%2F`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the comprehensive details of the specified deployment environment, including its ID, name, URL, creation/update timestamps, protection rules, and deployment branch policies, if configured.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an environment public keyGITHUB_GET_AN_ENVIRONMENT_PUBLIC_KEYAcción

Retrieves the public key for a specified github repository environment, used to encrypt secrets for github actions.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • environment_namestringObligatorio

    The name of the environment. The name must be URL encoded. For example, any slashes (`/`) in the name must be replaced with `%2F`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the public key information. Key fields include `key_id` (the ID of the public key) and `key` (the base64-encoded public key).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an environment secretGITHUB_GET_AN_ENVIRONMENT_SECRETAcción

Get an environment secret

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username or organization name of the repository owner (not case-sensitive).

  • secret_namestringObligatorio

    Name of the secret to retrieve.

  • environment_namestringObligatorio

    Name of the environment (must be URL-encoded if it contains special characters).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an environment variableGITHUB_GET_AN_ENVIRONMENT_VARIABLEAcción

Get an environment variable

Parámetros de entrada

  • namestringObligatorio

    The name of the specific environment variable to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This is not case-sensitive.

  • environment_namestringObligatorio

    The name of the GitHub Actions environment. If the name contains special characters (e.g., slashes `/`), it must be URL-encoded (e.g., `staging/feature` becomes `staging%2Ffeature`).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an issueGITHUB_GET_AN_ISSUEAcción

Get an issue

Parámetros de entrada

  • repostringObligatorio

    Name of the repository (without `.git` extension). Not case-sensitive.

  • ownerstringObligatorio

    Username of the account owning the repository. Not case-sensitive.

  • issue_numberintegerObligatorio

    The identifying number of the issue.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the issue details. Key fields include 'id', 'node_id', 'url', 'repository_url', 'labels_url', 'comments_url', 'events_url', 'html_url', 'number', 'state', 'title', 'body', 'user', 'labels', 'assignee', 'assignees', 'milestone', 'locked', 'active_lock_reason', 'comments', 'pull_request', 'closed_at', 'created_at', 'updated_at', 'closed_by', 'author_association', 'state_reason', and 'reactions'. The API does not return custom fields.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an issue commentGITHUB_GET_AN_ISSUE_COMMENTAcción

Get an issue comment

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case sensitive.

  • comment_idintegerObligatorio

    The unique identifier of the issue comment.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary containing the details of the issue comment, such as 'id', 'body', 'user', 'created_at', and 'updated_at'. For the complete structure, consult the GitHub API documentation for issue comments.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an issue eventGITHUB_GET_AN_ISSUE_EVENTAcción

Get an issue event

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension. Not case-sensitive.

  • ownerstringObligatorio

    Username of the account owning the repository. Not case-sensitive.

  • event_idintegerObligatorio

    Unique identifier for the issue event.

Parámetros de salida

  • dataobjectObligatorio

    Detailed information of the specified issue event.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an organizationGITHUB_GET_AN_ORGANIZATIONAcción

Get an organization

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the organization's details. Common keys include `login`, `id`, `name`, `company`, `blog`, `location`, `email`, `public_repos`, `created_at`, and `type`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an organization public keyGITHUB_GET_AN_ORGANIZATION_PUBLIC_KEYAcción

Get an organization public key

Parámetros de entrada

  • orgstringObligatorio

    Organization name (case-insensitive).

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an organization roleGITHUB_GET_AN_ORGANIZATION_ROLEAcción

Retrieves a specific github organization role by its id.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • role_idintegerObligatorio

    The unique numerical identifier of the role within the organization.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary representing the organization role, conforming to the GitHub API structure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an organization secretGITHUB_GET_AN_ORGANIZATION_SECRETAcción

Gets an organization secret's metadata (e.g., name, creation/update dates, visibility), but not its encrypted value.

Parámetros de entrada

  • orgstringObligatorio

    Organization name (case-insensitive).

  • secret_namestringObligatorio

    Name of the secret.

Parámetros de salida

  • dataobjectObligatorio

    Secret's metadata, such as 'name', 'created_at', 'updated_at', and 'visibility'; the encrypted value is not included.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an organization variableGITHUB_GET_AN_ORGANIZATION_VARIABLEAcción

Retrieves details (name, value, visibility, timestamps) of a specific, existing variable for an existing github organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization (case-insensitive).

  • namestringObligatorio

    Name of the organization variable.

Parámetros de salida

  • dataobjectObligatorio

    Details of the organization variable, including 'name', 'value' (potentially masked for security), 'visibility' ('all', 'private', or 'selected'), 'created_at', and 'updated_at'; 'selected_repositories_url' is present if visibility is 'selected'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an organization webhookGITHUB_GET_AN_ORGANIZATION_WEBHOOKAcción

Retrieves the full configuration, including subscribed events and delivery settings, for an existing organization webhook.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • hook_idintegerObligatorio

    The unique identifier of the webhook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.

Parámetros de salida

  • dataobjectObligatorio

    Full configuration details for the organization webhook, including ID, name, active status, subscribed events, and settings (e.g., URL, content type, secret).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a package for an organizationGITHUB_GET_A_PACKAGE_FOR_AN_ORGANIZATIONAcción

Retrieves a specific package (by type and name) from an organization, if both the package and organization exist.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive).

  • package_namestringObligatorio

    The unique name of the package.

  • package_typestringObligatorioenum

    Type of the package. GitHub Gradle packages use `maven` type. Images from `ghcr.io` (Container registry) use `container` type. Use `docker` for images from `docker.pkg.github.com` (Docker registry), even if migrated to the Container registry.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio

    A dictionary with comprehensive details of the retrieved package.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a package for a userGITHUB_GET_A_PACKAGE_FOR_A_USERAcción

Retrieves metadata for a specific package owned by a github user, using package type, name, and username as identifiers.

Parámetros de entrada

  • usernamestringObligatorio

    GitHub username of the package owner.

  • package_namestringObligatorio

    Unique name of the package on GitHub Packages.

  • package_typestringObligatorioenum

    Specifies the package's type. Note: Gradle packages use 'maven'; ghcr.io images use 'container'; 'docker' can find images migrated from docker.pkg.github.com to the Container registry.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio

    Detailed metadata of the package. Structure varies by package type and available information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a package for the authenticated userGITHUB_GET_A_PACKAGE_FOR_THE_AUTHENTICATED_USERAcción

Retrieves detailed information for a specific package owned by the authenticated user.

Parámetros de entrada

  • package_namestringObligatorio

    The unique name of the package as it appears in the registry.

  • package_typestringObligatorioenum

    Type of the package. 'maven' for GitHub's Gradle registry; 'container' for Docker images in GitHub's Container registry (`ghcr.io`); 'docker' for images from GitHub's Docker registry (`docker.pkg.github.com`), including those migrated to the Container registry.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the properties and metadata of the requested package. The structure of this dictionary can vary depending on the package type.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a package version for an organizationGITHUB_GET_A_PACKAGE_VERSION_FOR_AN_ORGANIZATIONAcción

Retrieves detailed information for a specific version of a package within an organization.

Parámetros de entrada

  • orgstringObligatorio

    Organization name (case-insensitive).

  • package_namestringObligatorio

    Unique package name.

  • package_typestringObligatorioenum

    Package type. `maven` for GitHub Gradle registry. `container` for GitHub Container registry (`ghcr.io`) images. `docker` for images from GitHub Docker registry (`docker.pkg.github.com`), including migrated ones.

    npmmavenrubygemsdockernugetcontainer
  • package_version_idintegerObligatorio

    Unique ID of the package version.

Parámetros de salida

  • dataobjectObligatorio

    Detailed information of the fetched package version.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a package version for a userGITHUB_GET_A_PACKAGE_VERSION_FOR_A_USERAcción

Retrieves a specific public package version associated with a github user.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username of the account that owns the package.

  • package_namestringObligatorio

    The name of the package.

  • package_typestringObligatorioenum

    The type of package. 'maven' is used for Gradle packages. 'container' is for images in GitHub's Container registry (ghcr.io). 'docker' can be used for images previously in GitHub's Docker registry (docker.pkg.github.com).

    npmmavenrubygemsdockernugetcontainer
  • package_version_idintegerObligatorio

    The unique identifier of the specific package version.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the attributes and details of the specific package version.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get authenticated user package versionGITHUB_GET_A_PACKAGE_VERSION_FOR_THE_AUTHENTICATED_USERAcción

Retrieves detailed information for an existing specific package version associated with the authenticated user, identified by its type, name, and version id.

Parámetros de entrada

  • package_namestringObligatorio

    The name of the package, which can be case-sensitive depending on the package type.

  • package_typestringObligatorioenum

    The package type. Note: GitHub's Gradle registry packages use 'maven'; ghcr.io images use 'container'; 'docker' can refer to images from docker.pkg.github.com.

    npmmavenrubygemsdockernugetcontainer
  • package_version_idintegerObligatorio

    The unique numerical identifier (ID) of the specific package version.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary holding the detailed information of the fetched package version. The content and structure of this dictionary depend on the package type and the data provided by the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get apps with access to the protected branchGITHUB_GET_APPS_WITH_ACCESS_TO_THE_PROTECTED_BRANCHAcción

Lists github apps with push access to a repository's protected branch.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • branchstringObligatorio

    The name of the protected branch. This name cannot contain wildcard characters. To work with branch names containing wildcard characters, please use the GitHub GraphQL API.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary containing GitHub Apps with access to the protected branch. Typically, this includes a list of app objects detailing their ID, slug, name, and permissions; the list is empty if no apps have access.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a projectGITHUB_GET_A_PROJECTAcción

Retrieves detailed information for a specific github project using its unique `project id`.

Parámetros de entrada

  • project_idintegerObligatorio

    The unique integer identifier of the GitHub project.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with detailed attributes of the GitHub project, such as `name`, `body`, `state`, `creator`, `created_at`, `updated_at`, and other project-specific details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a project cardGITHUB_GET_A_PROJECT_CARDAcción

Retrieves all details of a specific project card, given its unique `card id`.

Parámetros de entrada

  • card_idintegerObligatorio

    The unique identifier of the project card.

Parámetros de salida

  • dataobjectObligatorio

    Comprehensive details of the project card, such as its ID, note, creator, timestamps, archival status, and associated URLs (e.g., column URL, project URL, content URL if linked to an issue or pull request).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a project columnGITHUB_GET_A_PROJECT_COLUMNAcción

Retrieves detailed information for a specific project column; the column must exist.

Parámetros de entrada

  • column_idintegerObligatorio

    The unique identifier of the project column.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a pull requestGITHUB_GET_A_PULL_REQUESTAcción

Retrieves a specific pull request from a github repository using its owner, repository name, and pull request number.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the .git extension. This value is not case sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This value is not case sensitive.

  • pull_numberintegerObligatorio

    The number that identifies the specific pull request.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a referenceGITHUB_GET_A_REFERENCEAcción

Retrieves a specific git reference (e.g., a branch, tag, or fully qualified like 'heads/main') from a github repository.

Parámetros de entrada

  • refstringObligatorio

    The Git reference to retrieve. This can be a branch name (e.g., `main`), a tag name (e.g., `v1.0.0`), or a fully qualified reference (e.g., `heads/main`, `tags/v1.0.0`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Details of the Git reference: its `ref` string, `node_id`, API `url`, and the referenced `object` (e.g., commit, tag) specifying its `type`, `sha` (SHA-1 hash), and object API `url`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a releaseGITHUB_GET_A_RELEASEAcción

Gets a specific release from a github repository, provided the repository is accessible and the release exists.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • release_idintegerObligatorio

    The unique numerical identifier for the release.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full data of the release, including its assets, author, tag name, and other details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a release assetGITHUB_GET_A_RELEASE_ASSETAcción

Gets metadata for a specific release asset in a github repository, including a `browser download url` for downloading the asset.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (GitHub username or organization name). This name is not case sensitive.

  • asset_idintegerObligatorio

    The unique numeric identifier of the release asset.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the metadata of the release asset. Key fields typically include: `url` (API URL for the asset), `id` (asset's unique ID), `node_id` (GraphQL node ID), `name` (filename of the asset), `label` (optional display name), `uploader` (object with details of the user who uploaded the asset), `content_type` (MIME type of the asset), `state` (e.g., 'uploaded'), `size` (size in bytes), `download_count`, `created_at`, `updated_at`, and `browser_download_url` (the direct URL to download the asset's binary content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a release by tag nameGITHUB_GET_A_RELEASE_BY_TAG_NAMEAcción

Gets a release from a github repository by its tag name; the repository and a release with this tag must already exist.

Parámetros de entrada

  • tagstringObligatorio

    Tag identifying the release to fetch.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case sensitive).

  • ownerstringObligatorio

    Account owner of the repository (not case sensitive).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a repositoryGITHUB_GET_A_REPOSITORYAcción

Retrieves detailed information about an existing and accessible github repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is case-insensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is case-insensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a repository public keyGITHUB_GET_A_REPOSITORY_PUBLIC_KEYAcción

Gets a repository's public key for encrypting secrets to be used in github actions, if the repository exists and is accessible.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a repository readmeGITHUB_GET_A_REPOSITORY_READMEAcción

Fetches the readme file (if it exists and is accessible) from a specified github repository, returning its base64-encoded content and metadata.

Parámetros de entrada

  • refstring

    The specific git reference (branch name, tag name, or commit SHA) to retrieve the README from. If omitted, the repository's default branch is used.

  • repostringObligatorio

    The name of the repository, excluding the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The GitHub account owner of the repository. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Details of the repository's README, typically including `name`, `path`, `sha`, `size`, `url`, `html_url`, `git_url`, `download_url`, `type`, Base64-encoded `content`, and `encoding`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a repository readme for a directoryGITHUB_GET_A_REPOSITORY_README_FOR_A_DIRECTORYAcción

Retrieves the readme file from a specified directory within a github repository, optionally at a given commit, branch, or tag.

Parámetros de entrada

  • dirstringObligatorio

    Path to the directory containing the README file.

  • refstring

    Commit, branch, or tag name; defaults to the repository's default branch if not provided.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case sensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (not case sensitive).

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with the README file's content (Base64 encoded) and metadata (e.g., name, path, sha, size, type, encoding, URLs).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a repository rulesetGITHUB_GET_A_REPOSITORY_RULESETAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    Repository name, excluding `.git` extension; case-insensitive.

  • ownerstringObligatorio

    Account owner of the repository (username or organization); case-insensitive.

  • ruleset_idintegerObligatorio

    Unique identifier of the ruleset.

  • includes_parentsboolean

    If true, also returns rulesets configured at higher levels (e.g., organization) that apply to this repository.

Parámetros de salida

  • dataobjectObligatorio

    Details of the retrieved repository ruleset, including its configuration and rules.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a repository rule suiteGITHUB_GET_A_REPOSITORY_RULE_SUITEAcción

Gets detailed information for a specific repository rule suite by its id, including its evaluation status and the results of its individual rules.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, excluding the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The username of the account or the name of the organization that owns the repository. This name is not case-sensitive.

  • rule_suite_idintegerObligatorio

    The unique identifier of the rule suite. To obtain this ID, you can list rule suites for the repository (e.g., via `GET /repos/{owner}/{repo}/rulesets/rule-suites`) or organization (e.g., via `GET /orgs/{org}/rulesets/rule-suites`).

Parámetros de salida

  • dataobjectObligatorio

    Comprehensive details of the repository rule suite, typically including `id`, `actor_name`, `before_sha`, `after_sha`, `ref`, `repository_id`, `result` (e.g., 'pass', 'fail'), and an array of `rule_evaluations` detailing the outcome of each rule.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a repository secretGITHUB_GET_A_REPOSITORY_SECRETAcción

Gets metadata (name, creation/update timestamps) for an existing repository secret, excluding its encrypted value.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • secret_namestringObligatorio

    The name of the secret to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the metadata of the secret, such as its name, creation date (`created_at`), and last update date (`updated_at`). The encrypted value of the secret is not included.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a repository subscriptionGITHUB_GET_A_REPOSITORY_SUBSCRIPTIONAcción

Gets the authenticated user's subscription details for a repository, indicating if they receive notifications.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Repository subscription details for the authenticated user, including status (`subscribed`, `ignored`), `reason`, `created_at` timestamp, and relevant URLs.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a repository variableGITHUB_GET_A_REPOSITORY_VARIABLEAcción

Gets a specific github actions variable by name from an accessible repository.

Parámetros de entrada

  • namestringObligatorio

    The name of the GitHub Actions variable to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension.

  • ownerstringObligatorio

    The username or organization that owns the repository.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the repository variable. Expected keys include 'name' (the variable's name), 'value' (the variable's value), 'created_at' (timestamp of creation), and 'updated_at' (timestamp of last update).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a repository webhookGITHUB_GET_A_REPOSITORY_WEBHOOKAcción

Returns the configuration of an existing webhook for a given repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a user or organization). The name is not case-sensitive.

  • hook_idintegerObligatorio

    The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a review comment for a pull requestGITHUB_GET_A_REVIEW_COMMENT_FOR_A_PULL_REQUESTAcción

Retrieves a specific pull request review comment by its id, provided the repository exists, is accessible, and the comment id is valid.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository (without the `.git` extension). Not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (GitHub username or organization name). Not case-sensitive.

  • comment_idintegerObligatorio

    Unique identifier of the pull request review comment.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a review for a pull requestGITHUB_GET_A_REVIEW_FOR_A_PULL_REQUESTAcción

Retrieves a specific review for a pull request using its owner, repository, pull request number, and review id.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case sensitive.

  • review_idintegerObligatorio

    The unique numeric identifier of the review.

  • pull_numberintegerObligatorio

    The numeric identifier of the pull request.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the pull request review object. This typically includes details like the review ID, user who submitted the review, the body of the review, the state (e.g., 'COMMENTED', 'APPROVED', 'CHANGES_REQUESTED'), and a link to the review.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a secret for the authenticated userGITHUB_GET_A_SECRET_FOR_THE_AUTHENTICATED_USERAcción

Retrieves metadata (name, timestamps, visibility; not the value) for a specific, existing development environment secret associated with the authenticated user's github codespaces.

Parámetros de entrada

  • secret_namestringObligatorio

    The name of the secret to retrieve. This is case-sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a self hosted runner for an organizationGITHUB_GET_A_SELF_HOSTED_RUNNER_FOR_AN_ORGANIZATIONAcción

Retrieves detailed information about a specific self-hosted runner registered within a github organization.

Parámetros de entrada

  • orgstringObligatorio

    The login name of the GitHub organization. This name is not case-sensitive.

  • runner_idintegerObligatorio

    Unique identifier (ID) of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a self hosted runner for a repositoryGITHUB_GET_A_SELF_HOSTED_RUNNER_FOR_A_REPOSITORYAcción

Gets a specific self-hosted runner for a repository by its unique id.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case-sensitive.

  • runner_idintegerObligatorio

    The unique identifier (ID) of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the self-hosted runner. Common fields include `id`, `name`, `os` (operating system), and `status` (e.g., 'online', 'offline').

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get assignment gradesGITHUB_GET_ASSIGNMENT_GRADESAcción

Retrieves all grades for an existing github classroom assignment.

Parámetros de entrada

  • assignment_idintegerObligatorio

    The unique identifier for the classroom assignment whose grades are to be retrieved.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the grades for the specified assignment. The structure typically includes student identifiers and their corresponding scores or grade information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a tagGITHUB_GET_A_TAGAcción

Retrieves detailed information for a specific git tag object from a github repository, using the sha of the tag object itself.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username or organization that owns the repository (case-insensitive).

  • tag_shastringObligatorio

    SHA of the Git tag object to retrieve; this is the SHA of the tag object, not the commit it may point to.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a team by nameGITHUB_GET_A_TEAM_BY_NAMEAcción

Retrieves a github team by its slug from a specific organization.

Parámetros de entrada

  • orgstringObligatorio

    The organization's name (case-insensitive).

  • team_slugstringObligatorio

    The slug (URL-friendly version) of the team name.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a threadGITHUB_GET_A_THREADAcción

Retrieves a specific github notification thread using its unique `thread id`.

Parámetros de entrada

  • thread_idintegerObligatorio

    The unique identifier of the notification thread, typically obtained from a list of notifications.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the full notification thread object. This includes details such as `id`, `subject`, `reason`, the `repository` object it belongs to, `unread` status, `updated_at`, and `last_read_at` timestamps, among other thread-specific attributes.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a thread subscription for the authenticated userGITHUB_GET_A_THREAD_SUBSCRIPTION_FOR_THE_AUTHENTICATED_USERAcción

Retrieves the authenticated user's subscription details for a specific notification thread, identified by `thread id`.

Parámetros de entrada

  • thread_idintegerObligatorio

    The unique identifier of the notification thread. This ID corresponds to the `id` field returned when retrieving notifications, for example, through the 'List notifications for the authenticated user' (GET /notifications) operation.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the thread subscription object. Key fields typically include `subscribed` (boolean: whether the user is receiving notifications for this thread), `ignored` (boolean: whether the user has muted this thread), `reason` (nullable string: the reason for the current subscription status), `created_at` (ISO 8601 timestamp: when the subscription was created), `url` (API URL for this subscription), and `thread_url` (API URL for the parent thread).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a treeGITHUB_GET_A_TREEAcción

Retrieves a git tree (directory listing) from a github repository using its sha, branch name, or tag name, optionally fetching all nested items recursively.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

  • tree_shastringObligatorio

    SHA1 hash, branch, or tag name of the Git tree to retrieve.

  • recursivestring

    If provided with any string value, enables recursive retrieval of all objects or subtrees. Omit to fetch only top-level entries.

Parámetros de salida

  • dataobjectObligatorio

    The Git tree object, including its SHA, URL, a list of tree entries (files/subdirectories with metadata), and a flag indicating if results were truncated.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a userGITHUB_GET_A_USERAcción

Retrieves the public profile information for an existing github user, specified by their username.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username (handle) of the user to retrieve. This is case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the public profile data for the specified GitHub user, as returned by the GitHub API. This includes various attributes such as login, ID, avatar URL, name, bio, location, public repository count, and more.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a webhook configuration for an organizationGITHUB_GET_A_WEBHOOK_CONFIGURATION_FOR_AN_ORGANIZATIONAcción

Retrieves the configuration for a specific webhook associated with a github organization.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization's name (case-insensitive).

  • hook_idintegerObligatorio

    Unique ID of the webhook (see `X-GitHub-Hook-ID` header in webhook deliveries).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the webhook configuration. Common keys include 'url' (the URL the webhook posts to), 'content_type' (e.g., 'json', 'form'), 'secret' (if a secret is set, otherwise not present or empty), and 'insecure_ssl' (a string '0' or '1' indicating if SSL verification is disabled).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a webhook configuration for a repositoryGITHUB_GET_A_WEBHOOK_CONFIGURATION_FOR_A_REPOSITORYAcción

Returns the configuration for an existing webhook on the specified repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • hook_idintegerObligatorio

    The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the configuration settings for the webhook, such as its URL (`url`), content type (`content_type`), SSL verification status (`insecure_ssl`), and the secret if configured (`secret`).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a webhook delivery for an organization webhookGITHUB_GET_A_WEBHOOK_DELIVERY_FOR_AN_ORGANIZATION_WEBHOOKAcción

Returns detailed information for a specific delivery attempt of a webhook configured for the specified github organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • hook_idintegerObligatorio

    The unique identifier of the organization webhook. This ID can be found in the `X-GitHub-Hook-ID` header of a webhook delivery.

  • delivery_idintegerObligatorio

    The unique identifier of the specific webhook delivery attempt.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full details of the webhook delivery. The content and structure of this dictionary vary based on the webhook event type and the corresponding payload.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a workflowGITHUB_GET_A_WORKFLOWAcción

Retrieves detailed information for a specific github actions workflow in a repository, identified by either its numeric id or its filename.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username or organization name owning the repository (case-insensitive).

  • workflow_idinteger

    Unique numeric identifier of the workflow; use this or `workflow_name`.

  • workflow_namestring

    Full name of the workflow file (e.g., `ci.yml`); use this or `workflow_id`.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a workflow runGITHUB_GET_A_WORKFLOW_RUNAcción

Gets a specific workflow run by its id from a github repository.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository (case-insensitive, without .git extension).

  • ownerstringObligatorio

    The username or organization name that owns the repository (not case-sensitive).

  • run_idintegerObligatorio

    Unique ID of the workflow run.

  • exclude_pull_requestsboolean

    If true, excludes pull request data; the `pull_requests` array in the response will be empty.

Parámetros de salida

  • dataobjectObligatorio

    Detailed information of the workflow run, including attributes like `id`, `name`, `status`, `conclusion`, `workflow_id`, `event`. The `pull_requests` array is empty if `exclude_pull_requests` was true.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a workflow run attemptGITHUB_GET_A_WORKFLOW_RUN_ATTEMPTAcción

Retrieves detailed information for a specific attempt of a workflow run in a github repository, including its status, conclusion, and timings.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository, such as a GitHub username or organization name. This name is not case sensitive.

  • run_idintegerObligatorio

    The unique identifier (ID) of the workflow run. This ID is specific to a repository and can be obtained from API calls that list workflow runs.

  • attempt_numberintegerObligatorio

    The attempt number of the specific workflow run. Each re-run of a workflow creates a new attempt number, starting from 1.

  • exclude_pull_requestsboolean

    If `true`, excludes pull request data from the API response; the `pull_requests` array in the response will then be empty.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get branch protectionGITHUB_GET_BRANCH_PROTECTIONAcción

Retrieves branch protection settings for a specific, existing, and accessible branch in a github repository; protection feature availability varies by github product plan.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension; not case-sensitive.

  • ownerstringObligatorio

    Account owner of the repository (username or organization name); not case-sensitive.

  • branchstringObligatorio

    Name of the branch; wildcard characters are not supported (use GitHub GraphQL API for wildcard matching).

Parámetros de salida

  • dataobjectObligatorio

    Dictionary of branch protection settings; its structure varies based on enabled protections. If not enabled, the response may be a 404 or specific message indicating this.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get commit authorsGITHUB_GET_COMMIT_AUTHORSAcción

Fetches commit authors identified during a repository import, used to map authors from an external vcs to github accounts.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This name is not case-sensitive.

  • sinceinteger

    An optional author ID. If provided, only authors with an ID greater than this specified ID will be returned. This ID refers to the `id` field of an author object in the response, and can be used for paginating through the list of authors.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response. This dictionary is expected to hold a list of commit author objects as identified by GitHub during a repository import. Each author object typically includes attributes like `id` (the GitHub user ID if the author is already mapped), `email`, `name`, `import_id` (the internal ID for the author during import), `remote_id` (the author's identifier from the source VCS), and `remote_name` (the author's name from the source VCS).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get commit signature protectionGITHUB_GET_COMMIT_SIGNATURE_PROTECTIONAcción

Gets the commit signature protection status for a branch in a repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • branchstringObligatorio

    The name of the branch. Wildcard characters are not allowed. To use wildcard characters in branch names, consider using the GraphQL API.

Parámetros de salida

  • dataobjectObligatorio

    The commit signature protection status information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get community profile metricsGITHUB_GET_COMMUNITY_PROFILE_METRICSAcción

Retrieves a repository's community profile metrics, including health percentage and the presence of key community files (e.g., readme, license).

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without '.git' extension. Not case-sensitive.

  • ownerstringObligatorio

    Username of the account owning the repository. Not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Community profile metrics, such as 'health_percentage', 'description', 'documentation', 'files' (detailing presence of README, CODE_OF_CONDUCT, CONTRIBUTING, LICENSE, ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE, etc.), and 'updated_at'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get contextual information for a userGITHUB_GET_CONTEXTUAL_INFORMATION_FOR_A_USERAcción

Gets contextual hovercard information for a github user; `subject type` and `subject id` can be jointly provided for more specific details.

Parámetros de entrada

  • usernamestringObligatorio

    GitHub username for whom to retrieve hovercard data.

  • subject_idstring

    Entity ID for `subject_type` for more specific hovercard context; required if `subject_type` is also given.

  • subject_typestringenum

    Entity type for more specific hovercard context (e.g., 'repository'); required if `subject_id` is also given.

    organizationrepositoryissuepull_request

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get default attributes for a codespaceGITHUB_GET_DEFAULT_ATTRIBUTES_FOR_A_CODESPACEAcción

Get 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.

Parámetros de entrada

  • refstring

    Git reference (branch name, tag name, or commit SHA) for devcontainer configuration. If omitted, the repository's default branch is used.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • client_ipstring

    Optional IP address to override default location auto-detection (e.g., for proxied requests). If unspecified, location is inferred from source IP.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with pre-flight data for Codespace creation: billable owner, default location, devcontainer path, available machine types (SKUs), and other configuration details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get default workflow permissions for an organizationGITHUB_GET_DEFAULT_WORKFLOW_PERMISSIONS_FOR_AN_ORGANIZATIONAcción

Gets the default github token workflow permissions and settings for a github organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the default workflow permissions. It includes 'default_workflow_permissions' (string) indicating the default permissions for GITHUB_TOKEN (e.g., 'read', 'write'), and 'can_approve_pull_request_reviews' (boolean) indicating if GitHub Actions can approve pull requests (this is applicable to enterprise customers).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get default workflow permissions for a repositoryGITHUB_GET_DEFAULT_WORKFLOW_PERMISSIONS_FOR_A_REPOSITORYAcción

Gets 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Default workflow permissions for the repository, including `default_workflow_permissions` ('read' or 'write') for GITHUB_TOKEN and `can_approve_pull_request_reviews` (boolean).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get details about a codespace exportGITHUB_GET_DETAILS_ABOUT_A_CODESPACE_EXPORTAcción

Retrieves detailed information about a specific export of a codespace.

Parámetros de entrada

  • export_idstringObligatorio

    The ID of the export operation. Currently, only 'latest' is supported, which refers to the most recent export for the specified codespace.

  • codespace_namestringObligatorio

    The unique name of the codespace.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing details about the specified codespace export. This typically includes the export's state (e.g., 'succeeded', 'failed', 'in_progress'), an ID, and a URL to download the export archive if the export was successful and the archive is available.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get emojisGITHUB_GET_EMOJISAcción

Lists all emojis available for use on github, including custom and unicode emojis.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary where each key is an emoji name (e.g., 'smile') and the corresponding value is the URL of the emoji's image.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get feedsGITHUB_GET_FEEDSAcción

Fetches a list of available github feed urls for the authenticated user.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary of available GitHub feed URLs relevant to the authenticated user. Keys identify feed types (e.g., 'timeline', 'user', 'current_user_public', 'current_user_actor', 'security_advisories'), and values are their corresponding URLs or URI templates.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get GitHub Actions cache usage for an organizationGITHUB_GET_GITHUB_ACTIONS_CACHE_USAGE_FOR_AN_ORGANIZATIONAcción

Retrieves total github actions cache usage statistics for an organization, including active cache count and size across all repositories.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization (case-insensitive).

Parámetros de salida

  • dataobjectObligatorio

    Summary of GitHub Actions cache usage for the organization, detailing metrics like `total_active_caches_count` and `total_active_caches_size_in_bytes`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get github actions cache usage for a repositoryGITHUB_GET_GITHUB_ACTIONS_CACHE_USAGE_FOR_A_REPOSITORYAcción

Retrieves the total count of active github actions caches and their combined size in bytes for a specified repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the GitHub Actions cache usage statistics for the repository. This typically includes `active_caches_count` (the total number of active caches) and `active_caches_size_in_bytes` (the total size in bytes of all active caches).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get github actions permissions for an organizationGITHUB_GET_GITHUB_ACTIONS_PERMISSIONS_FOR_AN_ORGANIZATIONAcción

Gets the github actions permissions for a specified organization, detailing repository enablement and allowed actions policies.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get GitHub Actions permissions for a repositoryGITHUB_GET_GITHUB_ACTIONS_PERMISSIONS_FOR_A_REPOSITORYAcción

Gets the github actions permissions policy for a repository, including its enabled status and the scope of allowed actions.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get github meta informationGITHUB_GET_GITHUB_META_INFORMATIONAcción

Fetches github's publicly available metadata, useful for configuring network security policies or ip allow-listing.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    GitHub's metadata, including IP addresses (IPv4/IPv6) for services (e.g., hooks, web, API, git), domain names, and SSH key fingerprints. Example keys: 'verifiable_password_authentication', 'ssh_key_fingerprints', 'hooks', 'api', 'git', 'actions', 'domains'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get github pages buildGITHUB_GET_GITHUB_PAGES_BUILDAcción

Retrieves detailed information about a specific github pages build for a repository, which must have github pages enabled.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • build_idintegerObligatorio

    The unique identifier of the GitHub Pages build to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the requested GitHub Pages build, including status, commit, duration, and any errors.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get information about a sarif uploadGITHUB_GET_INFORMATION_ABOUT_A_SARIF_UPLOADAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username of the account that owns the repository (not case-sensitive).

  • sarif_idstringObligatorio

    Unique identifier of the SARIF upload, returned when a SARIF file is successfully uploaded.

Parámetros de salida

  • dataobjectObligatorio

    Details of the SARIF upload, including processing status (e.g., 'pending', 'complete', 'failed'), error messages, and the URL to analysis results.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get interaction restrictions for an organizationGITHUB_GET_INTERACTION_RESTRICTIONS_FOR_AN_ORGANIZATIONAcción

Retrieves 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.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get interaction restrictions for a repositoryGITHUB_GET_INTERACTION_RESTRICTIONS_FOR_A_REPOSITORYAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is case-insensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is case-insensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the interaction restrictions. Key fields typically include 'limit' (specifying the type of users allowed to interact, e.g., 'collaborators_only', 'contributors_only', 'existing_users'), 'origin' (indicating the source of the restriction, e.g., 'repository'), and 'expires_at' (the ISO 8601 timestamp for when the restriction expires).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get interaction restrictions for public repositoriesGITHUB_GET_INTERACTION_RESTRICTIONS_FOR_YOUR_PUBLIC_REPOSITORIESAcción

Retrieves currently active interaction restrictions for the authenticated user's public repositories.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the interaction restrictions. If restrictions are set, it typically includes 'limit' (e.g., 'collaborators_only'), 'origin', and 'expires_at'. An empty dictionary or a 204 No Content response may be returned if no restrictions are in place.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get large filesGITHUB_GET_LARGE_FILESAcción

Lists files larger than 100mb identified during a previous source import for the specified repository; this endpoint is deprecated and will be removed on april 12, 2024.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Information about files larger than 100MB identified during a repository import, including path, OID, and size.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get latest pages buildGITHUB_GET_LATEST_PAGES_BUILDAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The username of the account or the name of the organization that owns the repository. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get octocatGITHUB_GET_OCTOCATAcción

Fetches an ascii art representation of github's octocat, suitable for text-based displays.

Parámetros de entrada

  • sstring

    Custom message for Octocat's speech bubble. If omitted, a default or empty bubble may be shown.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get allowed actions and workflows for an orgGITHUB_GET_ORG_ALLOWED_ACTIONSAcción

Retrieves the github actions permissions policy, including allowed actions and reusable workflows, for a specified organization.

Parámetros de entrada

  • orgstringObligatorio

    The unique identifier or name of the organization. This field is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary detailing the GitHub Actions permissions for the organization. It typically includes: 'github_owned_allowed' (boolean): Whether GitHub-owned actions are allowed. 'verified_allowed' (boolean): Whether actions from GitHub Marketplace verified creators are allowed. 'patterns_allowed' (list of strings): Specific actions or reusable workflows that are allowed, potentially using wildcards (e.g., 'actions/checkout@*', 'my-org/my-repo/.github/workflows/my-workflow.yml@*').

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get org dev environment secret safelyGITHUB_GET_ORG_DEV_ENVIRONMENT_SECRET_SAFELYAcción

Retrieves metadata for a specific secret available to an organization's github codespaces without exposing its encrypted value.

Parámetros de entrada

  • orgstringObligatorio

    The unique identifier of the GitHub organization. This name is not case-sensitive.

  • secret_namestringObligatorio

    The name of the development environment secret to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    Metadata for the secret, including name, creation/update dates, and visibility; the encrypted value is not exposed. Keys include 'name', 'created_at', 'updated_at', 'visibility', and 'selected_repositories_url' if visibility is 'selected'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get page viewsGITHUB_GET_PAGE_VIEWSAcción

Retrieves page view statistics for a repository over the last 14 days, including total views, unique visitors, and a daily or weekly breakdown.

Parámetros de entrada

  • perstringenum

    The time unit for which to aggregate page views.

    dayweek
  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is case-insensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is case-insensitive.

Parámetros de salida

  • dataobjectObligatorio

    Page view traffic data for the repository over the last 14 days, detailing total views, unique visitors, and a list of 'views' objects, each with 'timestamp', 'count', and 'uniques' for that period.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get pending deployments for a workflow runGITHUB_GET_PENDING_DEPLOYMENTS_FOR_A_WORKFLOW_RUNAcción

Retrieves pending deployment environments for a specific workflow run that are awaiting approval due to protection rules.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension; not case-sensitive.

  • ownerstringObligatorio

    Account owner of the repository (user or organization); not case-sensitive.

  • run_idintegerObligatorio

    Unique numerical identifier of the workflow run.

Parámetros de salida

  • dataobjectObligatorio

    API response data containing pending deployment environments, typically as a list of objects awaiting approval due to protection rules.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get project permission for a userGITHUB_GET_PROJECT_PERMISSION_FOR_A_USERAcción

Retrieves a collaborator's permission level (admin, write, read, or none) for an existing github project.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username of the user whose permission is being checked.

  • project_idintegerObligatorio

    The unique identifier of the project.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the permission details for the user on the project. This typically includes a 'permission' field (e.g., 'read', 'write', 'admin', or 'none') and user information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get public key for secret encryptionGITHUB_GET_PUBLIC_KEY_FOR_SECRET_ENCRYPTIONAcción

Retrieves a repository's public key for encrypting github codespaces secrets; requires `repo` scope or equivalent read access to codespaces secrets for private repositories.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username or organization name of the repository owner (not case-sensitive).

Parámetros de salida

  • dataobjectObligatorio

    Contains the public key (`key`) for encrypting GitHub Codespaces secrets, and its `key_id` used for identification when managing secrets.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get public key for the authenticated userGITHUB_GET_PUBLIC_KEY_FOR_THE_AUTHENTICATED_USERAcción

Retrieves the authenticated user's public github key, used to encrypt secrets for github codespaces.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the public key information. It includes `key_id` (a unique string identifier for the public key) and `key` (the public key data, typically base64-encoded).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get pull request review protectionGITHUB_GET_PULL_REQUEST_REVIEW_PROTECTIONAcción

Retrieves the pull request review protection settings for a specific branch in a github repository, if such protection is configured.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive. For example, in 'octocat/Hello-World', 'Hello-World' is the repository name.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive. For example, in 'octocat/Hello-World', 'octocat' is the owner.

  • branchstringObligatorio

    The name of the branch. Wildcard characters are not allowed. To use wildcard characters in branch names, refer to the GitHub GraphQL API.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get rate limit status for the authenticated userGITHUB_GET_RATE_LIMIT_STATUS_FOR_THE_AUTHENTICATED_USERAcción

Retrieves the authenticated user's current github api rate limit status, including usage and limits across different resource categories.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Provides the rate limit status. Includes a 'resources' object with limits for categories (e.g., 'core', 'search', 'graphql') and a 'rate' object for overall limits. Each contains 'limit', 'remaining', 'reset' (UTC epoch seconds), and 'used' values.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get repository development environment secretGITHUB_GET_REPO_DEV_ENV_SECRETAcción

Gets metadata (name, creation/update timestamps) for a specific, existing development environment secret (codespaces secret) in a repository, without exposing its value.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is case-insensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is case-insensitive.

  • secret_namestringObligatorio

    The name of the development environment secret to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the development environment secret. This includes `name` (string), `created_at` (ISO 8601 timestamp), and `updated_at` (ISO 8601 timestamp). The secret's actual value is not exposed.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get repository clonesGITHUB_GET_REPOSITORY_CLONESAcción

Retrieves the total number of clones and a breakdown of clone activity (daily or weekly) for a specified repository over the preceding 14 days.

Parámetros de entrada

  • perstringenum

    Specifies the time frame for aggregating clone data: `day` for daily clone counts, or `week` for weekly clone counts (a week starts on Monday).

    dayweek
  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the clone traffic data. It includes 'count' (total clones in the period), 'uniques' (total unique cloners in the period), and a 'clones' list. Each item in the 'clones' list is an object with 'timestamp' (ISO 8601 format string for the start of the day or week), 'count' (clones for that specific period), and 'uniques' (unique cloners for that specific period).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get repository contentGITHUB_GET_REPOSITORY_CONTENTAcción

Retrieves a file's base64 encoded content or a directory's metadata (but not a listing of its contents) from a github repository path.

Parámetros de entrada

  • refstring

    The name of the commit, branch, or tag. If not provided, the repository's default branch will be used.

  • pathstringObligatorio

    The path to the content in the repository. This can be a file or a directory path.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the file content or directory metadata. If `path` points to a file, this dictionary includes keys such as `name`, `path`, `sha`, `size`, `type` ('file'), `content` (Base64 encoded string of the file's contents), and `download_url`. If `path` points to a directory, this dictionary represents metadata for the directory object itself (e.g., its `name`, `path`, `sha`, `type` ('dir')). Note: To list the actual items *within* a directory, a different API endpoint or action might be needed, as the GitHub API returns an array of items for directory listings.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get repository permissions for a userGITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USERAcción

Retrieves a specific user's permission level ('admin', 'write', 'read', or 'none') for a given repository, where 'maintain' role is reported as 'write' and 'triage' as 'read'.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

  • usernamestringObligatorio

    GitHub user's handle (case-insensitive).

Parámetros de salida

  • dataobjectObligatorio

    Dictionary detailing the user's permission level (e.g., 'admin', 'write', 'read', 'none' under a 'permission' key) and potentially other details like 'role_name'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get repository secret securelyGITHUB_GET_REPOSITORY_SECRET_SECURELYAcción

Retrieves metadata for an existing dependabot secret in a repository, without exposing its encrypted value.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • secret_namestringObligatorio

    The name of the Dependabot secret to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the metadata of the secret, such as its name, creation date, and last update date. The encrypted value of the secret is not returned.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get rules for a branchGITHUB_GET_RULES_FOR_A_BRANCHAcción

Retrieves all active rules for a specific branch in a github repository, excluding rules in 'evaluate' or 'disabled' status.

Parámetros de entrada

  • pageinteger

    Page number of results to fetch.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The GitHub account owner of the repository. This name is not case-sensitive.

  • branchstringObligatorio

    The name of the branch. Wildcard characters are not supported for this parameter; to use wildcards, refer to the GitHub GraphQL API.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    API response containing an array of active branch rule objects for the specified branch. Each object details a rule's type, parameters, and enforcement status. Excludes rules in 'evaluate' or 'disabled' status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get single org secret without decryptionGITHUB_GET_SINGLE_ORG_SECRET_WITHOUT_DECRYPTIONAcción

Retrieves metadata (e.g., name, creation/update timestamps, visibility) for an organization's dependabot secret, without its encrypted value.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is case-insensitive.

  • secret_namestringObligatorio

    The name of the Dependabot secret to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the metadata of the organization's Dependabot secret. This includes details such as the secret's name, creation date, update date, and visibility, but excludes its encrypted value.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get status checks protectionGITHUB_GET_STATUS_CHECKS_PROTECTIONAcción

Retrieves the status check protection settings for a specific branch in a github repository, if status check protection is enabled for it.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This field is not case-sensitive.

  • branchstringObligatorio

    The name of the branch. Wildcard characters are not supported in branch names for this endpoint; for wildcard support, please refer to the GitHub GraphQL API.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the status check protection settings. This typically includes a `strict` boolean field (indicating if the branch must be up-to-date before merging) and a `contexts` array (listing the names of required status checks). It may also include a `checks` array if GitHub Apps are used for status checks.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get team membership for a userGITHUB_GET_TEAM_MEMBERSHIP_FOR_A_USERAcción

Retrieves a user's role and membership status within a specific team in an organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • usernamestringObligatorio

    The GitHub username of the user.

  • team_slugstringObligatorio

    The URL-friendly version of the team name (slug).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the membership details of the user in the team. It includes the user's 'role' (e.g., 'member', 'maintainer') and 'state' (e.g., 'active', 'pending') within the team, along with a 'url' pointing to the membership resource.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get teams with access to the protected branchGITHUB_GET_TEAMS_WITH_ACCESS_TO_THE_PROTECTED_BRANCHAcción

Lists teams with explicit push access to a protected branch, provided team restrictions are configured in the branch's protection settings; returns an empty list otherwise.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension; not case-sensitive.

  • ownerstringObligatorio

    Username of the repository owner; not case-sensitive.

  • branchstringObligatorio

    Name of the branch; does not support wildcard characters (for wildcard support, use the GraphQL API).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the authenticated userGITHUB_GET_THE_AUTHENTICATED_USERAcción

Gets the profile information for the currently authenticated github user, including potentially private details based on user settings.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Authenticated user's profile information. Common fields include 'login', 'id', 'name', 'email'; contents vary by user settings.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the combined status for a specific referenceGITHUB_GET_THE_COMBINED_STATUS_FOR_A_SPECIFIC_REFERENCEAcción

Retrieves the aggregated commit status (e.g., success, failure, pending) from all checks for a specific reference (sha, branch, or tag) in a github repository.

Parámetros de entrada

  • refstringObligatorio

    The specific commit reference to query. This can be a commit SHA, a branch name (e.g., `heads/main`), or a tag name (e.g., `tags/v1.0.0`). See "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" for more details.

  • pageinteger

    The page number for the results to retrieve. See "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)" for more information.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • per_pageinteger

    The number of results to display per page, with a maximum of 100. Details on pagination can be found in "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the combined status details for the specified reference. Key fields typically include `state` (the overall status: 'failure', 'pending', or 'success'), `statuses` (an array of individual status checks, each with its own context, state, and description), `sha` (the commit SHA), `total_count` (total number of status checks), and `repository` (information about the repository).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the hourly commit count for each dayGITHUB_GET_THE_HOURLY_COMMIT_COUNT_FOR_EACH_DAYAcción

Retrieves the 'punch card' data, showing hourly commit counts for each day of the week for an existing and accessible repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This is typically the username or organization name. The name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the commit activity. The GitHub API for 'punch card' stats returns data as a list of lists, where each inner list typically contains `[day_of_week, hour_of_day, number_of_commits]`. For example, `[0, 14, 5]` would mean 5 commits on Sunday (day 0) during the 2 PM hour (hour 14). The structure within this dictionary may be an internal representation or aggregation of that raw list-based data from the API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the last year of commit activityGITHUB_GET_THE_LAST_YEAR_OF_COMMIT_ACTIVITYAcción

Fetches weekly commit totals and daily commit counts for the last 52 weeks for a specified github repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary holding the commit activity for the repository's last 52 weeks, usually as a list of weekly stats. Each weekly stat details 'total' commits, 'week' (start timestamp), and 'days' (an array of commit counts from Sunday to Saturday).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the latest releaseGITHUB_GET_THE_LATEST_RELEASEAcción

Fetches the latest official (non-prerelease, non-draft) release for a github repository; requires at least one such published release.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Details of the latest GitHub release, including `tag_name`, name, body (release notes), `published_at`, assets, and author. For the complete structure, refer to the official GitHub API documentation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the license for a repositoryGITHUB_GET_THE_LICENSE_FOR_A_REPOSITORYAcción

Retrieves the license file and its details for a repository, optionally from a specific git reference (branch, tag, or commit sha).

Parámetros de entrada

  • refstring

    The specific Git reference (branch name, tag name, or commit SHA) to retrieve the license from. For a branch, it can be formatted as `refs/heads/<branch_name>` or simply `<branch_name>`. To reference a pull request's merge commit, use `refs/pull/<pull_number>/merge`. If omitted, the license from the repository's default branch is used.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the detailed license information for the repository. This typically includes fields like `name`, `path`, `sha`, `size`, `url`, `html_url`, `git_url`, `download_url`, `type`, `content` (Base64 encoded), `encoding`, and a `license` object with further details like `key`, `name`, `spdx_id`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the review history for a workflow runGITHUB_GET_THE_REVIEW_HISTORY_FOR_A_WORKFLOW_RUNAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The username of the account or the name of the organization that owns the repository. This name is not case-sensitive.

  • run_idintegerObligatorio

    The unique identifier of the workflow run for which to retrieve the review history.

Parámetros de salida

  • dataobjectObligatorio

    Information about each review within the workflow run: the environment requiring approval (e.g., name, ID), review state (e.g., 'approved', 'rejected', 'pending'), reviewer details, and any accompanying comments.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the status of a GitHub Pages deploymentGITHUB_GET_THE_STATUS_OF_A_GITHUB_PAGES_DEPLOYMENTAcción

Retrieves the status of a specific github pages deployment for a repository, which must have github pages enabled.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This field is not case-sensitive.

  • pages_deployment_idintegerObligatorio

    The unique identifier of the GitHub Pages deployment. This can be the numeric ID of the deployment or the commit SHA that triggered the deployment.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the GitHub Pages deployment. Key fields typically include `id` (deployment ID), `status` (e.g., 'built', 'queued', 'in_progress', 'success', 'failure'), `page_url` (URL of the deployed site), `preview_url` (URL of the preview site, if applicable), `actor` (details of the user who triggered the deployment), `created_at`, and `updated_at`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the weekly commit activityGITHUB_GET_THE_WEEKLY_COMMIT_ACTIVITYAcción

Fetches the weekly commit activity (additions and deletions per week) for a repository over the past year; best for repositories with under 10,000 commits.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a user or organization). This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the weekly commit countGITHUB_GET_THE_WEEKLY_COMMIT_COUNTAcción

Retrieves 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the weekly commit count data for the last 52 weeks. It has two keys: 'all' and 'owner'. The value for 'all' is a list of integers representing the total number of commits from all contributors for each week. The value for 'owner' is a list of integers representing the number of commits from the repository owner for each week. Both lists are ordered from the oldest week to the most recent week.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the zen of githubGITHUB_GET_THE_ZEN_OF_GITHUBAcción

Retrieves 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.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get top referral pathsGITHUB_GET_TOP_REFERRAL_PATHSAcción

Fetches the top 10 most viewed content paths for a repository from the last 14 days.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username of the account or organization owning the repository (not case-sensitive).

Parámetros de salida

  • dataobjectObligatorio

    Raw API response. Important: Despite the `t.Dict[str, t.Any]` type hint, the GitHub endpoint `/repos/{owner}/{repo}/traffic/popular/paths` returns a **list** of objects. Each object has `path`, `title`, `count` (total views, last 14 days), and `uniques` (unique visitors, last 14 days).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get top referral sourcesGITHUB_GET_TOP_REFERRAL_SOURCESAcción

Fetches the top 10 websites that referred traffic to a repository within the last 14 days.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is case-insensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is case-insensitive.

Parámetros de salida

  • dataobjectObligatorio

    Referral data from the past 14 days, listing up to 10 sources with their domain ('referrer'), total views ('count'), and unique visitors ('uniques').

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get users with access to the protected branchGITHUB_GET_USERS_WITH_ACCESS_TO_THE_PROTECTED_BRANCHAcción

Lists users with explicit push access to a protected branch, provided its protection rule restricts pushes to specific users.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., user or organization). This name is not case-sensitive.

  • branchstringObligatorio

    The name of the protected branch. Wildcard characters are not supported. To use wildcard characters in branch names, refer to the GitHub GraphQL API.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get workflow external access levelGITHUB_GET_WORKFLOW_EXTERNAL_ACCESSAcción

Gets the access level settings for a private repository, determining how workflows outside this repository can use its actions and reusable workflows.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Access level settings, including the `access_level` (`none`, `user`, or `organization`), which specifies how workflows outside the repository can use actions and reusable workflows in this repository.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get workflow run usageGITHUB_GET_WORKFLOW_RUN_USAGEAcción

Gets the billable time, in milliseconds, for a specific workflow run, detailing time spent on various operating systems.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    Account owner of the repository (username or organization name); not case sensitive.

  • run_idintegerObligatorio

    Unique identifier of the workflow run.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get workflow usageGITHUB_GET_WORKFLOW_USAGEAcción

Gets the billable time (in milliseconds, broken down by runner os) for a specific workflow within a repository for the current billing cycle.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • workflow_idintegerObligatorio

    The unique identifier (ID) of the workflow or the workflow's file name (e.g., 'main.yml').

Parámetros de salida

  • dataobjectObligatorio

    Workflow usage timing information, including total billable milliseconds for each runner environment (e.g., UBUNTU, MACOS, WINDOWS).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a gistGITHUB_GIST_S_CREATEAcción

Deprecated: use `create a gist` instead. creates a new github gist with specified files, content, an optional description, and public visibility.

Parámetros de entrada

  • filesobjectObligatorio

    Content for the gist's files. Dictionary where keys are filenames and values are objects, each having a `content` key with the file's raw string data.

  • publicboolean

    Indicates if the gist is public (`true`) or secret (`false`).

  • descriptionstring

    Optional description for the gist.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public gistsGITHUB_GIST_S_LIST_PUBLICAcción

(deprecated: use `list public gists` instead) lists public gists from github, optionally filtering by a 'since' timestamp and supporting pagination; results are generally newest first.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch for pagination.

  • sincestring

    Filters results to gists last updated at or after this ISO 8601 timestamp (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • per_pageinteger

    Number of gists to return per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio

    The data payload from the API response. For the `/gists/public` endpoint, GitHub returns a list of Gist objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get GitHub API rootGITHUB_GITHUB_API_ROOTAcción

Retrieves a map of all top-level github rest api resource urls and their templates.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary where keys are descriptive names of GitHub API resources (e.g., 'current_user_url', 'emojis_url') and values are their corresponding API endpoint URLs or URL templates. This map serves as an entry point to discover various functionalities of the GitHub REST API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get allowed actions and workflows for a repositoryGITHUB_GITHUB_GET_REPO_ALLOWED_ACTIONSAcción

Gets the settings for allowed actions and reusable workflows that can be run in the specified repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the configuration of allowed actions and reusable workflows for the repository. This typically includes fields such as `github_owned_allowed` (boolean, true if actions published by GitHub are allowed), `verified_allowed` (boolean, true if actions published by verified creators are allowed), and `patterns_allowed` (list of strings, specifying patterns of allowed actions and reusable workflows).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set custom labels for repo runnerGITHUB_GITHUB_SET_REPO_RUNNER_LABELSAcción

Replaces all custom labels for a specific self-hosted runner in a repository; an empty list for `labels` removes all existing custom labels.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Account owner of the repository (not case-sensitive).

  • labelsstring[]Obligatorio

    Custom labels to set for the runner; an empty list removes all custom labels and replaces existing ones.

  • runner_idintegerObligatorio

    Unique identifier of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an issueGITHUB_ISSUES_CREATEAcción

(deprecated: use `create an issue` instead) creates a new issue in a github repository, provided issues are enabled and the user has sufficient permissions.

Parámetros de entrada

  • bodystring

    The detailed textual contents of the new issue.

  • repostringObligatorio

    The name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    The GitHub account owner of the repository (case-insensitive).

  • titlestringObligatorio

    The title for the new issue.

  • labelsstring[]

    Label names to associate with this issue (generally case-insensitive). NOTE: Only users with push access can set labels; they are silently dropped otherwise. Pass an empty list to clear all labels.

  • assigneestring

    Login for the user to whom this issue should be assigned. NOTE: Only users with push access can set the assignee; it is silently dropped otherwise. **This field is deprecated in favor of `assignees`.**

  • assigneesstring[]

    GitHub login names for users to assign to this issue. NOTE: Only users with push access can set assignees; they are silently dropped otherwise.

  • milestonestring

    The ID of the milestone to associate this issue with (e.g., "5"). NOTE: Only users with push access can set the milestone; it is silently dropped otherwise.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full data representation of the newly created GitHub issue, including its ID, title, body, state, assignees, labels, etc.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an issue commentGITHUB_ISSUES_CREATE_COMMENTAcción

Deprecated: use `create an issue comment` to create a comment on an existing github issue or pull request.

Parámetros de entrada

  • bodystringObligatorio

    Comment content in GitHub Flavored Markdown.

  • repostringObligatorio

    Name of the repository (without `.git` extension); not case-sensitive.

  • ownerstringObligatorio

    Account owner of the repository (username or organization); not case-sensitive.

  • issue_numberintegerObligatorio

    Number identifying the issue or pull request for the comment.

Parámetros de salida

  • dataobjectObligatorio

    Full API response for the created issue comment, including ID, author, body, and timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an issueGITHUB_ISSUES_GETAcción

Deprecated: use the `get an issue` action instead to retrieve details for a specific issue in a repository.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository (without `.git` extension). Not case-sensitive.

  • ownerstringObligatorio

    Username of the account owning the repository. Not case-sensitive.

  • issue_numberintegerObligatorio

    The identifying number of the issue.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the issue details. Key fields include 'id', 'node_id', 'url', 'repository_url', 'labels_url', 'comments_url', 'events_url', 'html_url', 'number', 'state', 'title', 'body', 'user', 'labels', 'assignee', 'assignees', 'milestone', 'locked', 'active_lock_reason', 'comments', 'pull_request', 'closed_at', 'created_at', 'updated_at', 'closed_by', 'author_association', 'state_reason', and 'reactions'. The API does not return custom fields.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List assigneesGITHUB_ISSUES_LIST_ASSIGN_EESAcción

Deprecated: use `list assignees`. lists users who can be assigned to issues in a repository, typically those with push access.

Parámetros de entrada

  • pageinteger

    Page number of results (1-indexed).

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case-sensitive.

  • per_pageinteger

    Number of results per page. Max 100.

Parámetros de salida

  • dataobjectObligatorio

    List of user objects, each detailing a user assignable to issues (e.g., login, ID, avatar_url).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List issue events for a repositoryGITHUB_ISSUES_LIST_EVENTS_FOR_REPOAcción

Lists all issue events for a specified repository. <<deprecated: this action is deprecated. use `list issue events for a repository` instead.>>

Parámetros de entrada

  • pageinteger

    Page number for pagination.

  • repostringObligatorio

    Repository name, without the `.git` extension; case-insensitive.

  • ownerstringObligatorio

    Account owner of the repository (username or organization name); case-insensitive.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    Raw API response, typically a list of issue events.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository issuesGITHUB_ISSUES_LIST_FOR_REPOAcción

Lists all issues (including pull requests) in a github repository; deprecated: use list repository issues.

Parámetros de entrada

  • pageinteger

    Page number for the set of results. Refer to GitHub's REST API documentation for pagination details.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • sortstringenum

    The field to sort the results by.

    createdupdatedcomments
  • ownerstringObligatorio

    The GitHub account owner of the repository. This name is not case-sensitive.

  • sincestring

    Filters issues to include only those updated at or after the specified time. This should be a timestamp in ISO 8601 format (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • statestringenum

    Filters issues based on their state.

    openclosedall
  • labelsstring

    A comma-separated list of label names to filter issues by. Example: 'bug,ui,@high'.

  • creatorstring

    Filter issues by the username of the user who created the issue.

  • assigneestring

    Filter issues by assignee's username. Use 'none' for issues with no assignee, or '*' for issues assigned to any user.

  • per_pageinteger

    Number of results per page (max 100). Refer to GitHub's REST API documentation for pagination details.

  • directionstringenum

    The direction of the sort.

    ascdesc
  • mentionedstring

    Filter issues by a user mentioned in the issue's description or comments. Provide the username.

  • milestonestring

    Filter issues by milestone. Provide the milestone `number` as a string, '*' for issues with any milestone, or 'none' for issues without a milestone.

Parámetros de salida

  • dataobjectObligatorio

    Parsed JSON response from GitHub API, typically a list of issues.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List accepted assignments for an assignmentGITHUB_LIST_ACCEPTED_ASSIGNMENTS_FOR_AN_ASSIGNMENTAcción

Lists accepted assignments (student repositories created after acceptance) for an existing github classroom assignment, identified by its unique `assignment id`.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • per_pageinteger

    Number of results to return per page (maximum 100).

  • assignment_idintegerObligatorio

    The unique identifier of the classroom assignment for which to list accepted assignments.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List app installations for user tokenGITHUB_LIST_APP_INSTALLATIONS_ACCESSIBLE_TO_THE_USER_ACCESS_TOKENAcción

Lists github app installations accessible to the authenticated user via their access token, including installation details, permissions, and repository access.

Parámetros de entrada

  • pageinteger

    Page number of results to retrieve.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    Raw GitHub API response containing `total_count` of accessible installations and a list of `installations`, each with details like `id`, `account`, `app_id`, `permissions`, `repository_selection`, and `access_tokens_url`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List artifacts for a repositoryGITHUB_LIST_ARTIFACTS_FOR_A_REPOSITORYAcción

Lists github actions workflow artifacts for a specified repository, which must exist.

Parámetros de entrada

  • namestring

    The name of an artifact. If specified, only artifacts with this exact name will be returned. If omitted or null, all artifacts in the repository are listed (subject to pagination).

  • pageinteger

    The page number of the results to fetch, starting from 1.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This field is not case-sensitive.

  • per_pageinteger

    The number of artifacts to return per page; maximum is 100.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the raw JSON response from the GitHub API. This typically includes a 'total_count' field indicating the total number of artifacts and an 'artifacts' array, where each element is an object detailing a workflow artifact (e.g., its ID, name, size, creation date, and download URL).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List assigned issues for authenticated userGITHUB_LIST_ASSIGNED_ISSUESAcción

Lists github issues for the authenticated user, defaulting to 'assigned' but filterable by other interactions, state, labels, and time, with sorting and pagination.

Parámetros de entrada

  • pageinteger

    Page number for paginated results.

  • sortstringenum

    Sort field for issues: `created` (by creation date), `updated` (by last update date), or `comments` (by number of comments).

    createdupdatedcomments
  • sincestring

    Include issues last updated at or after this ISO 8601 timestamp (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • statestringenum

    Filter issues by state: `open`, `closed`, or `all`.

    openclosedall
  • filterstringenum

    Filter by user interaction: `assigned` (issues assigned to the user), `created` (issues created by the user), `mentioned` (issues where the user is mentioned), `subscribed` (issues the user is subscribed to for updates), `repos` (all issues in repositories the user has access to, e.g., owned, member), or `all` (all issues the user can see, regardless of direct participation).

    assignedcreatedmentionedsubscribedreposall
  • labelsstring

    Comma-separated label names; issues must match *all* specified labels (e.g., `bug,ui,@high`).

  • per_pageinteger

    Number of results per page (maximum 100).

  • directionstringenum

    Sort direction: `asc` (ascending) or `desc` (descending).

    ascdesc

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List assigneesGITHUB_LIST_ASSIGNEESAcción

Lists users who can be assigned to issues in a repository, typically those with push access.

Parámetros de entrada

  • pageinteger

    Page number of results (1-indexed).

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case-sensitive.

  • per_pageinteger

    Number of results per page. Max 100.

Parámetros de salida

  • dataobjectObligatorio

    List of user objects, each detailing a user assignable to issues (e.g., login, ID, avatar_url).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List assignments for a classroomGITHUB_LIST_ASSIGNMENTS_FOR_A_CLASSROOMAcción

Lists all assignments for a given github classroom `classroom id`; the classroom must exist and be accessible.

Parámetros de entrada

  • pageinteger

    Specifies the page number of the results to retrieve. For more information, refer to GitHub's documentation on [Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).

  • per_pageinteger

    Specifies the number of results to return per page (maximum is 100). For more information, refer to GitHub's documentation on [Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).

  • classroom_idintegerObligatorio

    The unique identifier of the classroom for which assignments are to be listed.

Parámetros de salida

  • dataobjectObligatorio

    The JSON response from the API. For this 'List Assignments' endpoint, this is expected to be a list of assignment objects. Each object details an assignment within the classroom, including attributes like ID, title, type (e.g., individual, group), invite link, and status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List available machine types for a repositoryGITHUB_LIST_AVAILABLE_MACHINE_TYPES_FOR_A_REPOSITORYAcción

Lists machine types available for github codespaces in a repository, optionally using a git ref to check compatibility based on prebuild availability and devcontainer configurations.

Parámetros de entrada

  • refstring

    The Git reference (branch name, tag name, or commit SHA) to check for prebuild availability and devcontainer configuration restrictions. This ensures listed machine types are compatible with the specified repository version.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This is typically the username (for personal repositories) or the organization name (for organization-owned repositories). The name is not case sensitive.

  • locationstring

    The geographic location to check for available machine types. If not provided, the location may be inferred. Specifying a location can help find machines in a preferred region.

  • client_ipstring

    An IP address used for auto-detecting the location if `location` is not specified. This is particularly useful when requests are proxied, to ensure location-based machine availability is accurate.

Parámetros de salida

  • dataobjectObligatorio

    The raw response from the API. Typically, this dictionary includes a 'total_count' of available machine types and a 'machines' array. Each element in the 'machines' array details a specific machine type, including its name, display name, CPU cores, memory, storage, and operating system.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List branchesGITHUB_LIST_BRANCHESAcción

Lists branches for an existing github repository, with an option to filter by protection status.

Parámetros de entrada

  • pageinteger

    Page number for paginated results.

  • repostringObligatorio

    Repository name, excluding `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner's username (case-insensitive).

  • per_pageinteger

    Number of results per page (max 100).

  • protectedboolean

    Filter by protection status: `true` for protected, `false` for unprotected; omit for all branches.

Parámetros de salida

  • dataobjectObligatorio

    API response containing a list of branches, each with details like name, commit, and protection status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List branches for head commitGITHUB_LIST_BRANCHES_FOR_HEAD_COMMITAcción

Lists branches in an accessible repository where the provided commit sha is the head, useful for identifying development lines based on that commit.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a user or organization). This name is not case-sensitive.

  • commit_shastringObligatorio

    The full SHA-1 hash of the commit. This action will find branches where this commit is the most recent one (the head).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List check run annotationsGITHUB_LIST_CHECK_RUN_ANNOTATIONSAcción

Lists annotations for a specific check run in a github repository, detailing issues like errors or warnings on particular code lines.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch. See "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)" for more details.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This is typically the username or organization name. The name is not case sensitive.

  • per_pageinteger

    The number of results per page (maximum 100). See "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)" for more details.

  • check_run_idintegerObligatorio

    The unique identifier of the check run for which annotations are to be listed.

Parámetros de salida

  • dataobjectObligatorio

    List of annotation objects detailing code points (e.g., lint errors, test failures). Key properties: `path`, `start_line`, `end_line`, `annotation_level` ('notice', 'warning', 'failure'), `message`, `title`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List check runs for a git referenceGITHUB_LIST_CHECK_RUNS_FOR_A_GIT_REFERENCEAcción

Lists check runs for a given git reference within a repository; ensure the reference exists and the repository is accessible.

Parámetros de entrada

  • refstringObligatorio

    Git reference: a commit SHA, branch name (e.g., `heads/main`), or tag name (e.g., `tags/v1.0.0`).

  • pageinteger

    Page number of the results to fetch.

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

  • app_idinteger

    Filter check runs by the ID of the creating GitHub App.

  • filterstringenum

    Filter logic for check runs: `latest` returns the most recent for each unique check name, `all` returns all.

    latestall
  • statusstringenum

    Filter check runs by their status.

    queuedin_progresscompleted
  • per_pageinteger

    Number of results per page for pagination (max 100).

  • check_namestring

    Return only check runs with this specific name.

Parámetros de salida

  • dataobjectObligatorio

    Raw API response data, including check runs and their details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List check runs in a check suiteGITHUB_LIST_CHECK_RUNS_IN_A_CHECK_SUITEAcción

Lists check runs for a specific check suite in a github repository, optionally filtering by check name or status.

Parámetros de entrada

  • pageinteger

    Page number of results to fetch (starts at 1).

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username or organization name of the repository owner (case-insensitive).

  • filterstringenum

    Filter by `completed_at` timestamp: 'latest' for most recent, 'all' for all check runs.

    latestall
  • statusstringenum

    Filter check runs by status; returns all statuses if omitted.

    queuedin_progresscompleted
  • per_pageinteger

    Number of check runs per page (max 100).

  • check_namestring

    Filter check runs by this name; returns all names if omitted.

  • check_suite_idintegerObligatorio

    Numeric ID of the check suite.

Parámetros de salida

  • dataobjectObligatorio

    API response including `total_count` of matching check runs and an array `check_runs` detailing individual runs.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List check suites for a git referenceGITHUB_LIST_CHECK_SUITES_FOR_A_GIT_REFERENCEAcción

Lists check suites for a git reference (commit sha, branch, or tag) in a repository, optionally filtering by github app id or check run name.

Parámetros de entrada

  • refstringObligatorio

    Git reference (commit SHA, branch name like `heads/BRANCH_NAME` or `BRANCH_NAME`, or tag name like `tags/TAG_NAME` or `TAG_NAME`) to list check suites for.

  • pageinteger

    Page number of results to fetch (1-indexed).

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This name is not case-sensitive.

  • app_idinteger

    Filters check suites by the `id` of the GitHub App that created them. If omitted, check suites from all apps are returned.

  • per_pageinteger

    Number of results per page (max 100).

  • check_namestring

    Filters check suites by the name of a check run. Only check suites that contain at least one check run with this name will be returned. If omitted, check suites are not filtered by check run name.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response. This typically includes `total_count`, an integer indicating the total number of check suites found that match the query, and `check_suites`, a list of check suite objects. Each check suite object provides details about the suite, such as its status, conclusion, and associated check runs.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List child teamsGITHUB_LIST_CHILD_TEAMSAcción

Lists the immediate child teams of a parent team within an organization.

Parámetros de entrada

  • orgstringObligatorio

    The organization name (not case-sensitive).

  • pageinteger

    Page number of the results to retrieve.

  • per_pageinteger

    Number of results per page (maximum 100).

  • team_slugstringObligatorio

    The slug (URL-friendly version) of the parent team's name.

Parámetros de salida

  • dataobjectObligatorio

    The raw API response data, typically a list of child team objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List classroomsGITHUB_LIST_CLASSROOMSAcción

Lists github classrooms to which the authenticated user has administrative access.

Parámetros de entrada

  • pageinteger

    Page number for the results.

  • per_pageinteger

    Number of results per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List codeowners errorsGITHUB_LIST_CODEOWNERS_ERRORSAcción

Lists syntax errors in a repository's codeowners file, which must be located at the root, `.github/`, or `docs/` directory for the specified ref.

Parámetros de entrada

  • refstring

    Branch name, tag, or commit SHA for the CODEOWNERS file; defaults to the repository's default branch if unspecified.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (not case-sensitive).

Parámetros de salida

  • dataobjectObligatorio

    Dictionary, typically with an 'errors' key mapping to a list of syntax error objects (each detailing line, kind, and message). An empty list for 'errors' or a success message indicates no errors found.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List CodeQL databases for a repositoryGITHUB_LIST_CODE_QL_DATABASES_FOR_A_REPOSITORYAcción

Lists all codeql databases for a repository where codeql analysis has been previously run and completed.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (not case-sensitive).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List code scanning alerts for an organizationGITHUB_LIST_CODE_SCANNING_ALERTS_FOR_AN_ORGANIZATIONAcción

Lists code scanning alerts for a github organization; use either `tool name` or `tool guid` if filtering by tool, not both.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (case-insensitive).

  • pageinteger

    Page number for results. Used if `before` or `after` cursors are not provided.

  • sortstringenum

    Sort field.

    createdupdated
  • afterstring

    A pagination cursor to retrieve results appearing after this.

  • statestringenum

    Filter alerts by state.

    opencloseddismissedfixed
  • beforestring

    A pagination cursor to retrieve results appearing before this.

  • per_pageinteger

    Number of results per page (maximum 100).

  • severitystringenum

    Filter alerts by severity.

    criticalhighmediumlowwarningnoteerror
  • directionstringenum

    Sort direction.

    ascdesc
  • tool_guidstring

    GUID of the code scanning tool. Some tools may not report a GUID. Cannot be used with `tool_name`.

  • tool_namestring

    Name of the code scanning tool (e.g., 'CodeQL'). Cannot be used with `tool_guid`.

Parámetros de salida

  • dataobjectObligatorio

    Raw JSON response from the GitHub API, typically a list of alert objects. Refer to GitHub API documentation for the alert object schema.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List code scanning alerts for a repositoryGITHUB_LIST_CODE_SCANNING_ALERTS_FOR_A_REPOSITORYAcción

Lists code scanning alerts for a repository, optionally filtering by tool (which must have produced scan results for the repository), git reference, state, or severity.

Parámetros de entrada

  • refstring

    Git reference (branch, tag, or pull request merge reference, e.g., `refs/pull/42/merge`) for retrieving alerts; defaults to the repository's default branch if unspecified.

  • pageinteger

    Page number for paginated results, starting at 1.

  • repostringObligatorio

    The name of the repository, without the `.git` extension; not case-sensitive.

  • sortstringenum

    Sort property: `created` (alert creation time) or `updated` (last update time).

    createdupdated
  • ownerstringObligatorio

    The account owner of the repository (username or organization name); not case-sensitive.

  • statestringenum

    Filters alerts by state.

    opencloseddismissedfixed
  • per_pageinteger

    Number of results per page (max 100).

  • severitystringenum

    Filters alerts by severity.

    criticalhighmediumlowwarningnoteerror
  • directionstringenum

    Sort direction: `asc` (ascending) or `desc` (descending).

    ascdesc
  • tool_guidstring

    The GUID of a code scanning tool to filter alerts by; use either `tool_guid` or `tool_name`, not both. Some tools may not provide a GUID.

  • tool_namestring

    The name of a code scanning tool to filter alerts by; use either `tool_name` or `tool_guid`, not both.

Parámetros de salida

  • dataobjectObligatorio

    List of code scanning alert objects matching the query, filters, and pagination.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List code scanning analyses for a repositoryGITHUB_LIST_CODE_SCANNING_ANALYSES_FOR_A_REPOSITORYAcción

Lists code scanning analyses for an existing repository, optionally filtering by tool (name or guid), git reference, or sarif id.

Parámetros de entrada

  • refstring

    The Git reference for which to list analyses. This can be a branch name (e.g., 'main' or 'refs/heads/main') or a pull request merge reference (e.g., 'refs/pull/123/merge').

  • pageinteger

    Page number of the results to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • sortstringenum

    Property by which to sort the results. Currently, only 'created' is a supported sort field.

    created
  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • per_pageinteger

    Number of results to return per page (maximum 100).

  • sarif_idstring

    Filter analyses to those associated with a specific SARIF upload ID.

  • directionstringenum

    Direction to sort results. 'asc' for ascending, 'desc' for descending.

    ascdesc
  • tool_guidstring

    The GUID of a code scanning tool used to filter analyses. Only results from this tool will be listed. Some tools may not provide a GUID. Mutually exclusive with `tool_name`.

  • tool_namestring

    The name of a code scanning tool used to filter analyses. Only results from this tool will be listed. Mutually exclusive with `tool_guid`.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List codespaces for a user in organizationGITHUB_LIST_CODESPACES_FOR_A_USER_IN_ORGANIZATIONAcción

Lists all github codespaces owned by a specified member of a given organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive).

  • pageinteger

    Page number of the results to retrieve (starts from 1).

  • per_pageinteger

    Number of codespaces to return per page (maximum 100).

  • usernamestringObligatorio

    GitHub username of the organization member.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List codespaces for the authenticated userGITHUB_LIST_CODESPACES_FOR_THE_AUTHENTICATED_USERAcción

Lists github codespaces for the authenticated user, optionally filtering by repository id and supporting pagination.

Parámetros de entrada

  • pageinteger

    Page number for results (starts at 1). For pagination details, see: https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api.

  • per_pageinteger

    Number of codespaces per page (max 100). For pagination details, see: https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api.

  • repository_idinteger

    If provided, filters codespaces to this repository ID.

Parámetros de salida

  • dataobjectObligatorio

    API response including 'total_count' and a 'codespaces' list, where each codespace object has details like ID, name, state, and repository.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List codespaces for the organizationGITHUB_LIST_CODESPACES_FOR_THE_ORGANIZATIONAcción

Lists active/pending github codespaces for an existing organization; admins list all, members list their own.

Parámetros de entrada

  • orgstringObligatorio

    Non-case-sensitive unique identifier of the GitHub organization.

  • pageinteger

    Page number of results. Details: '[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)'.

  • per_pageinteger

    Number of results per page (max 100). Details: '[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)'.

Parámetros de salida

  • dataobjectObligatorio

    API response with `total_count` of organization codespaces and a `codespaces` list, each with full details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List comments for a pull request reviewGITHUB_LIST_COMMENTS_FOR_A_PULL_REQUEST_REVIEWAcción

Lists all comments for a specific review on a github pull request.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch. See GitHub's [pagination guide](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • per_pageinteger

    Number of comments to retrieve per page (max 100). See GitHub's [pagination guide](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).

  • review_idintegerObligatorio

    The unique identifier of the pull request review.

  • pull_numberintegerObligatorio

    The unique number that identifies the pull request within the repository.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List commit commentsGITHUB_LIST_COMMIT_COMMENTSAcción

Retrieves all comments for a specific commit in a github repository, supporting pagination.

Parámetros de entrada

  • pageinteger

    The page number of the results to retrieve. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • per_pageinteger

    The number of comments to return per page. Maximum value is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • commit_shastringObligatorio

    The SHA hash of the commit for which comments are to be listed.

Parámetros de salida

  • dataobjectObligatorio

    A list of commit comments. Each comment object provides details such as its ID, author information (user), comment body, HTML URL, and creation/update timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List commit comments for a repositoryGITHUB_LIST_COMMIT_COMMENTS_FOR_A_REPOSITORYAcción

Lists all commit comments for a specified repository, which must exist and be accessible.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch (starts at 1).

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    The account owner of the repository (not case-sensitive).

  • per_pageinteger

    Number of results to return per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List commitsGITHUB_LIST_COMMITSAcción

Retrieves commits for a repository, optionally filtering by sha (must be valid commit sha or existing branch), path, author, committer, or date range.

Parámetros de entrada

  • shastring

    SHA hash or branch name to start listing commits from. If not provided, the GitHub API uses the repository's default branch (usually `main` or `master`).

  • pageinteger

    Page number of the results to fetch when using pagination.

  • pathstring

    Only commits modifying this specific file path will be returned.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • sincestring

    Only commits created on or after this timestamp will be returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.

  • untilstring

    Only commits created before this timestamp will be returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.

  • authorstring

    Filter commits by the commit author's GitHub login or email address.

  • per_pageinteger

    Number of results to return per page (max 100).

  • committerstring

    Filter commits by the commit committer's GitHub login or email address. The committer is the user who applied the patch and may differ from the original author.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response, typically a list of commit objects and related information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List commits on a pull requestGITHUB_LIST_COMMITS_ON_A_PULL_REQUESTAcción

Lists commits for a pull request; requires the repository and pull request to exist and be accessible, and supports pagination.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch.

  • repostringObligatorio

    Repository name, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    Account owner of the repository. This name is not case-sensitive.

  • per_pageinteger

    The number of results per page (maximum 100).

  • pull_numberintegerObligatorio

    The number that identifies the pull request.

Parámetros de salida

  • dataobjectObligatorio

    List of commit objects for the pull request, including details such as SHA, author, committer, and message.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List commit statuses for a referenceGITHUB_LIST_COMMIT_STATUSES_FOR_A_REFERENCEAcción

Lists commit statuses for a specific reference (commit sha, branch, or tag) in a repository, useful for tracking ci/test outcomes.

Parámetros de entrada

  • refstringObligatorio

    Commit reference: full commit SHA, branch name (e.g., `heads/BRANCH_NAME`), or tag name (e.g., `tags/TAG_NAME`).

  • pageinteger

    Page number of results to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    Contains the API response, typically a list of commit status objects. For detailed structure, refer to official GitHub API documentation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List custom property values for organization repositoriesGITHUB_LIST_CUSTOM_PROPERTY_VALUES_FOR_ORGANIZATION_REPOSITORIESAcción

Lists custom property values for repositories in a specified, existing organization, optionally filtered by a repository query.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

  • pageinteger

    The page number for the set of results to retrieve. For more details, refer to the GitHub REST API documentation on pagination.

  • per_pageinteger

    The number of results to display per page (maximum 100). For more details, refer to the GitHub REST API documentation on pagination.

  • repository_querystring

    A query string to filter repositories within the organization. Uses GitHub's standard search syntax, including keywords and qualifiers (e.g., 'is:public', 'topic:security'). For detailed syntax, consult GitHub's documentation on constructing search queries and searching for repositories.

Parámetros de salida

  • dataobjectObligatorio

    The response from the API, typically a list of repository objects. Each object includes repository details (like `repository_id`, `repository_name`, `repository_full_name`) and a `properties` array listing its custom property names and their assigned values. Note: The API returns a list of objects, but the type hint is `t.Dict[str, t.Any]`; the data should be processed as a list of dictionaries where each dictionary represents a repository.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List deliveries for an organization webhookGITHUB_LIST_DELIVERIES_FOR_AN_ORGANIZATION_WEBHOOKAcción

Retrieves a list of webhook deliveries for a specific webhook in an organization, allowing inspection of delivery history and details.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization (case-insensitive).

  • cursorstring

    Pagination cursor specifying the starting delivery for the page.

  • hook_idintegerObligatorio

    Unique identifier of the webhook.

  • per_pageinteger

    Number of results to return per page (max 100).

  • redeliveryboolean

    Filter for redeliveries: `true` for only redeliveries, `false` to exclude them.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List deliveries for a repository webhookGITHUB_LIST_DELIVERIES_FOR_A_REPOSITORY_WEBHOOKAcción

Retrieves delivery attempts for a specific repository webhook to inspect its history; ensure the webhook id exists.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is case-insensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is case-insensitive.

  • cursorstring

    Specifies the starting delivery for pagination. The `Link` header in the response provides cursors for the next and previous pages.

  • hook_idintegerObligatorio

    The unique identifier of the webhook. This ID can be found in the `X-GitHub-Hook-ID` header of a webhook delivery.

  • per_pageinteger

    Maximum 100 results per page. For more details, refer to "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)".

  • redeliveryboolean

    If set to `true`, the response will include the latest redelivery attempt for each delivery, rather than the original delivery.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List deploy keysGITHUB_LIST_DEPLOY_KEYSAcción

Lists deploy ssh keys for a specified repository; the repository must exist.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch, starting from 1.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • per_pageinteger

    The number of deploy keys to return per page. Maximum value is 100.

Parámetros de salida

  • dataobjectObligatorio

    The GitHub API response containing a list of deploy key objects for the repository. Each object typically includes fields such as `id`, `key`, `title`, `url`, `verified`, `created_at`, and `read_only`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List deployment branch policiesGITHUB_LIST_DEPLOYMENT_BRANCH_POLICIESAcción

Lists all deployment branch policies for a specified environment in a github repository.

Parámetros de entrada

  • pageinteger

    Page number of results (starts at 1).

  • repostringObligatorio

    Repository name, without the `.git` extension; not case sensitive.

  • ownerstringObligatorio

    Account owner of the repository; not case sensitive.

  • per_pageinteger

    Number of results per page (max 100).

  • environment_namestringObligatorio

    Name of the environment; URL encode if it contains special characters (e.g., slashes to `%2F`).

Parámetros de salida

  • dataobjectObligatorio

    Deployment branch policies, typically including 'total_count' and a 'branch_policies' array.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List deploymentsGITHUB_LIST_DEPLOYMENTSAcción

Lists deployments for a specified repository; repository must exist.

Parámetros de entrada

  • refstring

    Filter by the ref name (branch, tag, or commit SHA).

  • shastring

    Filter by the commit SHA recorded when the deployment was created.

  • pageinteger

    The page number of the results to retrieve. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • taskstring

    Filter by the task name specified for the deployment.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • per_pageinteger

    The number of results to display per page (maximum 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • environmentstring

    Filter by the environment name to which deployed.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List deployment statusesGITHUB_LIST_DEPLOYMENT_STATUSESAcción

Lists all statuses for a given deployment in a repository.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • per_pageinteger

    Number of results per page (maximum 100).

  • deployment_idintegerObligatorio

    The unique identifier of the deployment for which statuses are being requested.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the list of deployment statuses. The structure of this dictionary conforms to the GitHub API specification for deployment statuses.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List discussion commentsGITHUB_LIST_DISCUSSION_COMMENTSAcción

Lists all comments for a specific team discussion within an organization.

Parámetros de entrada

  • orgstringObligatorio

    The organization name (case-insensitive).

  • pageinteger

    Page number of the results.

  • per_pageinteger

    Number of comments per page (max 100).

  • directionstringenum

    Sort direction for comments: 'asc' (oldest first) or 'desc' (newest first).

    ascdesc
  • team_slugstringObligatorio

    The team's slug (URL-friendly identifier).

  • discussion_numberintegerObligatorio

    The unique number identifying the team discussion.

Parámetros de salida

  • dataobjectObligatorio

    API response data containing an array of discussion comment objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List discussionsGITHUB_LIST_DISCUSSIONSAcción

Lists discussions for a specific team within an organization, with options for sorting, pagination, and filtering by pinned status.

Parámetros de entrada

  • orgstringObligatorio

    The organization's name (case-insensitive).

  • pageinteger

    Page number for pagination. Defaults to 1.

  • pinnedstring

    Filter for pinned discussions (e.g., '1' or 'true'). Omit to not filter by pinned status.

  • per_pageinteger

    Number of results per page (max 100). Defaults to 30.

  • directionstringenum

    Sort direction for results. Defaults to 'desc'.

    ascdesc
  • team_slugstringObligatorio

    The team's slug (URL-friendly name).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List email addresses for the authenticated userGITHUB_LIST_EMAIL_ADDRESSES_FOR_THE_AUTHENTICATED_USERAcción

Lists all email addresses for the authenticated user, including their primary status, verification status, and visibility.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List environment custom deployment rulesGITHUB_LIST_ENVIRONMENT_CUSTOM_DEPLOYMENT_RULESAcción

Lists all custom deployment protection rule integrations for a repository environment; the `environment name` must be url-encoded.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch, starting from 1.

  • repostringObligatorio

    Name of the repository, without the `.git` extension; not case-sensitive.

  • ownerstringObligatorio

    Account owner of the repository (user or organization); not case-sensitive.

  • per_pageinteger

    Number of results per page, with a maximum of 100.

  • environment_namestringObligatorio

    Name of the environment, which must be URL-encoded (e.g., slashes `/` replaced with `%2F`).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response. This typically includes `total_count` (the total number of custom deployment protection rule integrations available for the environment) and `integrations` (a list of integration objects, each detailing a custom deployment protection rule).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List environmentsGITHUB_LIST_ENVIRONMENTSAcción

Retrieves all deployment environments for a specified repository, which are used to configure protection rules and secrets for different software lifecycle stages.

Parámetros de entrada

  • pageinteger

    The page number of the results to retrieve. Starts from 1.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • per_pageinteger

    The number of results to return per page. Maximum value is 100.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response. It includes 'total_count' (the total number of environments) and 'environments' (a list of environment objects detailing each environment, including its name, ID, creation/update timestamps, and any protection rules).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List environment secretsGITHUB_LIST_ENVIRONMENT_SECRETSAcción

Lists the names and metadata (not values) of secrets for a specified, existing environment within an existing github repository.

Parámetros de entrada

  • pageinteger

    Page number for results (1-indexed).

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    The account owner's username (case-insensitive).

  • per_pageinteger

    Number of secrets per page (maximum 100).

  • environment_namestringObligatorio

    Name of the environment; URL-encode if it contains special characters (e.g., '/' becomes '%2F').

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List environment variablesGITHUB_LIST_ENVIRONMENT_VARIABLESAcción

Lists all environment variables, which are plaintext key-value pairs for github actions workflows, for a specified environment within a github repository.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a user or organization). This name is not case-sensitive.

  • per_pageinteger

    Number of results per page (maximum 30).

  • environment_namestringObligatorio

    The name of the environment. The name must be URL-encoded. For example, any slashes `/` in the name must be replaced with `%2F`.

Parámetros de salida

  • dataobjectObligatorio

    API response, typically including 'total_count' and a 'variables' list with details for each environment variable (e.g., 'name', 'value').

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List events for the authenticated userGITHUB_LIST_EVENTS_FOR_THE_AUTHENTICATED_USERAcción

Lists public events for the specified github user, or private events if authenticated as that user, in reverse chronological order.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • per_pageinteger

    Number of events to return per page (maximum 100).

  • usernamestringObligatorio

    The GitHub username for whom to list events. For example, 'octocat' or 'torvalds'.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the list of events for the specified user.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List events received by the authenticated userGITHUB_LIST_EVENTS_RECEIVED_BY_THE_AUTHENTICATED_USERAcción

Lists events a specific github user received from followed users and watched repositories; returns private events if authenticated for `username`, otherwise public.

Parámetros de entrada

  • pageinteger

    Indicates the page number of the results to fetch. For more information, see GitHub's REST API pagination guide.

  • per_pageinteger

    Specifies the number of events to return per page (maximum 100). For more information, see GitHub's REST API pagination guide.

  • usernamestringObligatorio

    The GitHub username for whom to fetch received events.

Parámetros de salida

  • dataobjectObligatorio

    A list of event objects detailing activities (e.g., PushEvent, IssueCommentEvent), each including details like 'id', 'type', 'actor', 'repo', and a 'payload'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List followers of a userGITHUB_LIST_FOLLOWERS_OF_A_USERAcción

Lists followers for a specified, existing github user.

Parámetros de entrada

  • pageinteger

    Page number for pagination of results (starts at 1).

  • per_pageinteger

    Number of results per page (maximum 100). Used for pagination.

  • usernamestringObligatorio

    The GitHub username (e.g., 'octocat', 'torvalds').

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List followers of the authenticated userGITHUB_LIST_FOLLOWERS_OF_THE_AUTHENTICATED_USERAcción

Lists users following the authenticated github user, returning an empty list if the user has no followers.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    A list of user objects, where each object contains follower information (e.g., `login`, `id`). Refer to GitHub API documentation for user object structure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List forksGITHUB_LIST_FORKSAcción

Lists forks for a specified repository, which must exist, with options for sorting and pagination.

Parámetros de entrada

  • pageinteger

    The page number of the results to retrieve, used for pagination. Defaults to 1.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • sortstringenum

    The sort order for the returned forks. `stargazers` sorts by the number of stars. Defaults to `newest`.

    newestoldeststargazerswatchers
  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • per_pageinteger

    The number of fork results to return per page. Maximum value is 100. Defaults to 30.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary holding the raw response from the GitHub API. This typically contains an array of fork objects, each detailing a fork of the repository.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List gist commentsGITHUB_LIST_GIST_COMMENTSAcción

Lists comments for a specified github gist.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • gist_idstringObligatorio

    The unique identifier of the Gist for which comments are to be listed.

  • per_pageinteger

    Number of comments to return per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    A list of comment objects for the Gist, including details such as ID, author, content ('body'), and timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List gist commitsGITHUB_LIST_GIST_COMMITSAcción

Lists all commits for a specified gist.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • gist_idstringObligatorio

    The unique identifier of the gist.

  • per_pageinteger

    Number of results per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List gist forksGITHUB_LIST_GIST_FORKSAcción

Lists all forks for a given github gist id.

Parámetros de entrada

  • pageinteger

    The page number of the results to retrieve, starting from 1. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • gist_idstringObligatorio

    The unique identifier (ID) of the gist for which to list forks.

  • per_pageinteger

    The number of fork results to display per page. Maximum value is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio

    The API response payload, containing the collection of gist forks. Each fork object provides details such as the forking user, URLs, and creation/update timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List gists for a userGITHUB_LIST_GISTS_FOR_A_USERAcción

Lists public gists for a specified github user.

Parámetros de entrada

  • pageinteger

    Indicates the page number of the results to retrieve.

  • sincestring

    Filters gists to those updated on or after this ISO 8601 timestamp (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • per_pageinteger

    Specifies the number of gists to return per page. Maximum value is 100.

  • usernamestringObligatorio

    The GitHub username of the user whose gists are to be listed.

Parámetros de salida

  • dataobjectObligatorio

    Raw JSON response from the API, typically a list of gists for the specified user. Each gist object usually includes details like 'id', 'html_url', 'files', 'public', 'created_at', 'description', and 'owner'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List gists for the authenticated userGITHUB_LIST_GISTS_FOR_THE_AUTHENTICATED_USERAcción

Lists gists for the authenticated user, with optional filtering by update time and pagination.

Parámetros de entrada

  • pageinteger

    Page number of results to retrieve.

  • sincestring

    Filters gists to include only those updated at or after this ISO 8601 timestamp (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • per_pageinteger

    Number of gists to return per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List github actions caches for a repositoryGITHUB_LIST_GITHUB_ACTIONS_CACHES_FOR_A_REPOSITORYAcción

Lists github actions caches for a repository, with options to filter by git reference or cache key, and to sort and paginate results.

Parámetros de entrada

  • keystring

    An explicit key or a prefix to filter caches that match the key or start with the prefix.

  • refstring

    Full Git reference for filtering caches (e.g., `refs/heads/<branch_name>` or `refs/pull/<pull_request_number>/merge`).

  • pageinteger

    Page number of results to retrieve (starts from 1).

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • sortstringenum

    Property for sorting results: `created_at` (creation time), `last_accessed_at` (last access time), or `size_in_bytes` (cache size).

    created_atlast_accessed_atsize_in_bytes
  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • per_pageinteger

    Number of cache entries per page (max 100).

  • directionstringenum

    Direction for sorting results: `asc` (ascending) or `desc` (descending).

    ascdesc

Parámetros de salida

  • dataobjectObligatorio

    API response payload containing `total_count` (total matching caches) and `actions_caches` (an array of cache objects).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List GitHub Pages buildsGITHUB_LIST_GITHUB_PAGES_BUILDSAcción

Lists github pages builds for a repository; github pages must be enabled on the repository for builds to be listed.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., username or organization). This name is not case-sensitive.

  • per_pageinteger

    The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio

    Contains GitHub Pages builds data, typically a list of build objects. For structure details, refer to the GitHub API documentation for 'List GitHub Pages builds'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List global security advisoriesGITHUB_LIST_GLOBAL_SECURITY_ADVISORIESAcción

Lists github's global security advisories, filterable by various attributes including id, type, ecosystem, severity, and dates.

Parámetros de entrada

  • cwesstring[]

    Filter by Common Weakness Enumeration (CWE) identifiers. Accepts comma-separated string or multiple parameters. Example: `cwes=79,284`.

  • sortstringenum

    Property to sort results by (updated, published).

    updatedpublished
  • typestringenum

    Filter by advisory type (e.g., reviewed, malware). Defaults to 'reviewed'; if this default is active and no other search parameters are used, malware advisories are also excluded.

    reviewedmalwareunreviewed
  • afterstring

    Pagination cursor to retrieve results after this value.

  • beforestring

    Pagination cursor to retrieve results before this value.

  • cve_idstring

    Filter by Common Vulnerabilities and Exposures (CVE) identifier.

  • affectsstring[]

    Filter by affected 'package' or 'package@version'. Max 100 items. Example: `affects=pkg1,pkg2@1.0.0`.

  • ghsa_idstring

    Filter by GitHub Security Advisory (GHSA) identifier.

  • updatedstring

    Filter by update date or date range. For syntax, see GitHub's 'understanding the search syntax' documentation.

  • modifiedstring

    Filter by last modification (update or publication) date or date range. For syntax, see GitHub's 'understanding the search syntax' documentation.

  • per_pageinteger

    Number of results per page (max 100).

  • severitystringenum

    Filter by advisory severity (e.g., high, critical).

    unknownlowmediumhighcritical
  • directionstringenum

    Sort direction for results (asc, desc).

    ascdesc
  • ecosystemstringenum

    Filter by package ecosystem (e.g., npm, pip).

    rubygemsnpmpipmavennugetcomposergorusterlangactionspubother+1
  • publishedstring

    Filter by publication date or date range. For syntax, see GitHub's 'understanding the search syntax' documentation.

  • is_withdrawnboolean

    Filter for withdrawn advisories.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List installation requests for the authenticated appGITHUB_LIST_INSTALLATION_REQUESTS_FOR_THE_AUTHENTICATED_APPAcción

Lists pending installation requests made by users or organizations for the authenticated github app.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • per_pageinteger

    Number of results to return per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List instances of a code scanning alertGITHUB_LIST_INSTANCES_OF_A_CODE_SCANNING_ALERTAcción

Lists all instances of a specific code scanning alert, optionally filtered by git ref; requires code scanning to be enabled on the repository.

Parámetros de entrada

  • refstring

    The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`.

  • pageinteger

    The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • per_pageinteger

    The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • alert_numberintegerObligatorio

    The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List issue commentsGITHUB_LIST_ISSUE_COMMENTSAcción

Lists comments for a specified issue in a github repository.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (not case-sensitive).

  • sincestring

    Filters comments to include only those updated at or after this ISO 8601 timestamp (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • per_pageinteger

    Number of comments to return per page (max 100).

  • issue_numberintegerObligatorio

    Number that identifies the issue.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List issue comments for a repositoryGITHUB_LIST_ISSUE_COMMENTS_FOR_A_REPOSITORYAcción

Lists issue comments, including those on pull requests, for an accessible repository.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch, used for pagination. Default is 1. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • sortstringenum

    Specifies the field by which to sort the issue comments. Valid values are `created` (for creation date, default) or `updated` (for last update date).

    createdupdated
  • ownerstringObligatorio

    The username of the account or the organization name that owns the repository. This field is not case-sensitive.

  • sincestring

    Filters comments to include only those last updated at or after the specified time. This should be a timestamp in ISO 8601 format (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • per_pageinteger

    The number of issue comments to retrieve per page. Default is 30, maximum is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • directionstringenum

    The direction for sorting results. Valid values are `asc` (ascending) or `desc` (descending). This parameter is effective only when `sort` is also specified.

    ascdesc

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API's response data. For this endpoint, it typically holds a list of issue comment objects. Refer to the GitHub API documentation for the exact structure of these comment objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List issue eventsGITHUB_LIST_ISSUE_EVENTSAcción

Retrieves a list of all events for a specific issue within a github repository.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This name is not case-sensitive.

  • per_pageinteger

    The number of results to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • issue_numberintegerObligatorio

    The unique number that identifies the issue within the repository.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing a list of event objects for an issue. Each event object details a specific activity or change related to the issue (e.g., 'mentioned', 'subscribed', 'closed').

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List issue events for a repositoryGITHUB_LIST_ISSUE_EVENTS_FOR_A_REPOSITORYAcción

Lists all issue events (e.g., closed, reopened, assigned) for a specified repository.

Parámetros de entrada

  • pageinteger

    Page number for pagination.

  • repostringObligatorio

    Repository name, without the `.git` extension; case-insensitive.

  • ownerstringObligatorio

    Account owner of the repository (username or organization name); case-insensitive.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    Raw API response, typically a list of issue events.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List issues for userGITHUB_LIST_ISSUES_ASSIGNED_TO_THE_AUTHENTICATED_USERAcción

Lists 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.

Parámetros de entrada

  • orgsboolean

    Filter for issues in user's organization repositories; behavior may vary.

  • pageinteger

    Page number for results.

  • sortstring

    Field to sort issues by.

  • ownedboolean

    Filter for issues in user-owned repositories; behavior may vary.

  • pullsboolean

    Filter for pull requests (true) or issues (false); behavior may vary as PRs are often included by default.

  • sincestring

    Return issues updated at or after this ISO 8601 timestamp (YYYY-MM-DDTHH:MM:SSZ).

  • statestring

    Filter issues by state (e.g., 'open', 'closed').

  • collabboolean

    Filter for issues in collaborator repositories; behavior may vary.

  • filterstring

    Specifies the relationship for filtering issues (e.g., 'assigned', 'created').

  • labelsstring

    Comma-separated list of label names for filtering.

  • per_pageinteger

    Number of results per page (max 100).

  • directionstring

    Sort direction.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List jobs for a workflow runGITHUB_LIST_JOBS_FOR_A_WORKFLOW_RUNAcción

Lists jobs for a specific workflow run in a github repository.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch. For more details, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the .git extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • filterstringenum

    Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution attempt of the workflow run. `all` returns all jobs for a workflow run, including from previous execution attempts.

    latestall
  • run_idintegerObligatorio

    The unique identifier of the workflow run for which jobs are to be listed.

  • per_pageinteger

    The number of results to return per page, with a maximum of 100. For more details, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the list of jobs and related metadata. Each job typically includes details like 'id', 'name', 'status' (e.g., 'queued', 'in_progress', 'completed'), 'conclusion' (e.g., 'success', 'failure', 'skipped'), 'started_at', and 'completed_at' timestamps. For a detailed structure, refer to the official GitHub API documentation for workflow jobs.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List jobs for a workflow run attemptGITHUB_LIST_JOBS_FOR_A_WORKFLOW_RUN_ATTEMPTAcción

Lists jobs, including details like id, status, and steps, for a specific attempt of a github actions workflow run.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Account owner of the repository (not case-sensitive).

  • run_idintegerObligatorio

    Unique identifier of the workflow run.

  • per_pageinteger

    Number of results per page (max 100).

  • attempt_numberintegerObligatorio

    Attempt number of the workflow run, corresponding to a specific retry.

Parámetros de salida

  • dataobjectObligatorio

    API response, typically including 'total_count' and a 'jobs' list with details like 'id', 'status', 'name', and 'steps'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List labels for an issueGITHUB_LIST_LABELS_FOR_AN_ISSUEAcción

Lists all labels for a specified issue in a github repository.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch. Defaults to 1. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This is not case-sensitive.

  • per_pageinteger

    The number of results to return per page. Maximum value is 100. Defaults to 30. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • issue_numberintegerObligatorio

    The unique number identifying the issue within the repository.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List labels for a repositoryGITHUB_LIST_LABELS_FOR_A_REPOSITORYAcción

Retrieves all labels for a specified, existing github repository.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch (starts from 1).

  • repostringObligatorio

    Name of the repository, without the .git extension (case-insensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • per_pageinteger

    Number of results to return per page (maximum 100).

Parámetros de salida

  • dataobject[]Obligatorio

    List of label objects, each detailing `id`, `node_id`, `url`, `name`, `description`, `color` (hex), and `default` status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List labels for a self-hosted runner for an organizationGITHUB_LIST_LABELS_FOR_A_SELF_HOSTED_RUNNER_FOR_AN_ORGANIZATIONAcción

Lists all labels assigned to a specific self-hosted runner within a github organization, which are used to route workflows.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • runner_idintegerObligatorio

    The unique identifier (ID) of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio

    The API response, including `total_count` (total number of labels for the runner) and a `labels` array detailing each assigned label (e.g., `id`, `name`, `type`).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List labels for a self-hosted runner for a repositoryGITHUB_LIST_LABELS_FOR_A_SELF_HOSTED_RUNNER_FOR_A_REPOSITORYAcción

Lists all labels assigned to a specific self-hosted runner registered with the given repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • runner_idintegerObligatorio

    The unique identifier (ID) of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response. It typically includes 'total_count' (integer indicating the total number of labels for the runner) and 'labels' (a list of label objects, where each object has 'id', 'name', and 'type').

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List labels for issues in a milestoneGITHUB_LIST_LABELS_FOR_ISSUES_IN_A_MILESTONEAcción

Lists all labels for issues within a specific milestone in a repository.

Parámetros de entrada

  • pageinteger

    The page number of the results to retrieve. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is case-insensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is case-insensitive.

  • per_pageinteger

    The number of results to return per page. The maximum value is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • milestone_numberintegerObligatorio

    The unique number that identifies the milestone.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List machine types for a codespaceGITHUB_LIST_MACHINE_TYPES_FOR_A_CODESPACEAcción

Lists available machine types for a specific, accessible codespace, enabling it to be transitioned to a new hardware configuration.

Parámetros de entrada

  • codespace_namestringObligatorio

    The unique name of the codespace for which to list available machine types. This is often a combination of a username, repository name, and a unique identifier.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of available machine types. Typically includes a 'total_count' indicating the number of machine types and a 'machines' list. Each item in the 'machines' list provides details such as 'name', 'display_name', 'operating_system', 'storage_in_bytes', 'memory_in_bytes', and 'cpus'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List matching referencesGITHUB_LIST_MATCHING_REFERENCESAcción

Lists all git references (branches or tags) in a repository that start with the provided partial reference path (e.g., `heads/my-feature` or `tags/v1.2`).

Parámetros de entrada

  • refstringObligatorio

    Partial Git reference path (e.g., 'heads/main', 'tags/v1.0') to match from the beginning of the reference name; do not include the `refs/` prefix.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is case-insensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This is case-insensitive.

Parámetros de salida

  • dataobjectObligatorio

    Contains the API's response. The core data from GitHub is an array of matching Git reference objects, each detailing the full `ref` name (e.g., `refs/heads/main`), `node_id`, `url`, and the `object` it points to (including commit SHA and type).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List milestonesGITHUB_LIST_MILESTONESAcción

Lists milestones, which track progress for groups of issues and pull requests, for an existing repository, allowing filtering by state and sorting.

Parámetros de entrada

  • pageinteger

    Page number for paginated results.

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • sortstringenum

    Sort by `due_on` (due date) or `completeness` (percentage of issues completed).

    due_oncompleteness
  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • statestringenum

    Filters milestones by their state.

    openclosedall
  • per_pageinteger

    Number of results per page (max 100).

  • directionstringenum

    Sort direction: `asc` (ascending) or `desc` (descending).

    ascdesc

Parámetros de salida

  • dataobjectObligatorio

    API response payload. GitHub returns a JSON array of milestone objects; this may be a dictionary wrapping or transforming the list.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List notifications for the authenticated userGITHUB_LIST_NOTIFICATIONS_FOR_THE_AUTHENTICATED_USERAcción

Lists notifications for the authenticated user, sorted by most recent update, with filtering and pagination options.

Parámetros de entrada

  • allboolean

    If `true`, shows all notifications including those marked as read.

  • pageinteger

    Page number of results to fetch.

  • sincestring

    Only show notifications updated after this ISO 8601 timestamp (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • beforestring

    Only show notifications updated before this ISO 8601 timestamp (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • per_pageinteger

    Number of results per page (max 50).

  • participatingboolean

    If `true`, shows only notifications in which the authenticated user is directly participating or has been mentioned.

Parámetros de salida

  • dataobjectObligatorio

    A list of notification objects and related metadata from the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization events for the authenticated userGITHUB_LIST_ORGANIZATION_EVENTS_FOR_THE_AUTHENTICATED_USERAcción

Lists events within a specified organization that were performed by the authenticated user, whose `username` (path parameter) must match the api request credentials.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive).

  • pageinteger

    Page number of the results to retrieve.

  • per_pageinteger

    Number of events to return per page (max 100).

  • usernamestringObligatorio

    GitHub login of the authenticated user; must match the credentials used for the API request.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization membersGITHUB_LIST_ORGANIZATION_MEMBERSAcción

Lists public and concealed members of a github organization; viewing concealed members requires authenticated user to be an organization member.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization's name (case-insensitive).

  • pageinteger

    The page number of the results to fetch (1-indexed).

  • rolestringenum

    Filter members by their role in the organization.

    alladminmember
  • filterstringenum

    Filter for members: '2fa_disabled' returns only members without two-factor authentication (available only to organization owners).

    2fa_disabledall
  • per_pageinteger

    The number of results per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio

    A list of user objects, each detailing an organization member.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization projectsGITHUB_LIST_ORGANIZATION_PROJECTSAcción

Lists projects for a specified github organization, optionally filtering by state and supporting pagination.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization (e.g., 'octocat', 'microsoft'). This name is not case-sensitive.

  • pageinteger

    Page number of the results to fetch. For pagination details, see GitHub's REST API documentation.

  • statestringenum

    Filters projects by their state.

    openclosedall
  • per_pageinteger

    Number of projects to return per page (maximum 100). For pagination details, see GitHub's REST API documentation.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization repositoriesGITHUB_LIST_ORGANIZATION_REPOSITORIESAcción

Retrieves a list of repositories for a specified github organization, allowing filtering by type and sorting.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (not case-sensitive).

  • pageinteger

    Page number for pagination (starts from 1).

  • sortstringenum

    Property to sort repositories by: `created`, `updated`, `pushed`, or `full_name`.

    createdupdatedpushedfull_name
  • typestringenum

    Specifies the type of repositories to return: `all`, `public`, `private` (requires permissions), `forks`, `sources` (not forks), or `member` (repositories with explicit user access).

    allpublicprivateforkssourcesmember
  • per_pageinteger

    Number of results per page (maximum 100).

  • directionstringenum

    Sort order: `asc` (ascending) or `desc` (descending). Defaults to `asc` if `sort` is `full_name`, else `desc`.

    ascdesc

Parámetros de salida

  • dataobjectObligatorio

    List of repository objects, each detailing a repository with fields like `id`, `name`, `full_name`, `description`, and `html_url`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organizationsGITHUB_LIST_ORGANIZATIONSAcción

Lists github organizations for the authenticated user, sorted by id in ascending order.

Parámetros de entrada

  • sinceinteger

    An organization ID. If provided, only organizations with an ID greater than this will be returned, for pagination.

  • per_pageinteger

    Number of results to return per page, max 100.

Parámetros de salida

  • dataobjectObligatorio

    List of GitHub organizations. Each entry typically includes details like 'login', 'id', 'url', 'repos_url', 'avatar_url', and 'description'; exact fields may vary.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization secretsGITHUB_LIST_ORGANIZATION_SECRETSAcción

Lists github actions secrets available for a specified organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive).

  • pageinteger

    Page number for results.

  • per_pageinteger

    Number of secrets to return per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organizations for a userGITHUB_LIST_ORGANIZATIONS_FOR_A_USERAcción

Lists public organizations for a specified github user; the `username` must be a valid github handle.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • per_pageinteger

    Number of results per page (maximum 100).

  • usernamestringObligatorio

    GitHub username (handle) of the user.

Parámetros de salida

  • dataobjectObligatorio

    API response payload containing a list of public organizations for the specified user.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organizations for the authenticated userGITHUB_LIST_ORGANIZATIONS_FOR_THE_AUTHENTICATED_USERAcción

Lists organizations the authenticated github user is a member of, returning details for each organization.

Parámetros de entrada

  • pageinteger

    The page number of the results to retrieve, used for pagination. Default is 1.

  • per_pageinteger

    The number of organization results to return per page. Default is 30, maximum is 100.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the API response. It includes a list of organizations that the authenticated user is a member of, along with details for each organization.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization variablesGITHUB_LIST_ORGANIZATION_VARIABLESAcción

Lists all github actions variables for a specified organization.

Parámetros de entrada

  • orgstringObligatorio

    The organization name (not case-sensitive).

  • pageinteger

    Page number of results to fetch (starts at 1).

  • per_pageinteger

    Number of results per page (max 30).

Parámetros de salida

  • dataobjectObligatorio

    API response containing the total count and a list of organization variables with their details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization webhooksGITHUB_LIST_ORGANIZATION_WEBHOOKSAcción

Lists all webhooks for a specified github organization; the organization must exist.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (not case-sensitive).

  • pageinteger

    Page number of results to fetch.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    API response data, typically a list of webhook objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization fine-grained permissionsGITHUB_LIST_ORG_FINE_GRAINED_PERMISSIONSAcción

Retrieves all fine-grained permissions for a specified github organization, essential for creating or updating custom roles.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Contains the list of fine-grained permissions, typically under a key (e.g., 'permissions', 'items'). Each permission object includes details like 'name' (e.g., 'actions_read') and 'description' (e.g., 'Read access to Actions').

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization issues assigned to the authenticated userGITHUB_LIST_ORG_ISSUES_FOR_USERAcción

Lists issues for the authenticated user within a specified github organization, with options to filter by involvement type, state, labels, and to sort results.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • pageinteger

    Page number of the results to retrieve.

  • sortstringenum

    Field to sort results by.

    createdupdatedcomments
  • sincestring

    Only issues updated at or after this time are returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.

  • statestringenum

    Filters issues by their state.

    openclosedall
  • filterstringenum

    Filter indicating the type of issues to return based on user involvement (e.g., `assigned`, `created`, `mentioned`, `subscribed`, or `all`/`repos` for all accessible issues).

    assignedcreatedmentionedsubscribedreposall
  • labelsstring

    A comma-separated list of label names to filter issues by. For example: `bug,ui,@high`. Issues returned must match all specified labels.

  • per_pageinteger

    Number of issues to return per page (maximum 100).

  • directionstringenum

    Direction for sorting results.

    ascdesc

Parámetros de salida

  • dataobjectObligatorio

    API response containing a list of issue objects with their details, such as `id`, `title`, `user`, `assignees`, `state`, `labels`, and `body`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List org level codespaces secretsGITHUB_LIST_ORG_LEVEL_CODESPACES_SECRETSAcción

Lists all codespaces secrets available for a specified organization, which must exist.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (case-insensitive).

  • pageinteger

    Page number for pagination.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List package versions for an organization packageGITHUB_LIST_ORG_PACKAGE_VERSIONSAcción

Lists all versions for a specified package, if it exists and is owned by the given github organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization owning the package (case-insensitive).

  • pageinteger

    Page number for results (starts at 1).

  • statestringenum

    Filters package versions by state.

    activedeleted
  • per_pageinteger

    Results per page (max 100).

  • package_namestringObligatorio

    Unique package name within its ecosystem.

  • package_typestringObligatorioenum

    Package's ecosystem. Important notes: GitHub Gradle packages use `maven`; images in ghcr.io use `container`; `docker` type can find images from docker.pkg.github.com, including those migrated to ghcr.io.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio

    Raw API response from GitHub, typically a list of package version objects. Refer to GitHub API documentation for detailed structure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization repositories with Github Actions enabledGITHUB_LIST_ORG_REPOS_WITHGITHUB_ACTIONS_ENABLEDAcción

Lists repositories in an organization with github actions enabled, for use when the organization's policy restricts actions to a specific list of repositories rather than enabling it for all.

Parámetros de entrada

  • orgstringObligatorio

    The organization name. The name is not case sensitive.

  • pageinteger

    The page number of the results to fetch.

  • per_pageinteger

    The number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response from GitHub. This typically includes a 'total_count' field representing the total number of repositories explicitly selected and enabled for GitHub Actions in the organization, and a 'repositories' field which is an array of objects, each detailing such a repository.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List org resource access tokensGITHUB_LIST_ORG_RESOURCE_ACCESS_TOKENSAcción

Lists approved fine-grained personal access tokens (pats) with access to resources in a github organization, optionally filtering by owner, repository, permissions, or last usage time.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (not case-sensitive).

  • pageinteger

    Page number of results to fetch (starts from 1).

  • sortstringenum

    Property to sort results by.

    created_at
  • ownerstring[]

    Filter by a list of owner usernames.

  • per_pageinteger

    Number of results per page (max 100).

  • directionstringenum

    Sort direction.

    ascdesc
  • permissionstring

    Filter by permission string (e.g., 'issues:read'). See GitHub docs for valid strings.

  • repositorystring

    Filter by repository name.

  • last_used_afterstring

    Filter for tokens last used after this ISO 8601 timestamp (YYYY-MM-DDTHH:MM:SSZ).

  • last_used_beforestring

    Filter for tokens last used before this ISO 8601 timestamp (YYYY-MM-DDTHH:MM:SSZ).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List org resources with personal tokensGITHUB_LIST_ORG_RESOURCES_WITH_PERSONAL_TOKENSAcción

Retrieves a list of an organization's fine-grained personal access token requests (pending, approved, or denied), with options for filtering and sorting.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (case-insensitive).

  • pageinteger

    Page number for results (1-based).

  • sortstringenum

    Sorts results by 'created_at' (currently the only supported property).

    created_at
  • ownerstring[]

    Filter by a list of token owner GitHub usernames.

  • per_pageinteger

    Number of results per page (max 100).

  • directionstringenum

    Sort direction: 'asc' for ascending or 'desc' for descending.

    ascdesc
  • permissionstring

    Filters requests by the specific permission granted to the token.

  • repositorystring

    Filter by repository name for tokens that access this repository.

  • last_used_afterstring

    Filters for tokens last used after this ISO 8601 timestamp.

  • last_used_beforestring

    Filters for tokens last used before this ISO 8601 timestamp.

Parámetros de salida

  • dataobjectObligatorio

    Raw API response, typically a list of an organization's fine-grained personal access token requests. Refer to GitHub API documentation for structure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization Dependabot secrets without valuesGITHUB_LIST_ORG_SECRETS_WITHOUT_VALUESAcción

Lists all dependabot secrets (metadata like names, creation/update timestamps, but not their encrypted values) for a specified organization, which must exist.

Parámetros de entrada

  • orgstringObligatorio

    The unique identifier of the GitHub organization. This name is not case-sensitive.

  • pageinteger

    The page number of the results to fetch. Starts from 1. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • per_pageinteger

    The number of results to return per page. The maximum value is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the list of secrets. The dictionary includes a 'total_count' field indicating the total number of secrets and a 'secrets' field which is a list of secret objects. Each secret object contains details like 'name', 'created_at', and 'updated_at', but not the encrypted value of the secret.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List outside collaborators for an organizationGITHUB_LIST_OUTSIDE_COLLABORATORS_FOR_AN_ORGANIZATIONAcción

Lists outside collaborators for a github organization, with options to filter (e.g., by 2fa status) and paginate results.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (not case-sensitive).

  • pageinteger

    Page number for pagination.

  • filterstringenum

    Filter for the list: '2fa_disabled' for those without two-factor authentication, 'all' for every collaborator.

    2fa_disabledall
  • per_pageinteger

    Number of results per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio

    User objects representing the outside collaborators, typically including details like 'login', 'id', 'avatar_url', and 'html_url'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List owned package versionsGITHUB_LIST_OWNED_PACKAGE_VERSIONSAcción

Lists all versions for an existing package owned by the authenticated user, identified by its type and name.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch, starting from 1.

  • statestringenum

    Filters package versions by state.

    activedeleted
  • per_pageinteger

    Number of results per page (maximum 100).

  • package_namestringObligatorio

    Unique name of the package.

  • package_typestringObligatorioenum

    Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. Use `docker` to find images from GitHub's Docker registry (`docker.pkg.github.com`), even if migrated.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List packages for an organizationGITHUB_LIST_PACKAGES_FOR_AN_ORGANIZATIONAcción

Lists github packages for an organization, noting specific interpretations for package type and visibility parameters.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive).

  • pageinteger

    Page number for paginated results.

  • per_pageinteger

    Number of results per page (maximum 100).

  • visibilitystringenum

    Filter packages by visibility. 'internal' is for registries with granular permissions; otherwise, it's treated as 'private'.

    publicprivateinternal
  • package_typestringObligatorioenum

    Package type to filter by. Note: Gradle packages use 'maven'; ghcr.io Docker images use 'container'; 'docker' type finds images from docker.pkg.github.com.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio

    Raw API response, typically a list of package objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List packages for a userGITHUB_LIST_PACKAGES_FOR_A_USERAcción

Lists packages for a specified github user, filterable by package type and visibility.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • per_pageinteger

    Number of results to return per page (maximum 100).

  • usernamestringObligatorio

    The GitHub username of the account whose packages are to be listed.

  • visibilitystringenum

    Filters packages by visibility. The `internal` visibility is supported only for GitHub Packages registries allowing granular permissions; for others, `internal` is synonymous with `private`.

    publicprivateinternal
  • package_typestringObligatorioenum

    Filters by package type. Note: GitHub's Gradle packages are type `maven`. Images in `ghcr.io` (Container registry) are `container`. Use `docker` for images from `docker.pkg.github.com`, including those migrated to the Container registry.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the list of packages for the specified user, matching the filter criteria.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List packages for the authenticated user's namespaceGITHUB_LIST_PACKAGES_FOR_THE_AUTHENTICATED_USER_S_NAMESPACEAcción

Lists packages of a specific type and visibility within the authenticated user's namespace on github.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • per_pageinteger

    Number of results to return per page, maximum 100.

  • visibilitystringenum

    Filters packages by visibility. 'internal' is specific to GitHub Packages registries with granular permissions; for others, it's treated as 'private'.

    publicprivateinternal
  • package_typestringObligatorioenum

    The type of package to list. For GitHub's Gradle registry, use 'maven'; for Docker images from GitHub's Container registry (ghcr.io), use 'container'. 'docker' finds images from the original Docker registry (docker.pkg.github.com), even if migrated.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List package versions for a package owned by a userGITHUB_LIST_PACKAGE_VERSIONS_FOR_A_PACKAGE_OWNED_BY_A_USERAcción

Lists all versions of a public package owned by a specific github user, identified by package type, package name, and username.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username of the account that owns the package (e.g., 'octocat').

  • package_namestringObligatorio

    The name of the package as it is registered in GitHub Packages.

  • package_typestringObligatorioenum

    Type of the package. Note: GitHub Gradle registry packages use `maven`. GitHub Container registry (ghcr.io) images use `container`. The `docker` type can find images from the older GitHub Docker registry (docker.pkg.github.com), even if migrated to the Container registry.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio

    API response from GitHub detailing package versions. The structure conforms to GitHub's API documentation for this endpoint.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List pending team invitationsGITHUB_LIST_PENDING_TEAM_INVITATIONSAcción

Lists all pending membership invitations for a specified team within an organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This field is not case-sensitive.

  • pageinteger

    Page number of results to fetch.

  • per_pageinteger

    Number of results per page (max 100).

  • team_slugstringObligatorio

    The slug (URL-friendly version) of the team name. This is typically the lowercase, hyphenated version of the team name.

Parámetros de salida

  • dataobjectObligatorio

    API response data, typically a list of objects detailing pending team invitations.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List project cardsGITHUB_LIST_PROJECT_CARDSAcción

Lists all project cards for a given `column id`, which must correspond to an existing project column.

Parámetros de entrada

  • pageinteger

    Page number of results to retrieve.

  • per_pageinteger

    Number of project cards to return per page (maximum 100).

  • column_idintegerObligatorio

    The unique identifier of the project column for which to list cards.

  • archived_statestringenum

    Filters the project cards based on their archived state. "all" returns all cards, "archived" returns only archived cards, and "not_archived" returns only unarchived cards.

    allarchivednot_archived

Parámetros de salida

  • dataobjectObligatorio

    A list of project card objects. Each object represents a card in the project column and includes details such as its ID, note, creator, and timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List project collaboratorsGITHUB_LIST_PROJECT_COLLABORATORSAcción

Fetches a list of collaborators for a specified, existing github project.

Parámetros de entrada

  • pageinteger

    Page number for the results to fetch.

  • per_pageinteger

    Number of results per page (maximum 100).

  • project_idintegerObligatorio

    The unique identifier of the project.

  • affiliationstringenum

    Filter by affiliation: 'outside' (non-organization members of the project), 'direct' (collaborators with direct project permissions), or 'all' (all collaborators visible to the authenticated user).

    outsidedirectall

Parámetros de salida

  • dataobjectObligatorio

    A list of collaborators associated with the project.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List project columnsGITHUB_LIST_PROJECT_COLUMNSAcción

Lists all of a github project's columns (e.g., 'to do', 'in progress'); project id must identify a valid, accessible project.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch. Starts from 1. For more information on pagination, see GitHub's REST API documentation: https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api.

  • per_pageinteger

    The number of results to return per page. The maximum value is 100. For more information on pagination, see GitHub's REST API documentation: https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api.

  • project_idintegerObligatorio

    The unique identifier of the project for which columns are to be listed.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API's response. The GitHub API endpoint for listing project columns typically returns a JSON array of column objects. This dictionary is expected to encapsulate this list or represent the full response structure. Each column object usually includes fields such as 'id', 'node_id', 'name', 'url', 'project_url', 'cards_url', 'created_at', and 'updated_at'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public email addresses for the authenticated userGITHUB_LIST_PUBLIC_EMAIL_ADDRESSES_FOR_THE_AUTHENTICATED_USERAcción

Lists the public email addresses for the authenticated user.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • per_pageinteger

    Number of results to return per page. Maximum value is 100.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public eventsGITHUB_LIST_PUBLIC_EVENTSAcción

Lists public github events, which may be delayed by up to 5 minutes, with support for pagination.

Parámetros de entrada

  • pageinteger

    Specifies the page number of the results to retrieve. Starts from 1. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • per_pageinteger

    Specifies the number of events to return per page. Maximum value is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response from the GitHub API. This typically includes a list of public GitHub events, where each event object provides details about activities such as code pushes, issue creations, and repository creations across public GitHub repositories.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public events for a network of repositoriesGITHUB_LIST_PUBLIC_EVENTS_FOR_A_NETWORK_OF_REPOSITORIESAcción

Retrieves public events (up to 90 days old, newest first) for a github repository network, including the repository and its forks.

Parámetros de entrada

  • pageinteger

    Specifies the page number for the results to be fetched. For further details, consult "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • per_pageinteger

    Sets the number of results to return per page, with a maximum of 100. For further details, consult "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public events for a userGITHUB_LIST_PUBLIC_EVENTS_FOR_A_USERAcción

Retrieves a list of public events for a specified github user, in reverse chronological order.

Parámetros de entrada

  • pageinteger

    Page number for paginated results.

  • per_pageinteger

    Number of events to return per page (max 100).

  • usernamestringObligatorio

    The GitHub username (e.g., 'octocat').

Parámetros de salida

  • dataobjectObligatorio

    A list of public events performed by the user, where each event details a specific activity (e.g., PushEvent, CreateEvent).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public events received by a userGITHUB_LIST_PUBLIC_EVENTS_RECEIVED_BY_A_USERAcción

Lists 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.

Parámetros de entrada

  • pageinteger

    The page number for the set of results to be fetched. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • per_pageinteger

    The number of public events to retrieve per page. The maximum value is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • usernamestringObligatorio

    The GitHub username for the user whose received public events are to be listed.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public gistsGITHUB_LIST_PUBLIC_GISTSAcción

Lists public gists from github, optionally filtering by a 'since' timestamp and supporting pagination; results are generally newest first.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch for pagination.

  • sincestring

    Filters results to gists last updated at or after this ISO 8601 timestamp (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • per_pageinteger

    Number of gists to return per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio

    The data payload from the API response. For the `/gists/public` endpoint, GitHub returns a list of Gist objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public keys for a userGITHUB_LIST_PUBLIC_KEYS_FOR_A_USERAcción

Lists the verified public ssh keys for a specified github user.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • per_pageinteger

    The number of results to return per page (maximum 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • usernamestringObligatorio

    The GitHub username (handle) of the user whose public SSH keys are to be listed. For example, 'octocat'.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public organization eventsGITHUB_LIST_PUBLIC_ORGANIZATION_EVENTSAcción

Lists public events for a specified github organization, which must exist.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (case-insensitive).

  • pageinteger

    Page number of results to retrieve (starts from 1).

  • per_pageinteger

    Number of results per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public organization membersGITHUB_LIST_PUBLIC_ORGANIZATION_MEMBERSAcción

Lists users who have publicly declared their membership in a specified, existing github organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • pageinteger

    Page number of the results to retrieve.

  • per_pageinteger

    Number of results to return per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public repositoriesGITHUB_LIST_PUBLIC_REPOSITORIESAcción

Lists all public repositories on github; use the `since` parameter with a repository id from a previous result for pagination.

Parámetros de entrada

  • sinceinteger

    A repository ID. Returns only repositories with an ID greater than this value, for pagination.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List pull requestsGITHUB_LIST_PULL_REQUESTSAcción

Lists pull requests for a specified github repository with ai-friendly filtering.

Parámetros de entrada

  • basestring

    Filter by base branch name.

  • headstring

    Filter by head user/org and branch name, e.g., `user:ref-name`.

  • pageinteger

    Page number for results.

  • repostringObligatorio

    Name of the repository, without the `.git` extension.

  • sortstring

    Sorts results. Valid values: 'created', 'updated', 'popularity', 'long-running'. 'popularity' is by comment count; 'long-running' by age and recent activity.

  • ownerstringObligatorio

    Username or organization name of the repository owner.

  • statestring

    Filter by pull request state. Valid values: 'open', 'closed', 'all'.

  • per_pageinteger

    Number of results per page (maximum 100).

  • directionstring

    Sort direction. Valid values: 'asc', 'desc'. Defaults to 'desc' if sort is 'created' or unspecified, else 'asc'.

Parámetros de salida

  • dataobjectObligatorio

    Filtered pull request data with only essential information

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List pull requests associated with a commitGITHUB_LIST_PULL_REQUESTS_ASSOCIATED_WITH_A_COMMITAcción

Lists 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.

Parámetros de entrada

  • pageinteger

    Page number of results to retrieve.

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner of the repository (GitHub username or organization name, case-insensitive).

  • per_pageinteger

    Number of results per page (max 100).

  • commit_shastringObligatorio

    SHA of the commit to list associated pull requests for.

Parámetros de salida

  • dataobjectObligatorio

    API response payload, typically a list of pull requests associated with the commit.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List pull requests filesGITHUB_LIST_PULL_REQUESTS_FILESAcción

Lists all files (including additions, modifications, and removals) associated with a specific pull request in a github repository.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve for pagination.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This field is not case sensitive.

  • per_pageinteger

    Number of file results to return per page (max 100).

  • pull_numberintegerObligatorio

    The numeric identifier of the pull request whose files are to be listed.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List reactions for a commit commentGITHUB_LIST_REACTIONS_FOR_A_COMMIT_COMMENTAcción

Lists reactions for a specific commit comment; this is a read-only operation.

Parámetros de entrada

  • pageinteger

    Page number for the results (1-indexed).

  • repostringObligatorio

    Repository name, excluding the '.git' extension (case-insensitive).

  • ownerstringObligatorio

    Owner of the repository (username or organization, case-insensitive).

  • contentstringenum

    Filter by reaction type. If unspecified, all reaction types for the comment are returned.

    +1-1laughconfusedhearthoorayrocketeyes
  • per_pageinteger

    Number of results per page (maximum 100).

  • comment_idintegerObligatorio

    Identifier of the commit comment.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List reactions for an issueGITHUB_LIST_REACTIONS_FOR_AN_ISSUEAcción

Lists reactions for a specific, existing issue within an accessible github repository, optionally filtering by content type.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch for pagination.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case-sensitive.

  • contentstringenum

    Filters reactions by a specific type. If omitted, all reactions to the issue are listed.

    +1-1laughconfusedhearthoorayrocketeyes
  • per_pageinteger

    The number of results to return per page, up to a maximum of 100.

  • issue_numberintegerObligatorio

    The unique number identifying the issue within the repository.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List reactions for an issue commentGITHUB_LIST_REACTIONS_FOR_AN_ISSUE_COMMENTAcción

Lists reactions for a specific issue comment in a github repository, optionally filtering by content type.

Parámetros de entrada

  • pageinteger

    Page number of results to fetch.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a user or organization). This name is not case sensitive.

  • contentstringenum

    Filters reactions by their content type (e.g., '+1', 'laugh'). Omit to list all types of reactions.

    +1-1laughconfusedhearthoorayrocketeyes
  • per_pageinteger

    Number of results to return per page (max 100).

  • comment_idintegerObligatorio

    The unique identifier of the issue comment for which to list reactions.

Parámetros de salida

  • dataobjectObligatorio

    A list of reactions for the specified issue comment.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List reactions for a pull request review commentGITHUB_LIST_REACTIONS_FOR_A_PULL_REQUEST_REVIEW_COMMENTAcción

Lists reactions for a pull request review comment in a repository, optionally filtering by reaction type.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case sensitive).

  • ownerstringObligatorio

    Account owner of the repository (not case sensitive).

  • contentstringenum

    Filters reactions by a specific type; if omitted, all reactions are listed.

    +1-1laughconfusedhearthoorayrocketeyes
  • per_pageinteger

    Number of results per page (max 100).

  • comment_idintegerObligatorio

    Unique identifier of the pull request review comment.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List reactions for a releaseGITHUB_LIST_REACTIONS_FOR_A_RELEASEAcción

Lists all reactions, or optionally filters reactions by a specific content type, for a given github release.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch (starts from 1). For pagination details, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    The GitHub account owner of the repository (not case-sensitive).

  • contentstringenum

    Filters reactions by a specific type. See [GitHub documentation on reactions](https://docs.github.com/rest/reactions/reactions#about-reactions) for details on reaction types.

    +1laughhearthoorayrocketeyes
  • per_pageinteger

    Number of results per page (max 100). For pagination details, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • release_idintegerObligatorio

    The unique identifier of the release.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List reactions for a team discussionGITHUB_LIST_REACTIONS_FOR_A_TEAM_DISCUSSIONAcción

Lists reactions for an existing team discussion within an organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization (case-insensitive).

  • pageinteger

    Page number of results. See GitHub's REST API pagination guide for details.

  • contentstringenum

    Filters reactions by a specific content type (e.g., '+1', 'laugh'). See GitHub's documentation on reactions for more details.

    +1-1laughconfusedhearthoorayrocketeyes
  • per_pageinteger

    Number of results per page (max 100). See GitHub's REST API pagination guide for details.

  • team_slugstringObligatorio

    URL-friendly identifier (slug) of the team.

  • discussion_numberintegerObligatorio

    Unique number identifying the team discussion.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List reactions for a team discussion commentGITHUB_LIST_REACTIONS_FOR_A_TEAM_DISCUSSION_COMMENTAcción

Lists reactions for a specific comment in a team discussion within an organization, optionally filtering by content type.

Parámetros de entrada

  • orgstringObligatorio

    The organization's name (case-insensitive).

  • pageinteger

    Page number of the results to retrieve.

  • contentstringenum

    Filters reactions by a specific content type.

    +1-1laughconfusedhearthoorayrocketeyes
  • per_pageinteger

    Number of results per page (max 100).

  • team_slugstringObligatorio

    URL-friendly slug of the team name.

  • comment_numberintegerObligatorio

    Unique identifier for the comment within the discussion.

  • discussion_numberintegerObligatorio

    Unique identifier for the team discussion.

Parámetros de salida

  • dataobjectObligatorio

    API response, typically a JSON list of reaction objects. Each object includes `id`, `node_id`, `user` (can be null), `content` (reaction type), and `created_at`. Refer to GitHub API documentation for the precise structure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List release assetsGITHUB_LIST_RELEASE_ASSETSAcción

Lists 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.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch (starts from 1). For pagination details, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    Name of the repository, excluding the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username or organization name of the repository owner (case-insensitive).

  • per_pageinteger

    Number of results per page (max 100). For pagination details, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • release_idintegerObligatorio

    Unique numerical identifier for the release. Obtainable by listing a repository's releases.

Parámetros de salida

  • dataobjectObligatorio

    API response payload detailing release assets, typically a list of asset objects including download URL, name, size, content type, and uploader.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List releasesGITHUB_LIST_RELEASESAcción

Retrieves a list of all releases (published, draft, and prerelease) for a specified repository.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • per_pageinteger

    The number of results to return per page. The maximum value is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio

    A list of release objects for the repository. Each object contains details about a release, such as its ID, tag name, release name, publication status, assets, and notes. The structure of each release object typically includes fields like 'id', 'tag_name', 'name', 'body', 'draft', 'prerelease', 'created_at', 'published_at', 'assets', etc.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repo access by tokenGITHUB_LIST_REPO_ACCESS_BY_TOKENAcción

Lists repositories in an organization that a fine-grained personal access token (`pat request id`) has requested access to; must be performed by a github app.

Parámetros de entrada

  • orgstringObligatorio

    The organization name. The name is not case sensitive.

  • pageinteger

    The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • per_pageinteger

    The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • pat_request_idintegerObligatorio

    Unique identifier of the request for access via fine-grained personal access token.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repo codespaces for authenticated userGITHUB_LIST_REPO_CODESPACESAcción

Lists codespaces the authenticated user can access within a specified, existing repository.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username or organization name of the account that owns the repository (case-insensitive).

  • per_pageinteger

    Number of results to return per page. Maximum: 100.

Parámetros de salida

  • dataobjectObligatorio

    The raw JSON response from the API. Typically includes a 'total_count' of codespaces and a 'codespaces' array containing detailed information for each codespace.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repo dev container configs for userGITHUB_LIST_REPO_DEV_CONTAINER_CONFIGS_FOR_USERAcción

Lists the `devcontainer.json` configurations available in a specified repository for use with github codespaces.

Parámetros de entrada

  • pageinteger

    Page number of the dev container configuration results to fetch.

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    The username or organization name that owns the repository (not case-sensitive).

  • per_pageinteger

    Number of dev container configuration results to return per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repo secrets without valuesGITHUB_LIST_REPO_SECRETS_WITHOUT_VALUESAcción

Lists all codespaces secrets available in a specific repository, without their encrypted values.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve. Used for pagination.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is not case-sensitive.

  • per_pageinteger

    Number of secrets to return per page. Maximum value is 100.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repos accessible to app installationGITHUB_LIST_REPOSITORIES_ACCESSIBLE_TO_THE_APP_INSTALLATIONAcción

Lists repositories an app installation can access; 'total count' in response is zero if none are accessible.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    Raw API response detailing accessible repositories; includes 'total_count', 'repository_selection', and 'repositories' array.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repositories accessible to the user access tokenGITHUB_LIST_REPOSITORIES_ACCESSIBLE_TO_THE_USER_ACCESS_TOKENAcción

Lists repositories accessible to the authenticated user through a specific github app installation (identified by `installation id`).

Parámetros de entrada

  • pageinteger

    Page number of results to fetch.

  • per_pageinteger

    Number of results per page (max 100).

  • installation_idintegerObligatorio

    Unique identifier of the GitHub App installation.

Parámetros de salida

  • dataobjectObligatorio

    API response, including `total_count` and a list of `repositories` accessible by the installation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repositories for a userGITHUB_LIST_REPOSITORIES_FOR_A_USERAcción

Lists public repositories for a specified github user, who must have an existing account.

Parámetros de entrada

  • pageinteger

    Page number for results (starts from 1). See GitHub REST API pagination docs for more info.

  • sortstringenum

    Sort criterion: `created`, `updated`, `pushed`, or `full_name` (repository name).

    createdupdatedpushedfull_name
  • typestringenum

    Filter for repository type: `all` (owned or member), `owner` (directly owned), or `member` (user is a public member).

    allownermember
  • per_pageinteger

    Number of results per page (max 100). See GitHub REST API pagination docs for more info.

  • usernamestringObligatorio

    GitHub username, e.g., 'octocat'.

  • directionstringenum

    Sort direction: `asc` or `desc`. Defaults to `asc` for `full_name` sort, `desc` otherwise.

    ascdesc

Parámetros de salida

  • dataobjectObligatorio

    The raw JSON response from the GitHub API. The GitHub API endpoint for listing user repositories directly returns a JSON array of repository objects. This `data` field (typed as a dictionary) will contain this response. You should inspect the contents of this dictionary to locate the list of repositories, where each repository is represented as a dictionary containing its details. For the specific structure of repository objects, refer to the official GitHub API documentation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repositories for the authenticated userGITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USERAcción

Lists repositories for the authenticated user; using 'type' with 'visibility' or 'affiliation' api parameters (not in this model) can cause a 422 error.

Parámetros de entrada

  • pageinteger

    Page number of results to fetch.

  • sortstringenum

    The repository property by which to sort the results.

    createdupdatedpushedfull_name
  • typestringenum

    Filters the results to repositories of the specified type.

    allownerpublicprivatemember
  • sincestring

    Filters for repositories updated at or after this specified time. Provide as an ISO 8601 formatted timestamp.

  • beforestring

    Filters for repositories updated before this specified time. Provide as an ISO 8601 formatted timestamp.

  • per_pageinteger

    The number of results to return per page (maximum 100).

  • directionstringenum

    The direction of the sort. Defaults to `asc` when `sort` is 'full_name', and `desc` otherwise.

    ascdesc
  • raw_responseboolean

    Return full API response if true, optimized response for AI agents if false.

Parámetros de salida

  • dataobjectObligatorio

    The response data from the GitHub API. The underlying API endpoint (`GET /user/repos`) returns an array of repository objects. For the detailed structure of these repository objects, consult the official GitHub API documentation for 'repos/list-for-authenticated-user'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repositories starred by a userGITHUB_LIST_REPOSITORIES_STARRED_BY_A_USERAcción

Lists repositories a valid and existing github user has starred.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve (starts from 1). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • sortstringenum

    The criteria for sorting the starred repositories. `created` sorts by the date the repository was starred. `updated` sorts by the date the repository was last pushed to.

    createdupdated
  • per_pageinteger

    The number of results to display per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • usernamestringObligatorio

    The GitHub username of the user whose starred repositories are to be listed.

  • directionstringenum

    The direction for sorting the results. Can be `asc` for ascending or `desc` for descending.

    ascdesc

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repositories starred by the authenticated userGITHUB_LIST_REPOSITORIES_STARRED_BY_THE_AUTHENTICATED_USERAcción

Lists repositories the authenticated user has starred, optionally sorted and paginated, including star creation timestamps via 'application/vnd.github.star+json' media type.

Parámetros de entrada

  • pageinteger

    Page number of results (starts from 1).

  • sortstringenum

    Sorts starred repositories by 'created' (date starred) or 'updated' (date last pushed).

    createdupdated
  • per_pageinteger

    Number of results per page (max 100).

  • directionstringenum

    Sort direction: 'asc' (ascending) or 'desc' (descending).

    ascdesc

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repositories watched by a userGITHUB_LIST_REPOSITORIES_WATCHED_BY_A_USERAcción

Lists repositories a given github user is watching; the username must be a valid and existing github user handle.

Parámetros de entrada

  • pageinteger

    Page number of results (starts from 1).

  • per_pageinteger

    Number of results per page (max 100).

  • usernamestringObligatorio

    The GitHub username (case-sensitive).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary of watched repository objects, indexed by string representations of numbers.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repositories watched by the authenticated userGITHUB_LIST_REPOSITORIES_WATCHED_BY_THE_AUTHENTICATED_USERAcción

Lists repositories the authenticated user is watching (subscribed to for notifications).

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    API response payload containing the list of watched repositories.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository activitiesGITHUB_LIST_REPOSITORY_ACTIVITIESAcción

Lists activities for a github repository, ensuring the repository exists and is accessible.

Parámetros de entrada

  • refstring

    The Git reference for which to list activities (e.g., a branch name like `main` or a full ref like `refs/heads/main`). If unspecified, activities from all branches are listed.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • actorstring

    The GitHub username of the person who performed the activity. Filters activities to only those performed by this user.

  • afterstring

    A pagination cursor. Returns activity items that occurred after this cursor. This cursor is typically obtained from the `Link` header in a previous API response. For more details, see GitHub's REST API documentation on "Using pagination in the REST API" and "Using Link headers".

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This name is not case-sensitive.

  • beforestring

    A pagination cursor. Returns activity items that occurred before this cursor. This cursor is typically obtained from the `Link` header in a previous API response. For more details, see GitHub's REST API documentation on "Using pagination in the REST API" and "Using Link headers".

  • per_pageinteger

    The number of activity results to return per page. Maximum value is 100. For more information, see the GitHub REST API guide on "Using pagination in the REST API".

  • directionstringenum

    The direction to sort the activity results. Use 'asc' for ascending (oldest first) or 'desc' for descending (newest first).

    ascdesc
  • time_periodstringenum

    Filters activities based on a predefined time period. For example, 'day' retrieves activities from the last 24 hours, and 'week' from the last 7 days (168 hours).

    dayweekmonthquarteryear
  • activity_typestringenum

    Filters activities by a specific type, such as 'push' or 'pr_merge'. If unspecified, all relevant activity types are returned.

    pushforce_pushbranch_creationbranch_deletionpr_mergemerge_queue_merge

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository collaboratorsGITHUB_LIST_REPOSITORY_COLLABORATORSAcción

Lists collaborators for a specified repository, provided it exists and is accessible to the authenticated user.

Parámetros de entrada

  • pageinteger

    The page number of the results to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This value is not case sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This value is not case sensitive.

  • per_pageinteger

    The number of results to return per page. Maximum value is 100.

  • permissionstringenum

    Filter collaborators by their repository permission level.

    pulltriagepushmaintainadmin
  • affiliationstringenum

    Filter collaborators by affiliation: 'outside' (collaborators of an organization-owned repository not part of the org), 'direct' (collaborators with direct permissions to an organization-owned repository), or 'all' (all collaborators visible to the authenticated user).

    outsidedirectall

Parámetros de salida

  • dataobjectObligatorio

    A list of collaborator objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository contributorsGITHUB_LIST_REPOSITORY_CONTRIBUTORSAcción

Lists contributors to a specified repository, sorted by number of contributions in descending order; the repository must exist and be accessible.

Parámetros de entrada

  • anonstring

    Set to '1' or 'true' to include anonymous contributors. If omitted, anonymous contributors are not included.

  • pageinteger

    Page number of results to retrieve (1-based indexing).

  • repostringObligatorio

    Name of the repository (without `.git` extension). Not case-sensitive.

  • ownerstringObligatorio

    Username of the account owning the repository. Not case-sensitive.

  • per_pageinteger

    Number of contributor results per page. Maximum value is 100.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository eventsGITHUB_LIST_REPOSITORY_EVENTSAcción

Lists chronological events (e.g., code pushes, issue activities, pr actions, forks) for a specified, existing github repository.

Parámetros de entrada

  • pageinteger

    Page number for paginating results.

  • repostringObligatorio

    Repository name, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Owner's username or organization name (not case-sensitive).

  • per_pageinteger

    Number of events to return per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    Parsed JSON response from the API, which is a list of event objects. For event object structure, refer to GitHub API documentation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository invitationsGITHUB_LIST_REPOSITORY_INVITATIONSAcción

Retrieves all pending (unaccepted or undeclined) collaboration invitations for a specified github repository.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • per_pageinteger

    Number of results to return per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    List of repository invitation objects, each detailing the invitation ID, invitee, repository, permissions, and creation date.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List authenticated user's repository invitationsGITHUB_LIST_REPOSITORY_INVITATIONS_FOR_THE_AUTHENTICATED_USERAcción

Lists all pending repository invitations for the authenticated user.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • per_pageinteger

    Number of results to return per page. Maximum allowed value is 100.

Parámetros de salida

  • dataobjectObligatorio

    List of repository invitations. Each invitation details its ID, repository information (e.g., name, owner), inviter, invitee, granted permissions (e.g., read, write), and creation timestamp.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository issuesGITHUB_LIST_REPOSITORY_ISSUESAcción

Lists issues (which include pull requests) for a specified, existing github repository, with options for filtering, sorting, and pagination.

Parámetros de entrada

  • pageinteger

    Page number for the set of results. Refer to GitHub's REST API documentation for pagination details.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • sortstringenum

    The field to sort the results by.

    createdupdatedcomments
  • ownerstringObligatorio

    The GitHub account owner of the repository. This name is not case-sensitive.

  • sincestring

    Filters issues to include only those updated at or after the specified time. This should be a timestamp in ISO 8601 format (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • statestringenum

    Filters issues based on their state.

    openclosedall
  • labelsstring

    A comma-separated list of label names to filter issues by. Example: 'bug,ui,@high'.

  • creatorstring

    Filter issues by the username of the user who created the issue.

  • assigneestring

    Filter issues by assignee's username. Use 'none' for issues with no assignee, or '*' for issues assigned to any user.

  • per_pageinteger

    Number of results per page (max 100). Refer to GitHub's REST API documentation for pagination details.

  • directionstringenum

    The direction of the sort.

    ascdesc
  • mentionedstring

    Filter issues by a user mentioned in the issue's description or comments. Provide the username.

  • milestonestring

    Filter issues by milestone. Provide the milestone `number` as a string, '*' for issues with any milestone, or 'none' for issues without a milestone.

Parámetros de salida

  • dataobjectObligatorio

    Parsed JSON response from GitHub API, typically a list of issues.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository languagesGITHUB_LIST_REPOSITORY_LANGUAGESAcción

Lists the programming languages used in a github repository, returning a byte count for each language.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary where keys are programming language names (e.g., 'Python', 'JavaScript') and values are the total number of bytes of code written in that language within the repository.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository notifications for the authenticated userGITHUB_LIST_REPOSITORY_NOTIFICATIONS_FOR_THE_AUTHENTICATED_USERAcción

Retrieves notifications for the authenticated user from a specified repository, to which the user must have access.

Parámetros de entrada

  • allboolean

    If `true`, shows notifications marked as read; otherwise, only unread notifications are returned.

  • pageinteger

    The page number of the results to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • sincestring

    Only includes notifications last updated on or after this ISO 8601 UTC timestamp (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • beforestring

    Only includes notifications last updated before this ISO 8601 UTC timestamp (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • per_pageinteger

    The number of notifications to return per page. Maximum value is 100.

  • participatingboolean

    If `true`, shows only notifications in which the authenticated user is directly participating or was mentioned.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository organization secretsGITHUB_LIST_REPOSITORY_ORGANIZATION_SECRETSAcción

Lists names of organization-level secrets shared with the specified repository; actual secret values are not returned and visibility depends on token access.

Parámetros de entrada

  • pageinteger

    Page number for paginated results.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    The username or organization name that owns the repository (case-insensitive).

  • per_pageinteger

    Number of secrets per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository organization variablesGITHUB_LIST_REPOSITORY_ORGANIZATION_VARIABLESAcción

Lists organization variables accessible to a specific repository; the repository must exist.

Parámetros de entrada

  • pageinteger

    Page number of results. For pagination details, see GitHub REST API docs.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • per_pageinteger

    Number of results per page (max 30). For pagination details, see GitHub REST API docs.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with total count and list of organization variables (each with name, value, created_at, updated_at).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository projectsGITHUB_LIST_REPOSITORY_PROJECTSAcción

Lists projects associated with a specific repository.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • statestringenum

    Filters projects by their state.

    openclosedall
  • per_pageinteger

    Number of projects to return per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository rule suitesGITHUB_LIST_REPOSITORY_RULE_SUITESAcción

Lists rule suite evaluations for a repository, allowing filtering by ref (non-wildcard), time period, actor, and result.

Parámetros de entrada

  • refstring

    The ref (e.g., branch or tag name) to filter by; cannot contain wildcard characters. If provided, only evaluations for this ref are returned.

  • pageinteger

    Page number of results to retrieve.

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account or the organization name that owns the repository. This field is not case-sensitive.

  • per_pageinteger

    Number of results per page (max 100).

  • actor_namestring

    GitHub username of the actor to filter by. If specified, only evaluations triggered by this user are returned.

  • time_periodstringenum

    Time period to filter rule suites: 'hour' (last hour), 'day' (last 24 hours), 'week' (last 7 days), or 'month' (last 30 days).

    hourdayweekmonth
  • rule_suite_resultstringenum

    Filter rule suites by evaluation outcome (e.g., 'pass', 'fail', 'bypass').

    passfailbypassall

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository secretsGITHUB_LIST_REPOSITORY_SECRETSAcción

Lists metadata for all secrets in a github repository, excluding their encrypted values.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. The name is not case-sensitive.

  • ownerstringObligatorio

    The GitHub account owner of the repository. This is typically a username or organization name. The name is not case-sensitive.

  • per_pageinteger

    Number of secrets per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository secrets without decryptingGITHUB_LIST_REPOSITORY_SECRETS_WITHOUT_DECRYPTINGAcción

Lists metadata (e.g., name, creation/update dates) for all dependabot secrets in a repository; secret values are not included.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve (starts from 1).

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This field is not case sensitive.

  • per_pageinteger

    Number of secrets to return per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository tagsGITHUB_LIST_REPOSITORY_TAGSAcción

Lists tags for a specified github repository.

Parámetros de entrada

  • pageinteger

    The page number of the results to retrieve for pagination.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • per_pageinteger

    The number of tag results to return per page; maximum 100.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response. Typically, this will be a list of objects, where each object represents a tag and includes details like the tag name, commit SHA, and tarball/zipball URLs.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository teamsGITHUB_LIST_REPOSITORY_TEAMSAcción

Lists all teams with explicit permission to access the specified repository; the repository must exist.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This value is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This value is not case-sensitive.

  • per_pageinteger

    The number of team results to return per page (maximum 100).

Parámetros de salida

  • dataobject[]Obligatorio

    A list of team objects that have access to the repository. Each object typically includes details like team ID, name, slug, description, privacy status, and the permission level (e.g., 'pull', 'push', 'admin') the team has for this repository. Refer to the GitHub API documentation for the full team object structure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository variablesGITHUB_LIST_REPOSITORY_VARIABLESAcción

Lists plain text key-value variables for github actions workflows within a specific, accessible repository.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This can be a username or an organization name. The name is not case sensitive.

  • per_pageinteger

    Number of repository variables to return per page (maximum 30).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the API response. It typically includes `total_count` (the total number of variables in the repository) and `variables` (a list of variable objects). Each variable object usually contains `name`, `value`, `created_at`, and `updated_at` fields.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository webhooksGITHUB_LIST_REPOSITORY_WEBHOOKSAcción

Retrieves a list of webhooks for a repository, which must exist and be accessible.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This name is not case-sensitive.

  • per_pageinteger

    Number of webhook results per page. Maximum is 100.

Parámetros de salida

  • dataobjectObligatorio

    A list of webhook objects for the repository. Each object includes details like ID, type, name, active status, events, and configuration. Note: Represents the list of webhooks from the GitHub API, though typed as `Dict[str, t.Any]`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository workflowsGITHUB_LIST_REPOSITORY_WORKFLOWSAcción

Lists all github actions workflows for a specified repository, which must exist and be accessible.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • per_pageinteger

    The number of workflow results to return per page. Maximum value is 100.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the API response from GitHub. It typically includes a `total_count` of workflows and a `workflows` array, where each element is an object detailing a workflow.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repos with ghactions cache usageGITHUB_LIST_REPOS_WITH_GHACTIONS_CACHE_USAGEAcción

Retrieves a paginated list of github actions cache usage statistics for repositories within an existing github organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization for which to retrieve repository cache usage. This name is not case-sensitive.

  • pageinteger

    The page number for the set of results to fetch.

  • per_pageinteger

    The number of repository cache usage results to return per page (maximum is 100).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the API's response. It includes 'total_count' (integer: total number of repositories with cache usage for the organization) and 'repository_cache_usages' (list of objects). Each object in 'repository_cache_usages' details a repository's cache usage with 'full_name' (string: e.g., 'octo-org/Hello-World'), 'active_caches_size_in_bytes' (integer: sum of active cache usage in bytes), and 'active_caches_count' (integer: number of active caches).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List review comments in a repositoryGITHUB_LIST_REVIEW_COMMENTS_IN_A_REPOSITORYAcción

Lists all review comments on all pull requests within a specified repository.

Parámetros de entrada

  • pageinteger

    Page number for the results to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • sortstringenum

    Sort field for review comments: `created` (creation time), `updated` (last update time), or `created_at` (creation timestamp). Defaults to API's standard sort order (typically by ID, ascending) if unspecified.

    createdupdatedcreated_at
  • ownerstringObligatorio

    The username of the account that owns the repository. This name is not case-sensitive.

  • sincestring

    Filters for comments updated at or after this ISO 8601 timestamp (e.g., `YYYY-MM-DDTHH:MM:SSZ`).

  • per_pageinteger

    Number of review comments per page (max 100).

  • directionstringenum

    Sort direction (`asc` or `desc`). Effective only if `sort` is specified.

    ascdesc

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List review comments on a pull requestGITHUB_LIST_REVIEW_COMMENTS_ON_A_PULL_REQUESTAcción

Lists all review comments on a specific pull request within a github repository.

Parámetros de entrada

  • pageinteger

    Page number of results to retrieve.

  • repostringObligatorio

    Name of the repository, without the `.git` extension. Not case sensitive.

  • sortstringenum

    Sort review comments by `created` or `updated`.

    createdupdated
  • ownerstringObligatorio

    Username of the account owning the repository. Not case sensitive.

  • sincestring

    Only include comments updated at or after this ISO 8601 timestamp (`YYYY-MM-DDTHH:MM:SSZ`).

  • per_pageinteger

    Number of comments per page (max 100).

  • directionstringenum

    Sort direction (`asc` or `desc`); ignored if `sort` is not provided.

    ascdesc
  • pull_numberintegerObligatorio

    Unique number identifying the pull request.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List reviews for a pull requestGITHUB_LIST_REVIEWS_FOR_A_PULL_REQUESTAcción

Lists submitted reviews chronologically for a specific pull request within a github repository.

Parámetros de entrada

  • pageinteger

    The page number for the set of results to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This name is not case sensitive.

  • per_pageinteger

    The number of review results to display per page. Maximum 100.

  • pull_numberintegerObligatorio

    The unique number identifying the pull request within the repository.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List runner applications for an organizationGITHUB_LIST_RUNNER_APPLICATIONS_FOR_AN_ORGANIZATIONAcción

Lists downloadable github actions runner application binaries, used for setting up self-hosted runners, for an existing github organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    An array of objects, where each object represents an available runner application binary. Each object typically includes details such as the operating system, architecture, download URL, and filename for the runner application.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List runner applications for a repositoryGITHUB_LIST_RUNNER_APPLICATIONS_FOR_A_REPOSITORYAcción

Lists available self-hosted runner application binaries for a specific repository, including their os, architecture, and download url.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account or the name of the organization that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary containing a list of runner application objects, each with details like 'os', 'architecture', 'download_url', and 'filename'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List secrets for the authenticated userGITHUB_LIST_SECRETS_FOR_THE_AUTHENTICATED_USERAcción

Lists all codespaces secrets accessible to the authenticated user for use within github codespaces.

Parámetros de entrada

  • pageinteger

    The page number of the results to retrieve (starts from 1).

  • per_pageinteger

    The number of secrets to return per page (up to 100).

Parámetros de salida

  • dataobjectObligatorio

    The API response body. Contains `total_count`, an integer representing the total number of secrets available, and `secrets`, a list of secret objects. Each secret object includes details such as its `name`, `created_at` timestamp, `updated_at` timestamp, and `visibility` status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List selected repos for secret accessGITHUB_LIST_SELECTED_REPOS_FOR_SECRET_ACCESSAcción

Lists repositories within a specified organization that have been granted access to a particular dependabot secret.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • pageinteger

    The page number of the results to retrieve, starting at 1.

  • per_pageinteger

    The number of results to return per page, with a maximum of 100.

  • secret_namestringObligatorio

    The name of the Dependabot secret for which to list repository access.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response. This typically includes `total_count` (the total number of repositories with access to the secret) and `repositories` (a list of repository objects that have been granted access).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List selected repositories for an organization secretGITHUB_LIST_SELECTED_REPOSITORIES_FOR_AN_ORGANIZATION_SECRETAcción

Lists repositories within an organization that have explicit access to a specific organization secret, which must have its visibility set to 'selected'.

Parámetros de entrada

  • orgstringObligatorio

    The organization name. The name is not case sensitive.

  • pageinteger

    Page number of the results to fetch.

  • per_pageinteger

    Number of results per page (max 100).

  • secret_namestringObligatorio

    The name of the secret.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List selected repositories for an organization variableGITHUB_LIST_SELECTED_REPOSITORIES_FOR_AN_ORGANIZATION_VARIABLEAcción

Lists 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.

Parámetros de entrada

  • orgstringObligatorio

    The organization's name (case-insensitive).

  • namestringObligatorio

    The name of the variable.

  • pageinteger

    Page number for pagination.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List selected repositories for a user secretGITHUB_LIST_SELECTED_REPOSITORIES_FOR_A_USER_SECRETAcción

Lists repositories that have access to the specified user secret for the authenticated user's codespaces, provided the user has codespaces access.

Parámetros de entrada

  • secret_namestringObligatorio

    Name of the secret for which to list associated repositories.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List self hosted runners for an organizationGITHUB_LIST_SELF_HOSTED_RUNNERS_FOR_AN_ORGANIZATIONAcción

Lists 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.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (case-insensitive).

  • namestring

    Name to filter the list of self-hosted runners.

  • pageinteger

    Page number for results retrieval (starts at 1).

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    Raw JSON response containing 'total_count' and a 'runners' array with runner details (e.g., id, name, os, status, labels).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List self hosted runners for a repositoryGITHUB_LIST_SELF_HOSTED_RUNNERS_FOR_A_REPOSITORYAcción

Lists all self-hosted runners configured for a repository.

Parámetros de entrada

  • namestring

    The name of a specific self-hosted runner to filter by. If not provided, all runners for the repository are listed.

  • pageinteger

    The page number of the results to fetch, starting from 1. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • per_pageinteger

    The number of results per page (maximum 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response from the GitHub API. This typically includes a `total_count` of runners and a `runners` key, which is a list of self-hosted runner objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List social accounts for a userGITHUB_LIST_SOCIAL_ACCOUNTS_FOR_A_USERAcción

Lists social media accounts publicly linked to an existing github user's profile.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch when paginating. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • per_pageinteger

    The number of social account results to return per page. Maximum is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • usernamestringObligatorio

    The handle (username) of the GitHub user (e.g., 'octocat') for whom to list social media accounts.

Parámetros de salida

  • dataobjectObligatorio

    List of social account objects, each with 'provider' (e.g., 'linkedin', 'twitter') and 'url' (profile link).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List social accounts for the authenticated userGITHUB_LIST_SOCIAL_ACCOUNTS_FOR_THE_AUTHENTICATED_USERAcción

Lists all social media accounts linked to the authenticated user's github profile.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • per_pageinteger

    Number of social accounts to return per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List stargazersGITHUB_LIST_STARGAZERSAcción

Lists users who have starred the specified github repository, which must exist.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • repostringObligatorio

    Name of the repository, without the `.git` extension; case-insensitive.

  • ownerstringObligatorio

    Username of the account owner (user or organization) of the repository; case-insensitive.

  • per_pageinteger

    Number of results to display per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List starred gistsGITHUB_LIST_STARRED_GISTSAcción

Retrieves a list of gists starred by the authenticated user.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • sincestring

    Timestamp in ISO 8601 format (`YYYY-MM-DDTHH:MM:SSZ`) to filter gists updated after this time.

  • per_pageinteger

    Number of results per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List subscriptions for the authenticated userGITHUB_LIST_SUBSCRIPTIONS_FOR_THE_AUTHENTICATED_USERAcción

Lists the authenticated user's active github marketplace subscriptions.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    A list of the authenticated user's marketplace subscriptions, including details for each subscription such as account information, billing cycle, unit count, trial status, and plan information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List stubbed subscriptions for the authenticated userGITHUB_LIST_SUBSCRIPTIONS_FOR_THE_AUTHENTICATED_USER_STUBBEDAcción

Lists the authenticated user's stubbed (test/example data, not live) github marketplace subscriptions, useful for development or testing.

Parámetros de entrada

  • pageinteger

    Page number of results to fetch (starts from 1).

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List tag protection states for a repositoryGITHUB_LIST_TAG_PROTECTION_STATES_FOR_A_REPOSITORYAcción

Lists all active tag protection rules for a repository, defining patterns to prevent matching tags from being created or deleted; requires repository admin permissions.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    The list of tag protection states. Each state includes its ID, the pattern string defining the protected tag, and whether the protection rule is enabled.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List team membersGITHUB_LIST_TEAM_MEMBERSAcción

Lists members of a specific team within an organization, including members of child teams.

Parámetros de entrada

  • orgstringObligatorio

    Organization name (case-insensitive).

  • pageinteger

    Page number for results.

  • rolestringenum

    Filters members by their role in the team.

    membermaintainerall
  • per_pageinteger

    Number of results per page (maximum 100).

  • team_slugstringObligatorio

    Team slug (URL-friendly name).

Parámetros de salida

  • dataobjectObligatorio

    List of team member objects, each detailing user information such as 'login', 'id', and 'avatar_url'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List team projectsGITHUB_LIST_TEAM_PROJECTSAcción

Lists github projects accessible to a specific team within an organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive). E.g., 'MyOrg' for github.com/MyOrg.

  • pageinteger

    Page number for pagination.

  • per_pageinteger

    Number of project results per page (max 100).

  • team_slugstringObligatorio

    The team's URL-friendly slug (e.g., 'web-developers' for 'Web Developers').

Parámetros de salida

  • dataobjectObligatorio

    The API response as a dictionary. It's expected to contain a list of team-accessible projects, with details for each.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List team repositoriesGITHUB_LIST_TEAM_REPOSITORIESAcción

Lists repositories accessible to a specific team within a github organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • pageinteger

    The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • per_pageinteger

    The number of results to return per page. The maximum value is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • team_slugstringObligatorio

    The slug (URL-friendly version) of the team name.

Parámetros de salida

  • dataobjectObligatorio

    The raw JSON response from the GitHub API. This endpoint returns a list (JSON array) of repository objects that the team has access to. Each repository object includes details such as its ID, name, full_name, owner, and permissions.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List teamsGITHUB_LIST_TEAMSAcción

Lists teams for a specified github organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • pageinteger

    The page number of the results to fetch when paginating through the list of teams.

  • per_pageinteger

    The number of team results to return per page. Maximum value is 100.

Parámetros de salida

  • dataobjectObligatorio

    The parsed JSON response from the GitHub API, expected to contain a list of team objects for the organization. Each object details team ID, name, slug, description, privacy, permissions, and member/repository counts.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List teams for the authenticated userGITHUB_LIST_TEAMS_FOR_THE_AUTHENTICATED_USERAcción

Lists all teams across all organizations to which the authenticated user belongs, supporting pagination.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • per_pageinteger

    Number of team results to return per page (max 100). For more information, refer to GitHub's documentation on API pagination.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API's response. The GitHub API returns a list of team objects for this operation; this dictionary provides access to that team data.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List teams assigned to an organization roleGITHUB_LIST_TEAMS_THAT_ARE_ASSIGNED_TO_AN_ORGANIZATION_ROLEAcción

Lists teams assigned to a specific role within a github organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (not case-sensitive).

  • pageinteger

    Page number of results to fetch (starts at 1).

  • role_idintegerObligatorio

    Unique numerical identifier of the organization role.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List the people a user followsGITHUB_LIST_THE_PEOPLE_A_USER_FOLLOWSAcción

Lists github users that a valid github `username` is following, supporting pagination.

Parámetros de entrada

  • pageinteger

    Page number for the results to retrieve (starts from 1).

  • per_pageinteger

    Number of results to return per page (maximum 100).

  • usernamestringObligatorio

    GitHub username (case-sensitive) of the user.

Parámetros de salida

  • dataobjectObligatorio

    A list of user objects representing the users that the specified user follows. Each user object typically includes details such as `login` (username), `id` (user ID), `node_id`, `avatar_url`, `html_url` (profile URL), and other user-specific information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List people the authenticated user followsGITHUB_LIST_THE_PEOPLE_THE_AUTHENTICATED_USER_FOLLOWSAcción

Lists people the authenticated user follows.

Parámetros de entrada

  • pageinteger

    Page number for paginated results.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    List of user objects (dictionaries with user details) for users followed by the authenticated user. Empty if no users are followed.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List timeline events for an issueGITHUB_LIST_TIMELINE_EVENTS_FOR_AN_ISSUEAcción

Lists chronological events (e.g., comments, commits, label changes) for a specific issue in a github repository.

Parámetros de entrada

  • pageinteger

    Page number for results.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Account owner of the repository (not case-sensitive).

  • per_pageinteger

    Number of events per page (max 100).

  • issue_numberintegerObligatorio

    Number identifying the issue within the repository.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List token access repositoriesGITHUB_LIST_TOKEN_ACCESS_REPOSITORIESAcción

Lists repositories in an organization accessible by a specific fine-grained personal access token; this action is for github apps.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • pageinteger

    Page number of the results to fetch.

  • pat_idintegerObligatorio

    The unique identifier of the fine-grained personal access token.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List user projectsGITHUB_LIST_USER_PROJECTSAcción

Retrieves a list of projects for a specified github user, optionally filtering by state and supporting pagination; the username must be a valid github handle.

Parámetros de entrada

  • pageinteger

    Page number for pagination.

  • statestringenum

    Filter projects by state.

    openclosedall
  • per_pageinteger

    Number of results per page (max 100).

  • usernamestringObligatorio

    GitHub username (handle).

Parámetros de salida

  • dataobjectObligatorio

    API response containing a list of project objects with details like ID, name, state, and URLs.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List usersGITHUB_LIST_USERSAcción

Retrieves all github users (individuals and organizations) in chronological order of their sign-up date.

Parámetros de entrada

  • sinceinteger

    A user ID. If provided, only users with an ID greater than this ID will be returned. This parameter facilitates pagination. If omitted, the list starts from the first user.

  • per_pageinteger

    Specifies the number of user results to return per page. The maximum allowed value is 100.

Parámetros de salida

  • dataobjectObligatorio

    A list of GitHub user objects. Each object provides publicly available user details such as `login`, `id`, `node_id`, `avatar_url`, `html_url`, and other user-specific information as defined by the GitHub API specification.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List users blocked by an organizationGITHUB_LIST_USERS_BLOCKED_BY_AN_ORGANIZATIONAcción

Lists users blocked by a specified github organization.

Parámetros de entrada

  • orgstringObligatorio

    The organization name. This name is not case sensitive.

  • pageinteger

    Specifies the page number of the results to fetch. Default is 1. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • per_pageinteger

    Specifies the number of results to return per page, with a maximum of 100. Default is 30. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio

    List of 'simple user' objects detailing users blocked by the organization. Each object includes fields such as 'login', 'id', 'node_id', 'avatar_url', and 'html_url'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List users blocked by the authenticated userGITHUB_LIST_USERS_BLOCKED_BY_THE_AUTHENTICATED_USERAcción

Lists users blocked by the authenticated user, returning an empty list if no users are blocked.

Parámetros de entrada

  • pageinteger

    The page number of the results to retrieve.

  • per_pageinteger

    The number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List users assigned org roleGITHUB_LIST_USERS_THAT_ARE_ASSIGNED_TO_AN_ORGANIZATION_ROLEAcción

Lists users assigned to a specific role within a github organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This is not case-sensitive.

  • pageinteger

    Page number of results (1-indexed).

  • role_idintegerObligatorio

    The unique identifier for the organization role.

  • per_pageinteger

    Number of results per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio

    The API response, expected to contain a list of user objects assigned to the role, with details like 'login', 'id', 'node_id', 'avatar_url'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List watchersGITHUB_LIST_WATCHERSAcción

Retrieves a list of users watching a specific repository; the repository must be accessible to the authenticated user.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • per_pageinteger

    Number of results to return per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    A list of user objects representing repository watchers, each typically including details like 'login', 'id', and 'avatar_url'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List workflow run artifactsGITHUB_LIST_WORKFLOW_RUN_ARTIFACTSAcción

Lists artifacts (e.g., build outputs, test results) for a specific workflow run in a github repository.

Parámetros de entrada

  • namestring

    If specified, filters artifacts by this exact name.

  • pageinteger

    Page number of results to fetch.

  • repostringObligatorio

    Repository name, without the `.git` extension (not case sensitive).

  • ownerstringObligatorio

    Account owner of the repository (not case sensitive).

  • run_idintegerObligatorio

    Unique identifier of the workflow run.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List workflow runs for a repositoryGITHUB_LIST_WORKFLOW_RUNS_FOR_A_REPOSITORYAcción

Lists 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.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case-sensitive).

  • actorstring

    Filter by the actor's login (e.g., the user who triggered the `push`).

  • eventstring

    Filter by the event that triggered the workflow (e.g., `push`, `pull_request`).

  • ownerstringObligatorio

    The account owner of the repository (not case-sensitive).

  • branchstring

    Filter by branch name (e.g., `main` or the branch that triggered the `push`).

  • statusstringenum

    Filter by `status` or `conclusion` (e.g., `success`, `in_progress`). Note: Only GitHub Actions can set `waiting`, `pending`, or `requested`.

    completedaction_requiredcancelledfailureneutralskippedstalesuccesstimed_outin_progressqueuedrequested+2
  • createdstring

    Filter by creation date or date-time range (ISO8601 format: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ). Supports operators like `>`, `<`, `>=`, `<=`, and `..` for ranges.

  • head_shastring

    Filter to include only runs associated with the specified `head_sha` (commit SHA at the head of the branch).

  • per_pageinteger

    Number of results per page (maximum 100).

  • check_suite_idinteger

    Filter by a specific `check_suite_id`.

  • exclude_pull_requestsboolean

    Exclude workflow runs triggered by pull request events if `true`.

Parámetros de salida

  • dataobjectObligatorio

    API response, typically including 'total_count' and an array of 'workflow_runs' objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List workflow runs for a workflowGITHUB_LIST_WORKFLOW_RUNS_FOR_A_WORKFLOWAcción

Lists runs for a specified, existing workflow (identified by id or filename like `main.yml`) in a github repository, with filtering options.

Parámetros de entrada

  • pageinteger

    Page number of the results to retrieve.

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • actorstring

    Filter by the GitHub username of the actor who initiated the run.

  • eventstring

    Filter by the event that triggered the run (e.g., `push`, `pull_request`). For more event types, see GitHub's documentation on "Events that trigger workflows".

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

  • branchstring

    Filter by branch name, typically for `push` events.

  • statusstringenum

    Filter by status or conclusion (e.g., `success`, `in_progress`). Note: `waiting`, `pending`, or `requested` statuses are set exclusively by GitHub Actions.

    completedaction_requiredcancelledfailureneutralskippedstalesuccesstimed_outin_progressqueuedrequested+2
  • createdstring

    Filter by creation date/time range. For syntax, refer to GitHub's "Understanding the search syntax" guide for dates.

  • head_shastring

    Filter by the head commit's SHA.

  • per_pageinteger

    Number of results per page (max 100).

  • workflow_idintegerObligatorio

    ID or filename (e.g., `main.yml`) of the workflow.

  • check_suite_idinteger

    Filter by `check_suite_id` (identifier for a collection of check runs).

  • exclude_pull_requestsboolean

    If true, exclude workflow runs triggered by pull requests.

Parámetros de salida

  • dataobjectObligatorio

    Raw JSON response from the API, usually a list of workflow runs with details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Lock an issueGITHUB_LOCK_AN_ISSUEAcción

Locks an existing github issue's conversation, preventing further comments; an optional reason can be specified.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This name is not case-sensitive.

  • lock_reasonstringenum

    Optional reason for locking the conversation; if omitted, no reason is displayed.

    off-topictoo heatedresolvedspam
  • issue_numberintegerObligatorio

    The number that uniquely identifies the issue to be locked within the repository.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the response from the GitHub API. Upon successful locking of an issue (which typically results in a 204 No Content status), this dictionary will be empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Manage access control for organization codespacesGITHUB_MANAGE_ACCESS_CONTROL_FOR_ORGANIZATION_CODESPACESAcción

Sets the codespaces access control policy for a github organization, determining which members can use them.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • visibilitystringObligatorioenum

    Defines which users can access Codespaces within the organization. `disabled`: Codespaces are disabled for all users in the organization. `selected_members`: Only users specified in `selected_usernames` can access Codespaces. `all_members`: All members of the organization can access Codespaces. `all_members_and_outside_collaborators`: All members and outside collaborators can access Codespaces.

    disabledselected_membersall_membersall_members_and_outside_collaborators
  • selected_usernamesstring[]

    A list of GitHub usernames who should have access to Codespaces. This field is required and used only when `visibility` is set to `selected_members`. Providing a list here will replace any existing list of selected usernames.

Parámetros de salida

  • dataobjectObligatorio

    Response data, which is typically empty as a successful (HTTP 204) response has no body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Manage custom properties for org reposGITHUB_MANAGE_CUSTOM_PROPERTIES_FOR_ORG_REPOSAcción

Creates or updates values for an organization's predefined custom properties across multiple repositories (up to 30).

Parámetros de entrada

  • orgstringObligatorio

    The organization's name (case-insensitive).

  • propertiesobject[]Obligatorio

    Custom properties to set. Each must have `property_name` (predefined for the organization) and `value`. Example: `[{"property_name": "project-status", "value": "active"}]`.

  • repository_namesstring[]Obligatorio

    Repository names (max 30) to apply the custom property values to.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Manage secrets in selected repositories with proper accessGITHUB_MANAGE_SECRETS_IN_SELECTED_REPOSITORIES_WITH_PROPER_ACCESSAcción

Lists repositories within an organization that have been explicitly granted access to a specific organization secret.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • pageinteger

    Page number of the results to fetch. Default is 1. See '[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)' for more details.

  • per_pageinteger

    Number of results to return per page (maximum 100). Default is 30. See '[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)' for more details.

  • secret_namestringObligatorio

    The name of the organization secret for which to list accessible repositories.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Map a commit authorGITHUB_MAP_A_COMMIT_AUTHORAcción

Updates git author information (name and/or email) for an `author id` obtained during a repository import, to correctly attribute commits.

Parámetros de entrada

  • namestring

    New Git author name for the `author_id`. At least one of `email` or `name` must be provided.

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • emailstring

    New Git author email for the `author_id`. At least one of `email` or `name` must be provided.

  • ownerstringObligatorio

    Username of the account owning the repository (not case-sensitive).

  • author_idintegerObligatorio

    Numeric ID of the author to map, identified during a repository import; this ID is specific to the import process.

Parámetros de salida

  • dataobjectObligatorio

    Details of the updated commit author mapping, including ID, email, name, and relevant URLs.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Mark a thread as doneGITHUB_MARK_A_THREAD_AS_DONEAcción

Marks the github notification thread (identified by `thread id`) as done or read for the authenticated user, effectively archiving it.

Parámetros de entrada

  • thread_idintegerObligatorio

    ID of the notification thread to mark as done. Typically obtained from the `id` field in notification list operations (e.g., `GET /notifications`).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response from the GitHub API. For a successful operation that marks a thread as done, the API typically returns a 204 No Content or 205 Reset Content status, in which case this dictionary will likely be empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Mark a thread as readGITHUB_MARK_A_THREAD_AS_READAcción

Marks an existing github notification thread, identified by its `thread id`, as read.

Parámetros de entrada

  • thread_idintegerObligatorio

    The unique identifier of the notification thread. This ID is obtained from a notification's `id` field, for example, via the 'List notifications for the authenticated user' endpoint.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API. For this operation, a successful request (HTTP 205 Reset Content) typically results in an empty response body, meaning this dictionary might be empty. An HTTP 304 Not Modified status also indicates success without a body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Mark notifications as readGITHUB_MARK_NOTIFICATIONS_AS_READAcción

Marks notifications as read or unread, optionally for those updated at or before a `last read at` timestamp.

Parámetros de entrada

  • readboolean

    Indicates whether to mark targeted notifications as read (`true`) or unread (`false`). Defaults to `true` (mark as read) if not provided.

  • last_read_atstringdate-time

    If provided, only notifications updated at or before this timestamp are affected. If omitted, all current notifications are targeted.

Parámetros de salida

  • dataobjectObligatorio

    API's response dictionary, usually empty on success. GitHub returns 202 (if `last_read_at` omitted) or 205 (if `last_read_at` provided), indicating success with no body content.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Mark repository notifications as readGITHUB_MARK_REPOSITORY_NOTIFICATIONS_AS_READAcción

Marks notifications in a repository as read; if 'last read at' is specified, notifications updated after this timestamp are not marked as read.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • last_read_atstringdate-time

    Timestamp (ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`). If provided, notifications updated *after* this time will NOT be marked as read. If omitted, all notifications in the repository are marked as read. Defaults to the current time.

Parámetros de salida

  • dataobjectObligatorio

    GitHub API response. A successful request (HTTP 202 or 205) usually has an empty body; if data is present, it may be a minimal confirmation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge a branchGITHUB_MERGE_A_BRANCHAcción

Merges a head branch or commit sha into a base branch in a repository; fails if there are merge conflicts requiring manual resolution.

Parámetros de entrada

  • basestringObligatorio

    The name of the branch to merge the `head` branch into.

  • headstringObligatorio

    Source branch name or full commit SHA to merge into the `base` branch.

  • repostringObligatorio

    Repository name, without the `.git` extension. Not case-sensitive.

  • ownerstringObligatorio

    Username or organization name of the repository owner. Not case-sensitive.

  • commit_messagestring

    Commit message for the merge. If omitted, GitHub uses a default message.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge a pull requestGITHUB_MERGE_A_PULL_REQUESTAcción

Merges an open and mergeable pull request in a repository, optionally specifying merge commit details, a merge method, and a required head sha for safety.

Parámetros de entrada

  • shastring

    SHA of the pull request's head commit. Must match for merge to succeed, ensuring PR hasn't changed since review.

  • repostringObligatorio

    Repository name, without the `.git` extension. Not case-sensitive.

  • ownerstringObligatorio

    Repository owner's username. Not case-sensitive.

  • pull_numberintegerObligatorio

    The unique number identifying the pull request.

  • commit_titlestring

    Title for the merge commit message.

  • merge_methodstringenum

    Merge strategy: 'merge', 'squash', or 'rebase'. Defaults to repository's setting if unspecified.

    mergesquashrebase
  • commit_messagestring

    Additional details for the merge commit message.

Parámetros de salida

  • dataobjectObligatorio

    Details of the merge operation, including 'sha' (merge commit SHA), 'merged' (boolean success status), and 'message' (outcome description).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get GitHub API rootGITHUB_META_ROOTAcción

Deprecated: retrieves github rest api root endpoint details; use `github api root` instead.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary where keys are descriptive names of GitHub API resources (e.g., 'current_user_url', 'emojis_url') and values are their corresponding API endpoint URLs or URL templates. This map serves as an entry point to discover various functionalities of the GitHub REST API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Move a project cardGITHUB_MOVE_A_PROJECT_CARDAcción

Moves a project card to a specified position, optionally into a new column.

Parámetros de entrada

  • card_idintegerObligatorio

    The unique identifier of the project card to be moved.

  • positionstringObligatorio

    The target position of the card within a column. Can be 'top' (to place at the top), 'bottom' (to place at the bottom), or 'after:<card_id>' (to place after the card with the specified <card_id>). The <card_id> in 'after:<card_id>' must refer to a card in the target column.

  • column_idinteger

    The unique identifier of the column to move the card to. If not provided, the card is moved within its current column.

Parámetros de salida

  • dataobject

    An empty dictionary confirming the card was successfully moved. The HTTP status code (e.g., 201 Created) primarily indicates success.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Move a project columnGITHUB_MOVE_A_PROJECT_COLUMNAcción

Moves a column within a github project (classic) to a new position; `position` can be 'first', 'last', or 'after:<target column id>', where `target column id` must reference an existing column in the same project.

Parámetros de entrada

  • positionstringObligatorio

    The new position of the column in the project. Valid values are: 'first' (to place the column at the beginning), 'last' (to place the column at the end), or 'after:<column_id>' (to place the column after the specified column, e.g., 'after:67890').

  • column_idintegerObligatorio

    The unique identifier of the project column to be moved.

Parámetros de salida

  • dataobject

    A dictionary representing the response. For this operation, a successful move typically results in an empty response body from the API (HTTP 204 No Content), so this dictionary will usually be empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Ping an organization webhookGITHUB_PING_AN_ORGANIZATION_WEBHOOKAcción

Sends a 'ping' event to a specified, existing organization webhook to test its configuration and ensure it correctly receives events.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This field is not case-sensitive.

  • hook_idintegerObligatorio

    The unique identifier of the webhook. This ID can be found in the `X-GitHub-Hook-ID` header of a webhook delivery.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Ping a repository webhookGITHUB_PING_A_REPOSITORY_WEBHOOKAcción

Pings an existing webhook on a repository to test its configuration and reachability by github.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • hook_idintegerObligatorio

    The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response data. For a successful ping (HTTP 204 No Content), this dictionary may be empty or represent an empty body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Privately report a security vulnerabilityGITHUB_PRIVATELY_REPORT_A_SECURITY_VULNERABILITYAcción

Privately reports a security vulnerability for a repository; specify either `severity` or `cvss vector string`, but not both.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • cwe_idsstring[]

    A list of Common Weakness Enumeration (CWE) identifiers relevant to the vulnerability.

  • summarystringObligatorio

    A short, descriptive summary of the security vulnerability.

  • severitystringenum

    The advisory's severity level. Mutually exclusive with `cvss_vector_string`.

    criticalhighmediumlow
  • descriptionstringObligatorio

    A detailed explanation of the security vulnerability, its impact, and potential mitigations.

  • vulnerabilitiesobject[]

    A list of vulnerability objects detailing the affected packages or products. Each object should specify the package's ecosystem and name, the vulnerable version range, and optionally, patched versions and vulnerable functions.

  • cvss_vector_stringstring

    The CVSS vector string for advisory severity. Mutually exclusive with `severity`.

  • start_private_forkboolean

    Whether to create a temporary private fork to collaborate on a fix for the reported vulnerability.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Pulls check if mergedGITHUB_PULLS_CHECK_IF_MERGEDAcción

Deprecated: use `check if a pull request has been merged` instead. checks if a github pull request has been merged, indicated by a 204 http status (merged) or 404 (not merged/found).

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case sensitive).

  • ownerstringObligatorio

    The account owner of the repository (not case sensitive).

  • pull_numberintegerObligatorio

    The number that identifies the pull request.

Parámetros de salida

  • dataobjectObligatorio

    API response data. Merge status is indicated by HTTP status: 204 (merged, empty body) or 404 (not merged/found, body may contain error details).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a pull requestGITHUB_PULLS_CREATEAcción

Deprecated: use `create a pull request` instead. creates a pull request, requiring existing `base` and `head` branches.

Parámetros de entrada

  • basestringObligatorio

    The name of the branch you want the changes pulled into. This must be an existing branch on the current (target) repository. You cannot submit a pull request to one repository that requests a merge to a base branch of another repository.

  • bodystring

    The detailed description or contents of the pull request.

  • headstringObligatorio

    The name of the branch where your changes are implemented. For cross-repository pull requests, namespace `head` with the source owner and branch, like `username:branch`.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • draftboolean

    Indicates whether the pull request should be created as a draft. Draft pull requests cannot be merged until marked as ready for review.

  • issueinteger

    The number of an existing issue in the repository to convert into a pull request. If provided, the issue's title and body may be used for the pull request. Required if `title` is not specified.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • titlestring

    The title of the new pull request. Required unless `issue` is specified.

  • head_repostringrepo.nwo

    The name of the repository (e.g., 'octocat/Hello-World') where the changes in the pull request were made. This field is required for cross-repository pull requests if both the source and target repositories are owned by the same organization but are different repositories.

  • maintainer_can_modifyboolean

    Indicates whether maintainers of the upstream repository can modify the pull request. This is primarily relevant for pull requests originating from forks.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full representation of the created pull request.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a review for a pull requestGITHUB_PULLS_CREATE_REVIEWAcción

Deprecated: use `create a review for a pull request` for creating pull request reviews; supports `pending` for drafts and comment positioning.

Parámetros de entrada

  • bodystring

    Review's main body text; required if `event` is `REQUEST_CHANGES` or `COMMENT`.

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • eventstringenum

    Review action type (`APPROVE`, `REQUEST_CHANGES`, `COMMENT`); if omitted, review is `PENDING` and requires later submission.

    APPROVEREQUEST_CHANGESCOMMENT
  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • commentsobject[]

    Inline draft review comments. Each object requires `path` (relative file path) and `body` (comment text). Optionally, specify `line` (or `start_line` for multi-line), and `side` (or `start_side`) for diff location. `position` is deprecated; use `line`. Example: `[{'path': 'file.py', 'line': 10, 'body': 'Refactor this.'}]`

  • commit_idstring

    SHA of the commit to review; defaults to the latest pull request commit. Outdated SHAs may lead to stale comments.

  • pull_numberintegerObligatorio

    Identifying number of the pull request.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a review comment for a pull requestGITHUB_PULLS_CREATE_REVIEW_COMMENTAcción

Deprecated: creates a review comment on a pull request's diff. use `create a review comment for a pull request` instead.

Parámetros de entrada

  • bodystringObligatorio

    Text content of the review comment.

  • lineinteger

    **Required unless `subject_type` is 'file'**. Line number in the diff for the comment; for multi-line, this is the last line of the range.

  • pathstringObligatorio

    Relative path of the file for the comment.

  • repostringObligatorio

    Repository name without the `.git` extension (not case sensitive).

  • sidestringenum

    Side of the diff (`LEFT` or `RIGHT`) for the comment in a split diff view; for multi-line comments, refers to the last line of the range.

    LEFTRIGHT
  • ownerstringObligatorio

    Account owner of the repository (not case sensitive).

  • positioninteger

    **Deprecated: Use `line` instead.** Position in the diff hunk for the comment (not the file line number).

  • commit_idstringObligatorio

    SHA of the commit for the comment. Using an outdated `commit_id` can misplace the comment if lines change.

  • start_lineinteger

    **Required for multi-line comments unless `in_reply_to` is used.** First line in the diff for a multi-line comment.

  • start_sidestringenum

    **Required for multi-line comments unless `in_reply_to` is used.** Starting side of the diff (`LEFT` or `RIGHT`) for a multi-line comment.

    LEFTRIGHTside
  • in_reply_tointeger

    ID of an existing review comment to reply to. If provided, other location parameters (except `body`) are ignored.

  • pull_numberintegerObligatorio

    Identifier of the pull request.

  • subject_typestringenum

    Level of the comment target: `line` (specific line) or `file` (entire file). Defaults to `line` if not provided.

    linefile

Parámetros de salida

  • dataobjectObligatorio

    Details of the newly created pull request review comment.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a pull requestGITHUB_PULLS_GETAcción

Deprecated: retrieves details of a specific pull request; prefer using the `get a pull request` action.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the .git extension. This value is not case sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This value is not case sensitive.

  • pull_numberintegerObligatorio

    The number that identifies the specific pull request.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List pull requestsGITHUB_PULLS_LISTAcción

(deprecated: use `list pull requests`) lists pull requests for a specified github repository with ai-friendly filtering.

Parámetros de entrada

  • basestring

    Filter by base branch name.

  • headstring

    Filter by head user/org and branch name, e.g., `user:ref-name`.

  • pageinteger

    Page number for results.

  • repostringObligatorio

    Name of the repository, without the `.git` extension.

  • sortstring

    Sorts results. Valid values: 'created', 'updated', 'popularity', 'long-running'. 'popularity' is by comment count; 'long-running' by age and recent activity.

  • ownerstringObligatorio

    Username or organization name of the repository owner.

  • statestring

    Filter by pull request state. Valid values: 'open', 'closed', 'all'.

  • per_pageinteger

    Number of results per page (maximum 100).

  • directionstring

    Sort direction. Valid values: 'asc', 'desc'. Defaults to 'desc' if sort is 'created' or unspecified, else 'asc'.

Parámetros de salida

  • dataobjectObligatorio

    Filtered pull request data with only essential information

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Redeliver a delivery for an organization webhookGITHUB_REDELIVER_A_DELIVERY_FOR_AN_ORGANIZATION_WEBHOOKAcción

Redelivers a specific webhook delivery for a webhook within an organization, to resend an event that previously failed or was not processed.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

  • hook_idintegerObligatorio

    The unique identifier of the webhook. This ID can be found in the `X-GitHub-Hook-ID` header of a webhook delivery or by listing webhooks for an organization.

  • delivery_idintegerObligatorio

    The unique identifier of the specific webhook delivery to be redelivered. This ID is typically obtained from the `X-GitHub-Delivery` header of the original delivery attempt or by listing deliveries for a webhook.

Parámetros de salida

  • dataobjectObligatorio

    The response body from the GitHub API. Typically, this is an empty object {} upon successful redelivery request (HTTP 202 Accepted), or an object containing error details if the request fails.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Redeliver a delivery for a repository webhookGITHUB_REDELIVER_A_DELIVERY_FOR_A_REPOSITORY_WEBHOOKAcción

Redelivers a specific, previously made webhook delivery (`delivery id`) for a repository's webhook (`hook id`).

Parámetros de entrada

  • repostringObligatorio

    The repository name, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    The account username that owns the repository (not case-sensitive).

  • hook_idintegerObligatorio

    Unique identifier of the webhook (e.g., from `X-GitHub-Hook-ID` header or by listing repository webhooks).

  • delivery_idintegerObligatorio

    Unique identifier of a specific past delivery for the webhook (obtainable by listing deliveries for that webhook).

Parámetros de salida

  • dataobjectObligatorio

    API response; typically an empty object on successful redelivery (HTTP 202 Accepted).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove a custom property for an organizationGITHUB_REMOVE_A_CUSTOM_PROPERTY_FOR_AN_ORGANIZATIONAcción

Deletes 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.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case sensitive.

  • custom_property_namestringObligatorio

    The name of the custom property to remove. This name is case sensitive.

Parámetros de salida

  • dataobject

    An empty dictionary indicating successful removal of the custom property.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove a label from an issueGITHUB_REMOVE_A_LABEL_FROM_AN_ISSUEAcción

Removes a label currently applied to a specific issue in a repository.

Parámetros de entrada

  • namestringObligatorio

    The name of the label to remove from the issue. Emoji reactions will not be removed and names with spaces or special characters must be URL-encoded.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • issue_numberintegerObligatorio

    The number that identifies the issue.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove all labels from an issueGITHUB_REMOVE_ALL_LABELS_FROM_AN_ISSUEAcción

Removes all labels from a specified issue in a github repository; this operation is idempotent.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • issue_numberintegerObligatorio

    The unique number that identifies the issue from which all labels will be removed.

Parámetros de salida

  • dataobject

    Response data from the API; an empty dictionary is expected on success (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove all organization roles for a teamGITHUB_REMOVE_ALL_ORGANIZATION_ROLES_FOR_A_TEAMAcción

Revokes all organization roles for a team in an organization; this is destructive and succeeds even if the team initially has no roles.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This field is not case-sensitive.

  • team_slugstringObligatorio

    The slug of the team name. Team slugs are typically all lowercase and replace spaces with hyphens.

Parámetros de salida

  • dataobject

    Typically an empty dictionary or null, as a successful revocation returns a 204 No Content response.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove all organization roles for a userGITHUB_REMOVE_ALL_ORGANIZATION_ROLES_FOR_A_USERAcción

Revokes 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.

Parámetros de entrada

  • orgstringObligatorio

    The organization name. This name is not case sensitive.

  • usernamestringObligatorio

    The handle for the GitHub user account.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response. For successful operations (typically HTTP 204 No Content), this dictionary may be empty or reflect that no content was returned in the response body. If the API returns a JSON payload, it will be parsed here.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove an organization memberGITHUB_REMOVE_AN_ORGANIZATION_MEMBERAcción

Removes a user, who must currently be a member, from a github organization, revoking their membership and access rights.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization from which to remove the member.

  • usernamestringObligatorio

    The GitHub username of the member to remove.

Parámetros de salida

  • dataobjectObligatorio

    API response data; typically empty for a successful removal (HTTP 204 No Content), or contains error details on failure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove an organization role from a teamGITHUB_REMOVE_AN_ORGANIZATION_ROLE_FROM_A_TEAMAcción

Revokes an organization role that a team currently possesses within an organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This value is not case sensitive.

  • role_idintegerObligatorio

    The unique identifier of the organization role to be removed from the team.

  • team_slugstringObligatorio

    The slug (short name) of the team.

Parámetros de salida

  • dataobject

    Response data from the API. For this operation, it is typically empty upon successful removal (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove an organization role from a userGITHUB_REMOVE_AN_ORGANIZATION_ROLE_FROM_A_USERAcción

Removes 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.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization's name (not case-sensitive).

  • role_idintegerObligatorio

    Unique ID of the custom organization role to be removed.

  • usernamestringObligatorio

    GitHub username of the user.

Parámetros de salida

  • dataobjectObligatorio

    Response data, typically empty for a successful (HTTP 204 No Content) removal.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove app access restrictionsGITHUB_REMOVE_APP_ACCESS_RESTRICTIONSAcción

Removes all github app access restrictions from a protected branch in a repository; the branch must have protection rules configured, and this action does not alter user or team restrictions.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • branchstringObligatorio

    The name of the branch from which all app access restrictions will be removed. Wildcard characters are not supported; for branches with wildcards, please use the GraphQL API.

Parámetros de salida

  • dataobjectObligatorio

    The API response. Upon success, this field contains a list of app objects detailing the apps whose access restrictions were removed from the branch. An empty list indicates all app restrictions were removed or none were present. For the app object structure, consult the GitHub API documentation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove a project from a teamGITHUB_REMOVE_A_PROJECT_FROM_A_TEAMAcción

Removes a project from a team within an organization; this action requires the project to be currently associated with the team.

Parámetros de entrada

  • orgstringObligatorio

    The organization name. The name is not case sensitive.

  • team_slugstringObligatorio

    The slug of the team name (URL-friendly version, e.g., 'justice-league').

  • project_idintegerObligatorio

    The unique identifier of the project to be removed from the team.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API. For a successful removal (HTTP 204 No Content), this field is typically empty. In case of an error, it may contain error details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove a repository collaboratorGITHUB_REMOVE_A_REPOSITORY_COLLABORATORAcción

Removes a collaborator from a specified github repository, provided the repository exists and the user is an existing collaborator.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    The account owner of the repository (not case-sensitive).

  • usernamestringObligatorio

    The GitHub username of the collaborator to remove.

Parámetros de salida

  • dataobjectObligatorio

    Response data, expected to be empty upon successful removal (204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove a repository from an app installationGITHUB_REMOVE_A_REPOSITORY_FROM_AN_APP_INSTALLATIONAcción

Removes 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.

Parámetros de entrada

  • repository_idintegerObligatorio

    The unique identifier of the repository to be removed from the installation.

  • installation_idintegerObligatorio

    The unique identifier of the GitHub App installation from which to remove the repository.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove a repository from a teamGITHUB_REMOVE_A_REPOSITORY_FROM_A_TEAMAcción

Disassociates a repository from a team; team members may lose access permissions, but the repository and team are not deleted.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization where the team and repository exist. This field is case-insensitive.

  • repostringObligatorio

    The name of the repository, without the '.git' extension. This field is case-insensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is case-insensitive.

  • team_slugstringObligatorio

    The URL-friendly identifier (slug) for the team. Team slugs are typically all lowercase with hyphens instead of spaces (e.g., 'justice-league' for 'Justice League').

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary is typically returned on successful removal (HTTP 204 No Content). If an error occurs, this may contain error details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove a selected repository from a user secretGITHUB_REMOVE_A_SELECTED_REPOSITORY_FROM_A_USER_SECRETAcción

Removes a selected repository's access to a user's codespaces secret; the secret must exist and the repository must have previously been granted access.

Parámetros de entrada

  • secret_namestringObligatorio

    Name of the user's Codespaces secret from which repository access will be revoked.

  • repository_idintegerObligatorio

    The unique integer identifier of the repository that will lose access to the specified Codespaces secret.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove assignees from an issueGITHUB_REMOVE_ASSIGNEES_FROM_AN_ISSUEAcción

Removes specified assignees from a github issue; requires push access, and invalid removal attempts are silently ignored.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, excluding the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This name is not case-sensitive.

  • assigneesstring[]

    Usernames to unassign from the issue. Note: Requires push access to the repository; attempts to remove users without permission or those not currently assigned are silently ignored.

  • issue_numberintegerObligatorio

    The unique number that identifies the issue within the repository.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the GitHub issue resource from which assignees were removed, confirming the successful removal and showing the updated state of the issue.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove custom label from repo runnerGITHUB_REMOVE_CUSTOM_LABEL_FROM_REPO_RUNNERAcción

Removes a custom label from a repository's self-hosted runner; this operation is idempotent.

Parámetros de entrada

  • namestringObligatorio

    Name of the custom label to remove from the self-hosted runner.

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

  • runner_idintegerObligatorio

    Unique identifier of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio

    GitHub API response detailing remaining labels, including `total_count` and a list of `labels` (each with `id`, `name`, `type`).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove custom label from self hosted runnerGITHUB_REMOVE_CUSTOM_LABEL_FROM_SELF_HOSTED_RUNNERAcción

Removes a currently assigned custom label (`name`) from a self-hosted runner (`runner id`) in an organization (`org`).

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

  • namestringObligatorio

    The name of the custom label to remove from the self-hosted runner.

  • runner_idintegerObligatorio

    Unique identifier of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the remaining custom labels for the self-hosted runner. This typically includes a 'total_count' of labels and a 'labels' list, where each label object has an 'id', 'name', and 'type'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove custom labels from self hosted repo runnerGITHUB_REMOVE_CUSTOM_LABELS_FROM_SELF_HOSTED_REPOSITORY_RUNNERAcción

Removes 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • runner_idintegerObligatorio

    Unique identifier (ID) of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response from GitHub. This typically includes `total_count` (the number of remaining labels) and a `labels` array. Each object in the `labels` array details a remaining label, including its `id`, `name`, and `type` (e.g., 'read-only' for default labels or custom labels from the organization).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove interaction restrictions for an organizationGITHUB_REMOVE_INTERACTION_RESTRICTIONS_FOR_AN_ORGANIZATIONAcción

Removes all interaction restrictions from public repositories in the specified github organization, allowing all users to resume interactions.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    Typically empty for a successful (HTTP 204 No Content) request; may contain details if an error occurs with a response body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove interaction restrictions for a repositoryGITHUB_REMOVE_INTERACTION_RESTRICTIONS_FOR_A_REPOSITORYAcción

Removes all interaction restrictions for a repository, enabling all users to comment, open issues, and create pull requests by lifting any existing temporary interaction limits.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension; case-insensitive.

  • ownerstringObligatorio

    Username or organization name of the repository owner; case-insensitive.

Parámetros de salida

  • dataobjectObligatorio

    Response data; typically empty for this operation due to a 204 No Content success status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove user public repo interaction restrictionsGITHUB_REMOVE_INTERACTION_RESTRICTIONS_FROM_YOUR_PUBLIC_REPOSITORIESAcción

Removes all interaction restrictions (limitations on comments, issues, or pull requests) from all public repositories owned by the authenticated user.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove org dev env secret by nameGITHUB_REMOVE_ORG_DEV_ENV_SECRET_BY_NAMEAcción

Deletes a github codespaces secret from an organization by its name; this operation is idempotent.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive).

  • secret_namestringObligatorio

    Name of the Codespaces secret to remove.

Parámetros de salida

  • dataobjectObligatorio

    Empty, as the operation returns no content on successful deletion.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove org secret by nameGITHUB_REMOVE_ORG_SECRET_BY_NAMEAcción

Permanently removes a specific dependabot secret, by its `secret name`, from the github `org`, making it unavailable to dependabot for that organization.

Parámetros de entrada

  • orgstringObligatorio

    GitHub organization name (case-insensitive).

  • secret_namestringObligatorio

    Dependabot secret name to remove from the organization.

Parámetros de salida

  • dataobject

    Response data; typically empty for successful delete operations (204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove outside collaborator from an organizationGITHUB_REMOVE_OUTSIDE_COLLABORATOR_FROM_AN_ORGANIZATIONAcción

Removes a user, who must be an outside collaborator, from the specified github organization, revoking their access to all its repositories.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • usernamestringObligatorio

    The GitHub username of the outside collaborator to remove.

Parámetros de salida

  • dataobject

    Response data from the API. For a successful removal (204 No Content), this field may be empty or not present.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove public org membershipGITHUB_REMOVE_PUBLIC_ORG_MEMBERSHIPAcción

Makes an authenticated user's public membership in an organization private (without removing them from the organization); the user must currently be a public member of that organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (case-insensitive).

  • usernamestringObligatorio

    GitHub username of the authenticated user, whose public organization membership will be made private.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

RemoverepofromorgdevenvsecretGITHUB_REMOVE_REPO_FROM_ORG_DEV_ENV_SECRETAcción

Removes a repository's access to an organization-level codespaces secret, if it was previously granted.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (not case-sensitive).

  • secret_namestringObligatorio

    The Codespaces secret name.

  • repository_idintegerObligatorio

    The unique identifier of the repository.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary, as the API returns 204 No Content on success.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove selected repo from org secretGITHUB_REMOVE_REPO_FROM_ORG_SECRET_WITH_SELECTED_VISIBILITYAcción

Revokes 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.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization (not case-sensitive).

  • secret_namestringObligatorio

    Name of the Dependabot secret.

  • repository_idintegerObligatorio

    Unique ID of the repository.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove requested reviewers from a pull requestGITHUB_REMOVE_REQUESTED_REVIEWERS_FROM_A_PULL_REQUESTAcción

Removes currently assigned user logins and/or team slugs from a github pull request's list of requested reviewers.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username of the repository owner (not case-sensitive).

  • reviewersstring[]Obligatorio

    GitHub user `login`s for removal. At least one of `reviewers` or `team_reviewers` must be specified.

  • pull_numberintegerObligatorio

    Number of the pull request.

  • team_reviewersstring[]

    GitHub team `slug`s (URL-friendly names) for removal. At least one of `reviewers` or `team_reviewers` must be specified.

Parámetros de salida

  • dataobjectObligatorio

    Updated pull request object after reviewer removal, typically adhering to GitHub's pull request schema.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove selected repository from an organization secretGITHUB_REMOVE_SELECTED_REPOSITORY_FROM_AN_ORGANIZATION_SECRETAcción

Removes a specific repository's access to an organization-level secret; the repository must have been previously granted access to this secret.

Parámetros de entrada

  • orgstringObligatorio

    Organization name (case-insensitive).

  • secret_namestringObligatorio

    Name of the organization secret.

  • repository_idintegerObligatorio

    Repository ID to remove from the secret's access.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove selected repository from an organization variableGITHUB_REMOVE_SELECTED_REPOSITORY_FROM_AN_ORGANIZATION_VARIABLEAcción

Removes a repository's access to an organization variable, if the variable's visibility is 'selected' and the repository is in its access list.

Parámetros de entrada

  • orgstringObligatorio

    The organization's name (case-insensitive).

  • namestringObligatorio

    Name of the organization variable.

  • repository_idintegerObligatorio

    Unique identifier of the repository.

Parámetros de salida

  • dataobject

    API response data; typically empty for a successful DELETE (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove status check contextsGITHUB_REMOVE_STATUS_CHECK_CONTEXTSAcción

Removes specified status check contexts (passed in the request body as an array of strings) from a protected branch in a repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • branchstringObligatorio

    The name of the branch. Wildcard characters are not allowed. To use wildcard characters in branch names, refer to the GraphQL API documentation.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove status check protectionGITHUB_REMOVE_STATUS_CHECK_PROTECTIONAcción

Removes 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.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension; not case-sensitive.

  • ownerstringObligatorio

    Account owner (username or organization) of the repository; not case-sensitive.

  • branchstringObligatorio

    Name of the branch; wildcard characters are not allowed.

Parámetros de salida

  • dataobjectObligatorio

    API response data; this may be an empty dictionary if GitHub returns a 204 No Content, common for this DELETE operation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove team access restrictionsGITHUB_REMOVE_TEAM_ACCESS_RESTRICTIONSAcción

Removes all team-based access restrictions from a specified protected branch; the branch must be protected and have existing team restrictions for this action to change settings.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This name is not case-sensitive.

  • branchstringObligatorio

    The name of the branch from which to remove team access restrictions. Wildcard characters are not permitted in this branch name. To use wildcard characters for branch names, please refer to the GitHub GraphQL API.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove team membership for a userGITHUB_REMOVE_TEAM_MEMBERSHIP_FOR_A_USERAcción

Removes a user from a specific team within an organization; this action fails if team synchronization with an identity provider (idp) is enabled, and may delete the team if the user is its last member and the team is not nested.

Parámetros de entrada

  • orgstringObligatorio

    Organization name (not case-sensitive).

  • usernamestringObligatorio

    GitHub username of the user to remove from the team.

  • team_slugstringObligatorio

    URL-friendly team name slug (e.g., 'justice-league').

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove user access restrictionsGITHUB_REMOVE_USER_ACCESS_RESTRICTIONSAcción

Removes active user-level access restrictions from a specified protected branch, enabling users with repository write access to push or merge if no other team or app restrictions apply.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This is typically a username or an organization name and is not case-sensitive.

  • branchstringObligatorio

    The name of the branch from which to remove user access restrictions. Wildcard characters (e.g., '*') are not allowed in this field. To manage branch protections using wildcard patterns, please refer to the GitHub GraphQL API.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the data from the API response. Typically, upon successful removal of all user restrictions (which results in an HTTP 204 No Content status from GitHub), this dictionary may be empty or represent an empty JSON object, depending on how the empty response is processed.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove user as a collaboratorGITHUB_REMOVE_USER_AS_A_COLLABORATORAcción

Removes a user as a collaborator from an organization project; the user must already be a collaborator on the specified project.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username of the user to remove as a collaborator from the organization project.

  • project_idintegerObligatorio

    The unique identifier of the organization project from which the collaborator will be removed.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove users from codespaces access for an organizationGITHUB_REMOVE_USERS_FROM_CODESPACES_ACCESS_FOR_AN_ORGANIZATIONAcción

Removes selected users from github codespaces billing access for an existing organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • selected_usernamesstring[]Obligatorio

    A list of GitHub usernames, typically organization members. After removal, the organization will no longer be billed for Codespaces created by these users.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the raw response data from the GitHub API. The structure and content of this dictionary can vary based on the API's output for this operation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rename a branchGITHUB_RENAME_A_BRANCHAcción

Renames 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • branchstringObligatorio

    The current name of the branch. Wildcard characters (e.g., `*`) are not allowed.

  • new_namestringObligatorio

    The new name for the branch. Must be unique and adhere to GitHub's branch naming conventions (e.g., no spaces, '..', or leading/trailing slashes).

Parámetros de salida

  • dataobjectObligatorio

    API response from GitHub, typically including details of the renamed branch like name, commit, and protection status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Render a markdown documentGITHUB_RENDER_A_MARKDOWN_DOCUMENTAcción

Renders markdown to html; for 'gfm' mode, provide 'context' (owner/repo) to correctly link issues, pull requests, and user mentions.

Parámetros de entrada

  • modestringenum

    Rendering mode: 'markdown' for standard Markdown or 'gfm' for GitHub Flavored Markdown.

    markdowngfm
  • textstringObligatorio

    The Markdown string to convert to HTML.

  • contextstring

    The repository context (e.g., 'owner/repo') used when `mode` is 'gfm'.

Parámetros de salida

  • dataobjectObligatorio

    Contains the rendered HTML output from the Markdown conversion.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace all repository topicsGITHUB_REPLACE_ALL_REPOSITORY_TOPICSAcción

Replaces all topics of a repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is case-insensitive.

  • namesstring[]Obligatorio

    A list of topic names to replace the current set of topics for the repository. Provide one or more topics to set them. To remove all topics, pass an empty list (`[]`). Note: Topic names cannot contain uppercase letters and are limited to 25 characters.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is case-insensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the key 'names' with a list of strings representing the updated topics for the repository. For example: `{"names": ["topic1", "topic2"]}`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace org secret visibility to selectedGITHUB_REPLACE_ORG_SECRET_VISIBILITY_TO_SELECTEDAcción

Sets an existing dependabot organization secret's visibility to 'selected' and replaces the full list of repositories that can access it with the ids provided.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This parameter is not case-sensitive.

  • secret_namestringObligatorio

    Name of the Dependabot secret (alphanumeric characters and underscores only, no spaces allowed).

  • selected_repository_idsinteger[]Obligatorio

    List of repository IDs that will gain exclusive access to this organization secret. This list completely replaces any current repository associations; for incremental changes (add/remove), use specific repository secret actions.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace repository access for an org Codespaces secretGITHUB_REPLACE_REPO_ACCESS_ON_ORG_DEV_ENV_SECRET_SETAcción

Replaces the list of repositories that can access an existing organization-level codespaces secret with the provided valid repository ids owned by the organization.

Parámetros de entrada

  • orgstringObligatorio

    The GitHub organization name (case-insensitive).

  • secret_namestringObligatorio

    Name of the development environment secret for which repository access is being configured.

  • selected_repository_idsinteger[]Obligatorio

    Array of repository IDs to grant access to the organization secret, replacing any existing list and setting visibility to 'selected'.

Parámetros de salida

  • dataobject

    Response data from the API. On a successful update (typically HTTP 204 No Content), this field may be an empty dictionary if a body is returned, or often no body is returned at all.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a repository for the authenticated userGITHUB_REPO_S_CREATE_FOR_AUTHENTICATED_USERAcción

Deprecated: use 'create a repository for the authenticated user' instead. creates a new repository for the authenticated user.

Parámetros de entrada

  • namestringObligatorio

    The name of the repository.

  • privateboolean

    Whether the repository is private (true) or public (false).

  • team_idinteger

    The ID of the team to be granted access. Only valid if creating in an organization.

  • has_wikiboolean

    Whether the wiki is enabled.

  • homepagestring

    A URL with more information about the repository.

  • auto_initboolean

    Whether to initialize the repository with a README.

  • has_issuesboolean

    Whether issues are enabled.

  • descriptionstring

    A short description of the repository.

  • is_templateboolean

    Whether this repository is a template repository.

  • has_projectsboolean

    Whether projects are enabled.

  • has_downloadsboolean

    Whether downloads are enabled (deprecated by GitHub and may not be configurable).

  • has_discussionsboolean

    Whether discussions are enabled.

  • allow_auto_mergeboolean

    Whether to allow auto-merge on pull requests.

  • license_templatestring

    License template keyword (e.g., 'mit', 'apache-2.0').

  • allow_merge_commitboolean

    Whether to allow merging pull requests with a merge commit.

  • allow_rebase_mergeboolean

    Whether to allow rebase-merging pull requests.

  • allow_squash_mergeboolean

    Whether to allow squash-merging pull requests.

  • gitignore_templatestring

    Desired .gitignore template (e.g., 'Python', 'Node').

  • merge_commit_titlestringenum

    The default title for a merge commit. `PR_TITLE` uses the pull request's title. `MERGE_MESSAGE` uses a classic title like 'Merge pull request #123 from branch-name'.

    PR_TITLEMERGE_MESSAGE
  • merge_commit_messagestringenum

    The default message for a merge commit. `PR_BODY` uses the pull request's body. `PR_TITLE` uses the pull request's title. `BLANK` results in a blank commit message.

    PR_BODYPR_TITLEBLANK
  • delete_branch_on_mergeboolean

    Whether to automatically delete head branches when pull requests are merged.

  • squash_merge_commit_titlestringenum

    The default title for a squash merge commit. `PR_TITLE` uses the pull request's title. `COMMIT_OR_PR_TITLE` uses the commit's title (if only one commit) or the pull request's title (if multiple commits).

    PR_TITLECOMMIT_OR_PR_TITLE
  • squash_merge_commit_messagestringenum

    The default message for a squash merge commit. `PR_BODY` uses the pull request's body. `COMMIT_MESSAGES` uses the branch's commit messages. `BLANK` results in a blank commit message.

    PR_BODYCOMMIT_MESSAGESBLANK

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a forkGITHUB_REPO_S_CREATE_FORKAcción

(deprecated: use `create a fork` instead) creates a fork of a specified repository.

Parámetros de entrada

  • namestring

    The desired name for the newly created fork. If not provided, the new fork will have the same name as the original repository.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case sensitive.

  • organizationstring

    The GitHub organization name to fork the repository into. If not specified, the fork will be created in the authenticated user's account.

  • default_branch_onlyboolean

    Specifies whether to fork only the default branch of the repository. If `True`, only the default branch is copied. If `False` or not specified, all branches are copied.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the full repository object of the newly created fork. This includes details such as `id`, `node_id`, `name`, `full_name`, `html_url`, `clone_url`, `forks_url`, `commits_url`, etc.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an organization repositoryGITHUB_REPO_S_CREATE_IN_ORGAcción

Deprecated: use `create an organization repository` instead. creates a new repository in the specified organization.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization where the repository will be created (case-insensitive).

  • namestringObligatorio

    Name of the new repository.

  • privateboolean

    Whether the repository is private. `visibility` takes precedence if both are set.

  • team_idinteger

    ID of the team to grant access to this repository within the organization.

  • has_wikiboolean

    Enable wiki for this repository.

  • homepagestring

    URL for the repository's homepage.

  • auto_initboolean

    Create an initial commit with an empty README.

  • has_issuesboolean

    Enable issues for this repository.

  • visibilitystringenum

    Repository visibility: 'public' (visible to everyone) or 'private' (visible to collaborators).

    publicprivate
  • descriptionstring

    Short description of the repository.

  • is_templateboolean

    Make this repository a template repository.

  • has_projectsboolean

    Enable projects for this repository. Fails if organization has disabled repository projects and this is true.

  • has_downloadsboolean

    Enable downloads for this repository (deprecated).

  • allow_auto_mergeboolean

    Allow auto-merge on pull requests.

  • license_templatestring

    License template keyword (e.g., "mit", "apache-2.0"). See [GitHub license documentation](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) for options.

  • custom_propertiesobject

    Custom properties for the repository as a key-value dictionary.

  • allow_merge_commitboolean

    Allow merging pull requests with a merge commit.

  • allow_rebase_mergeboolean

    Allow rebase-merging pull requests.

  • allow_squash_mergeboolean

    Allow squash-merging pull requests.

  • gitignore_templatestring

    Name of the .gitignore template to apply (e.g., "Python", "Node"). Refer to the [GitHub gitignore template list](https://github.com/github/gitignore).

  • merge_commit_titlestringenum

    Default title for merge commits: 'PR_TITLE' or 'MERGE_MESSAGE'.

    PR_TITLEMERGE_MESSAGE
  • merge_commit_messagestringenum

    Default message for merge commits: 'PR_TITLE', 'PR_BODY', or 'BLANK'.

    PR_BODYPR_TITLEBLANK
  • delete_branch_on_mergeboolean

    Automatically delete head branches when pull requests are merged. Requires organization owner privileges if true.

  • squash_merge_commit_titlestringenum

    Default title for squash merge commits: 'PR_TITLE' or 'COMMIT_OR_PR_TITLE'.

    PR_TITLECOMMIT_OR_PR_TITLE
  • squash_merge_commit_messagestringenum

    Default message for squash merge commits: 'PR_BODY', 'COMMIT_MESSAGES', or 'BLANK'.

    PR_BODYCOMMIT_MESSAGESBLANK
  • use_squash_pr_title_as_defaultboolean

    DEPRECATED: Use `squash_merge_commit_title`. Default to pull request title for squash-merge commits.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full representation of the newly created repository.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update file contentsGITHUB_REPO_S_CREATE_OR_UPDATE_FILE_CONTENTSAcción

Deprecated: use `create or update file contents` instead; creates or replaces a file in a repository.

Parámetros de entrada

  • shastring

    The blob SHA of the file being replaced. Required to update an existing file; omit to create a new file.

  • pathstringObligatorio

    The full path to the file in the repository, including the filename and extension.

  • repostringObligatorio

    The name of the repository (not case sensitive, without the `.git` extension).

  • ownerstringObligatorio

    The account owner of the repository (not case sensitive).

  • branchstring

    The branch name. Defaults to the repository’s default branch if omitted.

  • contentstringObligatorio

    The new file content, Base64 encoded. For example, to upload the text 'Hello World', use 'SGVsbG8gV29ybGQ='.

  • messagestringObligatorio

    The commit message for this file creation or update.

  • author__datestring

    Author's timestamp (ISO 8601 format). Defaults to committer's date if author details are provided but date is not.

  • author__namestring

    Author's name. If specified, `author_email` is also required. Defaults to committer details; if all committer/author details omitted, GitHub uses authenticated user.

  • author__emailstring

    Author's email. If specified, `author_name` is also required. Defaults to committer details; if all committer/author details omitted, GitHub uses authenticated user.

  • committer__datestring

    Committer's commit timestamp (ISO 8601 format). Defaults to current time if committer details are provided but date is not.

  • committer__namestring

    Committer's name. If specified, `committer_email` is also required. GitHub uses authenticated user if all committer/author details omitted.

  • committer__emailstring

    Committer's email. If specified, `committer_name` is also required. GitHub uses authenticated user if all committer/author details omitted.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the weekly commit activityGITHUB_REPO_S_GET_CODE_FREQUENCY_STATSAcción

Deprecated: use `get the weekly commit activity` instead. fetches weekly commit statistics (additions/deletions) for a repository; less reliable for over 10,000 commits.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a user or organization). This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a commitGITHUB_REPO_S_GET_COMMITAcción

Deprecated: use `get a commit`. retrieves a specific commit from a repository by its owner, name, and a valid commit reference (sha, branch, or tag), supporting pagination for large diffs.

Parámetros de entrada

  • refstringObligatorio

    The commit reference. Can be a commit SHA (e.g., '`sha`'), a branch name (e.g., 'heads/`BRANCH_NAME`' or simply '`BRANCH_NAME`'), or a tag name (e.g., 'tags/`TAG_NAME`'). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation.

  • pageinteger

    Page number for paginating the commit's diff if it's too large. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • per_pageinteger

    Number of results per page when paginating the commit's diff (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the comprehensive details of the commit, including author, committer, message, and file changes.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get repository contentGITHUB_REPO_S_GET_CONTENTAcción

Deprecated: gets repository file content or directory metadata; use `get repository content` instead.

Parámetros de entrada

  • refstring

    The name of the commit, branch, or tag. If not provided, the repository's default branch will be used.

  • pathstringObligatorio

    The path to the content in the repository. This can be a file or a directory path.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the file content or directory metadata. If `path` points to a file, this dictionary includes keys such as `name`, `path`, `sha`, `size`, `type` ('file'), `content` (Base64 encoded string of the file's contents), and `download_url`. If `path` points to a directory, this dictionary represents metadata for the directory object itself (e.g., its `name`, `path`, `sha`, `type` ('dir')). Note: To list the actual items *within* a directory, a different API endpoint or action might be needed, as the GitHub API returns an array of items for directory listings.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all contributor commit activityGITHUB_REPO_S_GET_CONTRIBUTORS_STATSAcción

(deprecated: use `getallcontributorcommitactivity`) fetches commit activity (total commits, weekly additions/deletions/commits) for all repository contributors; retry if github returns 202.

Parámetros de entrada

  • repostringObligatorio

    Repository name, excluding `.git` (case-insensitive).

  • ownerstringObligatorio

    Username of the repository owner (case-insensitive).

Parámetros de salida

  • dataobjectObligatorio

    Raw GitHub API response. Typically a list of contributor activity objects, each detailing an 'author' (with user info like 'login'), 'total' commits, and 'weeks' array (weekly 'w'-timestamp, 'a'-additions, 'd'-deletions, 'c'-commits).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List branchesGITHUB_REPO_S_LIST_BRANCHESAcción

(deprecated: use 'list branches' instead) lists branches for an existing github repository, with an option to filter by protection status.

Parámetros de entrada

  • pageinteger

    Page number for paginated results.

  • repostringObligatorio

    Repository name, excluding `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner's username (case-insensitive).

  • per_pageinteger

    Number of results per page (max 100).

  • protectedboolean

    Filter by protection status: `true` for protected, `false` for unprotected; omit for all branches.

Parámetros de salida

  • dataobjectObligatorio

    API response containing a list of branches, each with details like name, commit, and protection status.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository collaborators (deprecated)GITHUB_REPO_S_LIST_COLLABORATORSAcción

(deprecated: use `listrepositorycollaborators`) lists repository collaborators, especially for organization-owned repositories including team members from child teams; requires repository access and potentially `read:org`/`repo` scopes for organization repos.

Parámetros de entrada

  • pageinteger

    The page number of the results to retrieve.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This value is not case sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This value is not case sensitive.

  • per_pageinteger

    The number of results to return per page. Maximum value is 100.

  • permissionstringenum

    Filter collaborators by their repository permission level.

    pulltriagepushmaintainadmin
  • affiliationstringenum

    Filter collaborators by affiliation: 'outside' (collaborators of an organization-owned repository not part of the org), 'direct' (collaborators with direct permissions to an organization-owned repository), or 'all' (all collaborators visible to the authenticated user).

    outsidedirectall

Parámetros de salida

  • dataobjectObligatorio

    A list of collaborator objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List commitsGITHUB_REPO_S_LIST_COMMITSAcción

Deprecated: use `list commits` instead; lists repository commits, including gpg/s/mime signature verification details if available.

Parámetros de entrada

  • shastring

    SHA hash or branch name to start listing commits from. If not provided, the GitHub API uses the repository's default branch (usually `main` or `master`).

  • pageinteger

    Page number of the results to fetch when using pagination.

  • pathstring

    Only commits modifying this specific file path will be returned.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • sincestring

    Only commits created on or after this timestamp will be returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.

  • untilstring

    Only commits created before this timestamp will be returned. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.

  • authorstring

    Filter commits by the commit author's GitHub login or email address.

  • per_pageinteger

    Number of results to return per page (max 100).

  • committerstring

    Filter commits by the commit committer's GitHub login or email address. The committer is the user who applied the patch and may differ from the original author.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response, typically a list of commit objects and related information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository contributorsGITHUB_REPO_S_LIST_CONTRIBUTORSAcción

Deprecated: use `list repository contributors`. lists repository contributors, sorted by contributions; repository must exist and be accessible.

Parámetros de entrada

  • anonstring

    Set to '1' or 'true' to include anonymous contributors. If omitted, anonymous contributors are not included.

  • pageinteger

    Page number of results to retrieve (1-based indexing).

  • repostringObligatorio

    Name of the repository (without `.git` extension). Not case-sensitive.

  • ownerstringObligatorio

    Username of the account owning the repository. Not case-sensitive.

  • per_pageinteger

    Number of contributor results per page. Maximum value is 100.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repositories for the authenticated userGITHUB_REPO_S_LIST_FOR_AUTHENTICATED_USERAcción

Deprecated: use `list repositories for the authenticated user` to list the authenticated user's repositories.

Parámetros de entrada

  • pageinteger

    Page number of results to fetch.

  • sortstringenum

    The repository property by which to sort the results.

    createdupdatedpushedfull_name
  • typestringenum

    Filters the results to repositories of the specified type.

    allownerpublicprivatemember
  • sincestring

    Filters for repositories updated at or after this specified time. Provide as an ISO 8601 formatted timestamp.

  • beforestring

    Filters for repositories updated before this specified time. Provide as an ISO 8601 formatted timestamp.

  • per_pageinteger

    The number of results to return per page (maximum 100).

  • directionstringenum

    The direction of the sort. Defaults to `asc` when `sort` is 'full_name', and `desc` otherwise.

    ascdesc
  • raw_responseboolean

    Return full API response if true, optimized response for AI agents if false.

Parámetros de salida

  • dataobjectObligatorio

    The response data from the GitHub API. The underlying API endpoint (`GET /user/repos`) returns an array of repository objects. For the detailed structure of these repository objects, consult the official GitHub API documentation for 'repos/list-for-authenticated-user'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List organization repositoriesGITHUB_REPO_S_LIST_FOR_ORGAcción

Deprecated: lists repositories for a github organization; use `list organization repositories` instead.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization (not case-sensitive).

  • pageinteger

    Page number for pagination (starts from 1).

  • sortstringenum

    Property to sort repositories by: `created`, `updated`, `pushed`, or `full_name`.

    createdupdatedpushedfull_name
  • typestringenum

    Specifies the type of repositories to return: `all`, `public`, `private` (requires permissions), `forks`, `sources` (not forks), or `member` (repositories with explicit user access).

    allpublicprivateforkssourcesmember
  • per_pageinteger

    Number of results per page (maximum 100).

  • directionstringenum

    Sort order: `asc` (ascending) or `desc` (descending). Defaults to `asc` if `sort` is `full_name`, else `desc`.

    ascdesc

Parámetros de salida

  • dataobjectObligatorio

    List of repository objects, each detailing a repository with fields like `id`, `name`, `full_name`, `description`, and `html_url`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repositories for a userGITHUB_REPO_S_LIST_FOR_USERAcción

Deprecated: lists public repositories for the specified github user; use `list repositories for a user` instead.

Parámetros de entrada

  • pageinteger

    Page number for results (starts from 1). See GitHub REST API pagination docs for more info.

  • sortstringenum

    Sort criterion: `created`, `updated`, `pushed`, or `full_name` (repository name).

    createdupdatedpushedfull_name
  • typestringenum

    Filter for repository type: `all` (owned or member), `owner` (directly owned), or `member` (user is a public member).

    allownermember
  • per_pageinteger

    Number of results per page (max 100). See GitHub REST API pagination docs for more info.

  • usernamestringObligatorio

    GitHub username, e.g., 'octocat'.

  • directionstringenum

    Sort direction: `asc` or `desc`. Defaults to `asc` for `full_name` sort, `desc` otherwise.

    ascdesc

Parámetros de salida

  • dataobjectObligatorio

    The raw JSON response from the GitHub API. The GitHub API endpoint for listing user repositories directly returns a JSON array of repository objects. This `data` field (typed as a dictionary) will contain this response. You should inspect the contents of this dictionary to locate the list of repositories, where each repository is represented as a dictionary containing its details. For the specific structure of repository objects, refer to the official GitHub API documentation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Request a github pages buildGITHUB_REQUEST_A_GITHUB_PAGES_BUILDAcción

Manually triggers a github pages build for a repository if github pages is enabled, useful for deployments not automatically built or for retrying failed builds.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the status of the GitHub Pages build. Typically includes 'url' (API URL for the build status), 'status' (e.g., 'queued', 'building', 'built'), 'commit' (the commit SHA for the build), and timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Request reviewers for a pull requestGITHUB_REQUEST_REVIEWERS_FOR_A_PULL_REQUESTAcción

Requests user and/or team reviewers for an open pull request in a repository; requires `owner`, `repo`, `pull number`, and at least one of `reviewers` or `team reviewers`.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension; not case sensitive.

  • ownerstringObligatorio

    Account owner of the repository (username or organization name); not case sensitive.

  • reviewersstring[]

    GitHub user `login` strings (usernames) to request reviews from.

  • pull_numberintegerObligatorio

    Number identifying the pull request.

  • team_reviewersstring[]

    GitHub team `slug` strings (e.g., 'justice-league') to request reviews from. Slugs are typically lowercase and use hyphens for spaces.

Parámetros de salida

  • dataobjectObligatorio

    Updated pull request object after reviewers are requested, including details like state, branches, and new `requested_reviewers` and `requested_teams` arrays.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rerequest a check runGITHUB_REREQUEST_A_CHECK_RUNAcción

Triggers a re-run of a specific check run in a github repository, which resets its status to 'queued', clears its conclusion, and triggers the `check run` webhook with `rerequested`.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is case-insensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This field is case-insensitive.

  • check_run_idintegerObligatorio

    The unique numerical identifier of the check run to be re-requested.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary indicating a successful rerequest. The HTTP status code will be 201 Created upon success.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rerequest a check suiteGITHUB_REREQUEST_A_CHECK_SUITEAcción

Triggers a new run of an existing check suite within a repository, useful for re-running checks without new code.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • check_suite_idintegerObligatorio

    The unique identifier of the check suite.

Parámetros de salida

  • dataobjectObligatorio

    The response body from the GitHub API. Typically, this is an empty object for a successful request, as the main outcome is the rerequest of the check suite.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Re-run a job from a workflow runGITHUB_RE_RUN_A_JOB_FROM_A_WORKFLOW_RUNAcción

Re-runs a specific job and any dependent jobs from a github actions workflow run in the specified repository, optionally enabling debug logging.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a GitHub username or organization name). This name is not case sensitive.

  • job_idintegerObligatorio

    The unique numerical identifier of the job to be re-run. This ID can be obtained by listing jobs for a workflow run.

  • enable_debug_loggingboolean

    If `true`, enables additional debug logging for the re-run of the job. Defaults to `false` if not provided.

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary indicating the successful re-run of the job.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rerun a workflowGITHUB_RE_RUN_A_WORKFLOWAcción

Re-runs a specific github actions workflow run identified by its owner, repository, and run id, optionally enabling debug logging.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository (without the `.git` extension) where the workflow run exists (not case-sensitive).

  • ownerstringObligatorio

    Account owner of the repository where the workflow run exists (not case-sensitive).

  • run_idintegerObligatorio

    Unique ID of the workflow run to re-execute.

  • enable_debug_loggingboolean

    Set to `true` to enable diagnostic logging for the re-run, helpful for troubleshooting.

Parámetros de salida

  • dataobjectObligatorio

    Data from the workflow re-run response; usually an empty body (HTTP 201 Created) on success, but captures any API-returned data.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rerun failed jobs from a workflow runGITHUB_RE_RUN_FAILED_JOBS_FROM_A_WORKFLOW_RUNAcción

Re-runs all failed jobs and their dependent jobs from a specified workflow run if the run contains previously failed jobs.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension; not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name); not case-sensitive.

  • run_idintegerObligatorio

    The unique identifier of the workflow run.

  • enable_debug_loggingboolean

    Set to `true` to enable extensive debug logging for the re-run, providing additional logs to aid in diagnosing issues.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary, typically empty, returned upon successful acceptance of the re-run request. An empty object `{}` signifies GitHub's acceptance.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reset a tokenGITHUB_RESET_A_TOKENAcción

Invalidates the provided oauth `access token` and generates a new one for the github oauth app identified by `client id`, used for token compromise or security rotation.

Parámetros de entrada

  • client_idstringObligatorio

    The client ID of the GitHub OAuth App.

  • access_tokenstringObligatorio

    The existing OAuth access token that needs to be reset. This token will be invalidated and replaced by a new one.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the newly generated OAuth token. Key information typically includes the new `token` string, `scopes` array, `token_type` (e.g., 'bearer'), and other relevant metadata.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Restore a package for an organizationGITHUB_RESTORE_A_PACKAGE_FOR_AN_ORGANIZATIONAcción

Restores a package in an organization, provided it was deleted within the last 30 days.

Parámetros de entrada

  • orgstringObligatorio

    Name of the GitHub organization that owns the package (case-insensitive).

  • tokenstring

    Optional token for restoring private packages or specific versions requiring special permissions.

  • package_namestringObligatorio

    Unique name of the package to be restored.

  • package_typestringObligatorioenum

    Type of the package. Gradle packages use `maven`. Docker images in `ghcr.io` use `container`; `docker` finds images from `docker.pkg.github.com`, even if migrated.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio

    API response data. Typically empty on success (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Restore a package for a userGITHUB_RESTORE_A_PACKAGE_FOR_A_USERAcción

Restores a user-owned package previously deleted from github packages, if restorable under github's data retention policy (typically within 30 days of deletion).

Parámetros de entrada

  • tokenstring

    Optional token, potentially for specific GitHub Enterprise configurations or certain package types/visibilities. Omit if unsure.

  • usernamestringObligatorio

    GitHub username of the package owner.

  • package_namestringObligatorio

    Unique name of the package.

  • package_typestringObligatorioenum

    The package's type. Use `maven` for Gradle packages. `docker` can be used for images migrated from `docker.pkg.github.com` to the Container registry (`ghcr.io`), while `container` is for images originally pushed to `ghcr.io`.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio

    API response data. Typically empty for a successful (204 No Content) restoration.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Restore a package for the authenticated userGITHUB_RESTORE_A_PACKAGE_FOR_THE_AUTHENTICATED_USERAcción

Restores a package deleted by the authenticated user within the last 30 days, if its namespace and version are still available.

Parámetros de entrada

  • tokenstring

    Optional token to identify a specific package version to restore, useful if multiple versions were deleted. If omitted, the most recently deleted version is typically restored.

  • package_namestringObligatorio

    The unique name of the package to be restored within its namespace and type.

  • package_typestringObligatorioenum

    The type of the package to be restored, specifying its ecosystem. For example, `npm` for Node.js packages, `maven` for Java packages. Special cases: packages in GitHub's Gradle registry use the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) use the type `container`. The `docker` type can be used to find images originally pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if they have been migrated to the Container registry.

    npmmavenrubygemsdockernugetcontainer

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Restore a package version for the authenticated userGITHUB_RESTORE_A_PACKAGE_VERSION_FOR_THE_AUTHENTICATED_USERAcción

Restores a package version that was deleted by the authenticated user within the last 30 days.

Parámetros de entrada

  • package_namestringObligatorio

    Name of the package.

  • package_typestringObligatorioenum

    Specifies the package type. Use `maven` for GitHub's Gradle registry. Use `container` for images in GitHub's Container registry (ghcr.io). `docker` can be used for images previously in GitHub's Docker registry (docker.pkg.github.com), even if migrated.

    npmmavenrubygemsdockernugetcontainer
  • package_version_idintegerObligatorio

    Unique ID of the package version to restore.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Restore package version for an organizationGITHUB_RESTORE_PACKAGE_VERSION_FOR_AN_ORGANIZATIONAcción

Restores a package version for an organization, provided it was deleted within the last 30 days.

Parámetros de entrada

  • orgstringObligatorio

    Organization name (case-insensitive).

  • package_namestringObligatorio

    Unique name of the package.

  • package_typestringObligatorioenum

    The type of package. Supported types include "npm", "maven", "rubygems", "docker", "nuget", and "container". Packages in GitHub's Gradle registry use the `maven` type. Docker images in GitHub's Container registry (`ghcr.io`) use the `container` type. The `docker` type can be used for images previously in GitHub's Docker registry (`docker.pkg.github.com`), even if migrated to the Container registry.

    npmmavenrubygemsdockernugetcontainer
  • package_version_idintegerObligatorio

    Unique identifier of the package version.

Parámetros de salida

  • dataobject

    An empty dictionary indicating successful restoration of the package version. The GitHub API returns a 204 No Content status for this operation, so this field will generally be an empty dictionary if the request is successful.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Restore package version for a userGITHUB_RESTORE_PACKAGE_VERSION_FOR_A_USERAcción

Restores 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.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username of the package owner.

  • package_namestringObligatorio

    The name of the package.

  • package_typestringObligatorioenum

    Specifies the package type. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. Use `docker` for images from GitHub's Docker registry (`docker.pkg.github.com`), even if migrated to the Container registry.

    npmmavenrubygemsdockernugetcontainer
  • package_version_idintegerObligatorio

    The unique identifier of the package version to be restored.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve repo public key for encryptionGITHUB_RETRIEVE_REPO_PUBLIC_KEY_FOR_ENCRYPTIONAcción

Gets a repository's public key, used to encrypt secrets for dependabot.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the public key details. Typically includes 'key_id' (the unique identifier for the public key) and 'key' (the public key itself, Base64 encoded, which you can use to encrypt secrets).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Review access with personal tokenGITHUB_REVIEW_ACCESS_WITH_PERSONAL_TOKENAcción

Approves or denies a pending fine-grained personal access token request for organization resources; must be performed by a github app.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This field is not case-sensitive.

  • actionstringObligatorioenum

    The action to take on the personal access token request. Must be 'approve' to approve the request or 'deny' to deny it.

    approvedeny
  • reasonstring

    An optional comment explaining the reason for approving or denying the request. Maximum length is 1024 characters.

  • pat_request_idintegerObligatorio

    The unique identifier of the pending fine-grained personal access token request that needs to be reviewed.

Parámetros de salida

  • dataobject

    The API response data. Typically empty for a successful review (which returns a 204 No Content status). In case of errors, this dictionary may contain details about the error.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Review Custom Deployment Rules For Workflow RunGITHUB_REVIEW_DEPLOYMENT_PROTECTION_RULESAcción

Approves or rejects pending custom deployment protection rules for a workflow run by posting a review with `environment name` (str), `state` (str: 'approved'/'rejected'), and optional `comment` (str) in the request body, targeting a run with rules awaiting review.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Repository owner's username or organization name (case-insensitive).

  • run_idintegerObligatorio

    Unique identifier of the workflow run.

Parámetros de salida

  • dataobjectObligatorio

    API response data; structure may vary based on the review outcome.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Review pending deployments for a workflow runGITHUB_REVIEW_PENDING_DEPLOYMENTS_FOR_A_WORKFLOW_RUNAcción

Approves or rejects pending deployments for a specific workflow run that are in a 'waiting' state within specified, configured environments.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • statestringObligatorioenum

    State to apply to the pending deployments.

    approvedrejected
  • run_idintegerObligatorio

    The unique identifier of the workflow run.

  • commentstringObligatorio

    Comment to include with the review decision.

  • environment_idsinteger[]Obligatorio

    Environments targeted by the review; they must be configured for the repository and be part of the pending deployments for this run.

Parámetros de salida

  • dataobjectObligatorio

    API response containing the list of deployment objects that were approved or rejected. Refer to GitHub API documentation for deployment object structure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Review resource requests with fine grained tokensGITHUB_REVIEW_RESOURCE_REQUESTS_WITH_FINE_GRAINED_TOKENSAcción

Approves or denies fine-grained personal access token requests for an organization; any specified `pat request ids` must refer to currently pending requests.

Parámetros de entrada

  • orgstringObligatorio

    GitHub organization name (not case-sensitive).

  • actionstringObligatorioenum

    Action to perform on the token requests.

    approvedeny
  • reasonstring

    Reason for the action (max 1024 characters).

  • pat_request_idsinteger[]

    Unique identifiers (1 to 100) for the fine-grained personal access token requests.

Parámetros de salida

  • dataobjectObligatorio

    API response from the review operation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revoke an installation access tokenGITHUB_REVOKE_AN_INSTALLATION_ACCESS_TOKENAcción

Revokes the github app's current installation access token, immediately invalidating it for api authentication.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search codeGITHUB_SEARCH_CODEAcción

Searches 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.

Parámetros de entrada

  • qstringObligatorio

    Code search query, including keywords and qualifiers (e.g., `language:python`, `user:octocat`, `repo:owner/repo`). For full syntax and qualifiers, see GitHub docs: [Constructing a search query](https://docs.github.com/rest/search/search#constructing-a-search-query) and [code search qualifiers](https://docs.github.com/search-github/searching-on-github/searching-code).

  • pageinteger

    Page number for results. For pagination details, see GitHub docs: [Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).

  • sortstringenum

    DEPRECATED. Valid: 'indexed' (sorts by last indexed time). If unspecified, results sorted by best match. Docs: [ranking search results](https://docs.github.com/rest/search/search#ranking-search-results).

    indexed
  • orderstringenum

    DEPRECATED. Order ('asc' or 'desc') for results; effective only if `sort` is specified. Docs: [ranking search results](https://docs.github.com/rest/search/search#ranking-search-results).

    descasc
  • per_pageinteger

    Results per page (max 100). For pagination details, see GitHub docs: [Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).

Parámetros de salida

  • dataobjectObligatorio

    Search results. Includes 'total_count', 'incomplete_results' (boolean), and 'items' (list of code objects with 'name', 'path', 'sha', 'repository' etc.).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search commitsGITHUB_SEARCH_COMMITSAcción

Finds commits on github using a query string (q) supporting keywords and qualifiers, with options for sorting and pagination.

Parámetros de entrada

  • qstringObligatorio

    Keywords and qualifiers for filtering commits. Refer to GitHub's commit search documentation for advanced query syntax details.

  • pageinteger

    Page number of results to retrieve.

  • sortstringenum

    Sorts results by 'author-date' or 'committer-date'. If unspecified, GitHub defaults to 'best match' ranking.

    author-datecommitter-date
  • orderstringenum

    Sort order. Effective only when 'sort' is specified.

    descasc
  • per_pageinteger

    Number of results per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio

    Search results, typically including a list of commits and metadata like total_count.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search issues and pull requestsGITHUB_SEARCH_ISSUES_AND_PULL_REQUESTSAcción

Searches github for issues and pull requests. use qualifiers to scope searches: `repo:owner/name` for specific repos, `org:orgname` for organizations, `user:username` for personal repos, `assignee:@me` for your assignments. combine with `is:issue`, `is:pr`, `state:open`, `label:"name"` filters.

Parámetros de entrada

  • qstringObligatorio

    Search query using GitHub's specific syntax (keywords, qualifiers, operators). Refer to GitHub's search documentation for query construction and available qualifiers.

  • pageinteger

    Page number for results (starts at 1). Refer to GitHub's REST API documentation on pagination for details.

  • sortstringenum

    Field for sorting results. GitHub defaults to 'best match' if unspecified.

    commentsreactionsreactions-+1reactions--1reactions-smilereactions-thinking_facereactions-heartreactions-tadainteractionscreatedupdated
  • orderstringenum

    Order for sorted results (ascending/descending). Effective only if `sort` is also provided.

    descasc
  • per_pageinteger

    Number of results per page (maximum 100). Refer to GitHub's REST API documentation on pagination for details.

  • raw_responseboolean

    Return full API response if true, optimized response for AI agents if false.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with search results, including 'total_count', 'incomplete_results' (boolean indicating timeout), and 'items' (list of issue/pull request objects with their details).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search labelsGITHUB_SEARCH_LABELSAcción

Searches for labels within a github repository by keywords in their names or descriptions.

Parámetros de entrada

  • qstringObligatorio

    The search keywords or query to find labels. This endpoint does not accept qualifiers in the query. For more details on query construction, refer to GitHub's documentation on [Constructing a search query](https://docs.github.com/rest/search/search#constructing-a-search-query).

  • pageinteger

    The page number of the results to retrieve, starting from 1. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • sortstringenum

    Specifies the field to sort the search results by. Valid options are 'created' or 'updated'. If not provided, results are sorted by best match according to GitHub's default ranking: [best match](https://docs.github.com/rest/search/search#ranking-search-results).

    createdupdated
  • orderstringenum

    Determines the sorting order of results, either 'asc' (ascending) or 'desc' (descending). This parameter is only effective when `sort` is also specified. Defaults to 'desc'.

    descasc
  • per_pageinteger

    The number of search results to return per page. The maximum value is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • repository_idintegerObligatorio

    The unique identifier of the repository where labels will be searched.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the search results. This typically includes keys such as `total_count` (the total number of labels found), `incomplete_results` (a boolean indicating if the search timed out), and `items` (a list of label objects matching the query). Each label object in the `items` list contains details like `id`, `node_id`, `url`, `name`, `description`, `color` (hexadecimal code without '#'), and `default` (boolean indicating if it's a default label).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search repositoriesGITHUB_SEARCH_REPO_SAcción

Deprecated: use `search repositories`; this version finds repositories by criteria, including text match metadata and pagination. example: `q="tetris language:assembly", sort="stars"`

Parámetros de entrada

  • qstringObligatorio

    The search query string. Can contain keywords and qualifiers (e.g., `language:python`, `user:octocat`, `stars:>1000`). Qualifiers help narrow down the search to specific areas of GitHub. Refer to GitHub's official documentation for detailed syntax on constructing search queries and the full list of available qualifiers.

  • pageinteger

    The page number for pagination of search results. Defaults to 1. Used in conjunction with `per_page` to fetch subsequent sets of results. See GitHub API documentation for more on pagination.

  • sortstringenum

    Specifies the field to sort the search results by. Options include `stars`, `forks`, `help-wanted-issues`, or `updated` (recency of update). If not provided, results are sorted by GitHub's default 'best match' ranking.

    starsforkshelp-wanted-issuesupdated
  • orderstringenum

    Determines the order of search results: `desc` for descending or `asc` for ascending. This parameter is only effective when `sort` is also specified. Defaults to `desc`.

    descasc
  • per_pageinteger

    The number of repository results to return per page. The maximum value is 100. Defaults to 30. See GitHub API documentation for more on pagination.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search repositoriesGITHUB_SEARCH_REPOSITORIESAcción

Searches github repositories using a flexible query (keywords, qualifiers) with sorting, ordering, and pagination.

Parámetros de entrada

  • qstringObligatorio

    The search query string. Can contain keywords and qualifiers (e.g., `language:python`, `user:octocat`, `stars:>1000`). Qualifiers help narrow down the search to specific areas of GitHub. Refer to GitHub's official documentation for detailed syntax on constructing search queries and the full list of available qualifiers.

  • pageinteger

    The page number for pagination of search results. Defaults to 1. Used in conjunction with `per_page` to fetch subsequent sets of results. See GitHub API documentation for more on pagination.

  • sortstringenum

    Specifies the field to sort the search results by. Options include `stars`, `forks`, `help-wanted-issues`, or `updated` (recency of update). If not provided, results are sorted by GitHub's default 'best match' ranking.

    starsforkshelp-wanted-issuesupdated
  • orderstringenum

    Determines the order of search results: `desc` for descending or `asc` for ascending. This parameter is only effective when `sort` is also specified. Defaults to `desc`.

    descasc
  • per_pageinteger

    The number of repository results to return per page. The maximum value is 100. Defaults to 30. See GitHub API documentation for more on pagination.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search topicsGITHUB_SEARCH_TOPICSAcción

Finds topics on github using keywords and qualifiers with github's search syntax, supporting pagination.

Parámetros de entrada

  • qstringObligatorio

    Search query string. Supports keywords, qualifiers, and GitHub's search syntax; see [Constructing a search query](https://docs.github.com/rest/search/search#constructing-a-search-query).

  • pageinteger

    Page number of the results to retrieve for pagination.

  • per_pageinteger

    Number of topic results per page (maximum 100).

Parámetros de salida

  • dataobjectObligatorio

    Raw API response from GitHub, including a list of topics matching the search query and pagination information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search usersGITHUB_SEARCH_USERSAcción

Searches for users on github by criteria like username, email, location, followers, or repository associations, using a flexible query string `q`.

Parámetros de entrada

  • qstringObligatorio

    Search query string supporting keywords and qualifiers for user attributes (e.g., `username`, `location`, `followers`). See examples for syntax.

  • pageinteger

    Page number for results (1-indexed).

  • sortstringenum

    Field to sort results by. If not specified, GitHub's 'best match' algorithm is used.

    followersrepositoriesjoined
  • orderstringenum

    Sort order for results when `sort` is specified; ignored otherwise.

    descasc
  • per_pageinteger

    Number of search results per page. Maximum 100.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary containing search results, typically including a list of user objects, total count, and an incomplete results flag.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List global security advisoriesGITHUB_SECURITY_ADVISORIES_LIST_GLOBAL_ADVISORIESAcción

tags = ["openworldhint", "readonlyhint", "mcpignore"] the text describes how to find global security advisories with specific parameters. by default, it excludes malware advisories, which can be included by setting the `type` parameter to `malware`. more on advisory types at github docs.<<DEPRECATED use list_global_security_advisories>>

Parámetros de entrada

  • cwesstring[]

    Filter by Common Weakness Enumeration (CWE) identifiers. Accepts comma-separated string or multiple parameters. Example: `cwes=79,284`.

  • sortstringenum

    Property to sort results by (updated, published).

    updatedpublished
  • typestringenum

    Filter by advisory type (e.g., reviewed, malware). Defaults to 'reviewed'; if this default is active and no other search parameters are used, malware advisories are also excluded.

    reviewedmalwareunreviewed
  • afterstring

    Pagination cursor to retrieve results after this value.

  • beforestring

    Pagination cursor to retrieve results before this value.

  • cve_idstring

    Filter by Common Vulnerabilities and Exposures (CVE) identifier.

  • affectsstring[]

    Filter by affected 'package' or 'package@version'. Max 100 items. Example: `affects=pkg1,pkg2@1.0.0`.

  • ghsa_idstring

    Filter by GitHub Security Advisory (GHSA) identifier.

  • updatedstring

    Filter by update date or date range. For syntax, see GitHub's 'understanding the search syntax' documentation.

  • modifiedstring

    Filter by last modification (update or publication) date or date range. For syntax, see GitHub's 'understanding the search syntax' documentation.

  • per_pageinteger

    Number of results per page (max 100).

  • severitystringenum

    Filter by advisory severity (e.g., high, critical).

    unknownlowmediumhighcritical
  • directionstringenum

    Sort direction for results (asc, desc).

    ascdesc
  • ecosystemstringenum

    Filter by package ecosystem (e.g., npm, pip).

    rubygemsnpmpipmavennugetcomposergorusterlangactionspubother+1
  • publishedstring

    Filter by publication date or date range. For syntax, see GitHub's 'understanding the search syntax' documentation.

  • is_withdrawnboolean

    Filter for withdrawn advisories.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set admin branch protectionGITHUB_SET_ADMIN_BRANCH_PROTECTIONAcción

Enables administrator enforcement on a branch, making existing protection rules also apply to administrators; branch protection rules must already be configured.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension. Not case sensitive.

  • ownerstringObligatorio

    Account owner of the repository (user or organization name). Not case sensitive.

  • branchstringObligatorio

    Branch name. Wildcards not permitted (use GitHub GraphQL API for wildcard patterns).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set app access restrictionsGITHUB_SET_APP_ACCESS_RESTRICTIONSAcción

Replaces the list of github apps permitted to push to a protected branch; the branch must already be protected and apps must be installed with 'contents' permission.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This is not case-sensitive.

  • branchstringObligatorio

    The name of the branch to apply restrictions to. Wildcard characters are not permitted. To use wildcard characters in branch names, refer to the GitHub GraphQL API (see https://docs.github.com/graphql).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set a repository subscriptionGITHUB_SET_A_REPOSITORY_SUBSCRIPTIONAcción

Sets the authenticated user's notification subscription for a repository.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case-sensitive.

  • ignoredboolean

    Determines if all notifications should be blocked from this repository. If `true`, this repository will be ignored, and the `subscribed` parameter will be disregarded (effectively setting subscribed to `false`).

  • subscribedboolean

    Determines if notifications should be received from this repository. Set to `true` to watch the repository, `false` to unwatch. This parameter is overridden if `ignored` is set to `true`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the repository subscription, such as `subscribed`, `ignored`, `reason`, `created_at`, `url`, and `repository_url`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set a thread subscriptionGITHUB_SET_A_THREAD_SUBSCRIPTIONAcción

Sets whether a github notification thread is ignored (muted) or unignored (unmuted), for a `thread id` that must identify an existing notification thread.

Parámetros de entrada

  • ignoredboolean

    Whether to ignore (mute) the thread. `True` blocks notifications; `False` allows them if otherwise subscribed.

  • thread_idintegerObligatorio

    Unique identifier of the notification thread (e.g., from `GET /notifications`).

Parámetros de salida

  • dataobjectObligatorio

    Updated subscription details, typically including 'subscribed' and 'ignored' status, and other relevant GitHub API metadata.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set default workflow permissions for an organizationGITHUB_SET_DEFAULT_WORKFLOW_PERMISSIONS_FOR_AN_ORGANIZATIONAcción

Updates 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.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • default_workflow_permissionsstringenum

    Default GITHUB_TOKEN permissions for workflows in the organization. If omitted, the current setting is preserved.

    readwrite
  • can_approve_pull_request_reviewsboolean

    Whether GitHub Actions can approve pull requests; enabling this (`true`) can be a security risk. If omitted, the current setting is preserved.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set default workflow permissions for a repositoryGITHUB_SET_DEFAULT_WORKFLOW_PERMISSIONS_FOR_A_REPOSITORYAcción

Sets the default permissions for the github token within a repository and configures whether github actions can approve pull requests.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • default_workflow_permissionsstringenum

    The default permissions granted to the GITHUB_TOKEN when running workflows in the repository. 'read' allows read-only access, while 'write' allows write access.

    readwrite
  • can_approve_pull_request_reviewsboolean

    Specifies whether GitHub Actions workflows, using the GITHUB_TOKEN, can approve pull requests. Enabling this can pose a security risk by allowing automated processes to approve code changes.

Parámetros de salida

  • dataobject

    Contains response data. For this operation, successful execution typically means an empty body (HTTP 204 No Content); otherwise, may contain error details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set GitHub Actions permissions for an organizationGITHUB_SET_GITHUB_ACTIONS_PERMISSIONS_FOR_AN_ORGANIZATIONAcción

Sets 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.

Parámetros de entrada

  • orgstringObligatorio

    The organization name (not case-sensitive).

  • allowed_actionsstringenum

    Policy for which actions and reusable workflows are allowed. If 'selected', manage the list of specific actions/workflows via other GitHub API endpoints.

    alllocal_onlyselected
  • enabled_repositoriesstringObligatorioenum

    Policy for which repositories can run GitHub Actions. If 'selected', manage the list of specific repositories via other GitHub API endpoints.

    allnoneselected

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set github actions permissions for a repositoryGITHUB_SET_GITHUB_ACTIONS_PERMISSIONS_FOR_A_REPOSITORYAcción

Sets github actions permissions for a repository, enabling/disabling actions and defining the policy for allowed actions and reusable workflows.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • enabledbooleanObligatorio

    Specifies whether GitHub Actions is enabled for the repository. Set to `True` to enable, `False` to disable.

  • allowed_actionsstringenum

    Permissions policy: `all` (all actions/workflows allowed), `local_only` (only from this repository), or `selected` (configured in settings). Optional; inherits from organization/enterprise or GitHub defaults if omitted.

    alllocal_onlyselected

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set interaction restrictions for an organizationGITHUB_SET_INTERACTION_RESTRICTIONS_FOR_AN_ORGANIZATIONAcción

Limits interactions (comments, new issues, prs) in an organization's public repositories by user type and duration, typically to mitigate high traffic or unwanted activity.

Parámetros de entrada

  • orgstringObligatorio

    Name of the organization (case-insensitive).

  • limitstringObligatorioenum

    Type of GitHub user to be restricted from commenting, opening issues, or creating pull requests in the organization's public repositories.

    existing_userscontributors_onlycollaborators_only
  • expirystringenum

    Duration of the restriction; if omitted, the API defaults to `one_day`. A new limit overwrites any existing one.

    one_daythree_daysone_weekone_monthsix_months

Parámetros de salida

  • dataobjectObligatorio

    Details of the applied interaction restriction, including `limit` type, `origin` (e.g., 'organization'), and `expires_at` timestamp.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set interaction restrictions for a repositoryGITHUB_SET_INTERACTION_RESTRICTIONS_FOR_A_REPOSITORYAcción

Temporarily 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository (without .git extension, case-insensitive).

  • limitstringObligatorioenum

    Specifies which group of GitHub users (e.g., existing_users, contributors_only) can interact with the repository.

    existing_userscontributors_onlycollaborators_only
  • ownerstringObligatorio

    The account owner of the repository (username or organization name, case-insensitive).

  • expirystringenum

    Duration for the interaction restriction (e.g., one_day, six_months); API defaults to 'one_day' if not provided.

    one_daythree_daysone_weekone_monthsix_months

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set interaction restrictions for your public repositoriesGITHUB_SET_INTERACTION_RESTRICTIONS_FOR_YOUR_PUBLIC_REPOSITORIESAcción

Sets or updates temporary interaction restrictions for all public repositories owned by the authenticated user, overriding any repository-specific limits.

Parámetros de entrada

  • limitstringObligatorioenum

    Specifies the type of GitHub user that can comment, open issues, or create pull requests in your public repositories while the interaction limit is in effect.

    existing_userscontributors_onlycollaborators_only
  • expirystringenum

    Specifies the duration of the interaction restriction; API defaults to `one_day` if not provided.

    one_daythree_daysone_weekone_monthsix_months

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the newly set interaction restriction, such as the 'limit' type, 'origin' of the restriction (e.g., 'user'), and its 'expires_at' timestamp.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set labels for an issueGITHUB_SET_LABELS_FOR_AN_ISSUEAcción

Replaces all existing labels on a github issue with a new set of labels.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • labelsstring[]Obligatorio

    A list of label names to apply to the issue. This replaces all existing labels on the issue. Providing an empty list will remove all labels from the issue.

  • issue_numberintegerObligatorio

    The number that identifies the issue within the repository.

Parámetros de salida

  • dataobjectObligatorio

    The raw response from the GitHub API. Typically, this is a list of label objects representing the labels applied to the issue.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set allowed actions and workflows for an organizationGITHUB_SET_ORG_ALLOWED_ACTIONSAcción

Sets the github actions permissions for an existing organization, specifying allowed github-owned actions, verified creator actions, and action/workflow patterns from public repositories.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

  • patterns_allowedstring[]

    String-matching patterns for allowed actions/workflows from public repositories (e.g., `monalisa/octocat@*`, `monalisa/*`); supports wildcards, tags, SHAs.

  • verified_allowedboolean

    Whether actions from GitHub Marketplace verified creators are allowed.

  • github_owned_allowedboolean

    Whether GitHub-owned actions (e.g., from the `actions` organization) are allowed.

Parámetros de salida

  • dataobjectObligatorio

    The API response data. For this action, a successful update typically results in a 204 No Content HTTP status, meaning this dictionary may be empty or not applicable in such cases.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set custom labels for a self-hosted runner for an organizationGITHUB_SET_ORG_RUNNER_LABELSAcción

Sets 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').

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This name is not case-sensitive.

  • labelsstring[]Obligatorio

    A list of custom label names to set for the runner. This replaces all existing custom labels. Provide an empty list to remove all custom labels from the runner.

  • runner_idintegerObligatorio

    Unique identifier of the self-hosted runner.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the updated labels for the self-hosted runner. This typically includes 'total_count' (the total number of labels applied to the runner) and 'labels' (a list of label objects, each detailing a label's 'id', 'name', and 'type').

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set primary email visibilityGITHUB_SET_PRIMARY_EMAIL_VISIBILITY_FOR_THE_AUTHENTICATED_USERAcción

Sets the visibility ('public' or 'private') of the authenticated user's primary email address on github, if one is configured.

Parámetros de entrada

  • visibilitystringObligatorioenum

    Desired visibility for the authenticated user's primary email. Use 'public' to make the email visible on the user's profile, or 'private' to hide it.

    publicprivate

Parámetros de salida

  • dataobjectObligatorio

    A list of all email addresses associated with the authenticated user. Each entry details the email address, its primary status (true/false), verification status (true/false), and current visibility ('public' or 'private').

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set repo allowed actionsGITHUB_SET_REPO_ALLOWED_ACTIONSAcción

Sets 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).

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case-sensitive.

  • patterns_allowedstring[]

    String-matching patterns (wildcards, tags, SHAs allowed) for specific actions/workflows; **Note**: Only applies to public repositories.

  • verified_allowedboolean

    Determines if actions from GitHub Marketplace verified creators are allowed.

  • github_owned_allowedboolean

    Determines if GitHub-owned actions (e.g., from the `actions` organization) are allowed.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set selected repositories for an organization secretGITHUB_SET_SELECTED_REPOSITORIES_FOR_AN_ORGANIZATION_SECRETAcción

Replaces the list of repositories that can access an organization secret; only effective if the secret's visibility is 'selected'.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • secret_namestringObligatorio

    The name of the organization secret whose repository access list is being updated.

  • selected_repository_idsinteger[]Obligatorio

    An array of unique integer IDs for repositories that will be granted access to the organization secret. Use dedicated actions to add or remove individual repositories without replacing the entire list.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that would contain response data. However, for this specific operation (setting selected repositories), a successful request typically returns an HTTP 204 No Content status with an empty body. Therefore, this dictionary is expected to be empty on success.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set selected repositories for an organization variableGITHUB_SET_SELECTED_REPOSITORIES_FOR_AN_ORGANIZATION_VARIABLEAcción

Replaces the list of repositories that can access an organization-level variable; the variable's visibility must be 'selected'.

Parámetros de entrada

  • orgstringObligatorio

    The slug or name of the GitHub organization. This value is not case-sensitive.

  • namestringObligatorio

    The name of the organization variable for which to set repository access.

  • selected_repository_idsinteger[]Obligatorio

    A list of unique integer identifiers for the repositories that can access the organization variable. This list will replace any current selection of repositories. An empty list will remove access for all repositories.

Parámetros de salida

  • dataobject

    An empty dictionary. This endpoint typically returns a 204 No Content response upon successful execution, indicating no response body.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set selected repositories for a user secretGITHUB_SET_SELECTED_REPOSITORIES_FOR_A_USER_SECRETAcción

Defines the list of repositories permitted to access a specific codespaces secret for the authenticated user.

Parámetros de entrada

  • secret_namestringObligatorio

    The name of the Codespaces secret for which to set repository access. This secret must already exist for the authenticated user.

  • selected_repository_idsinteger[]Obligatorio

    A list of repository IDs to which the secret will be granted access. This list completely replaces any existing set of repositories for the secret. Each repository ID must correspond to a repository accessible by the authenticated user.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set status check contextsGITHUB_SET_STATUS_CHECK_CONTEXTSAcción

Replaces required status check contexts for a protected branch, requiring admin permissions; an empty `contexts` array removes all checks.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension; not case sensitive.

  • ownerstringObligatorio

    The account owner (username or organization) of the repository; not case sensitive.

  • branchstringObligatorio

    The name of the branch for which to set status check contexts; cannot contain wildcard characters.

  • contextsstring[]Obligatorio

    Names of the status checks to require; an empty array removes all required status checks.

Parámetros de salida

  • datastring[]Obligatorio

    Names of status check contexts successfully set or updated for the branch.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set team access restrictionsGITHUB_SET_TEAM_ACCESS_RESTRICTIONSAcción

Sets team push access for a protected branch by replacing all current teams with a new list of valid team slugs (provided in the request body); an empty list of slugs removes all team restrictions.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • branchstringObligatorio

    The name of the branch to apply restrictions to. Wildcard characters are not supported for this field. For wildcard branch protection, please use the GraphQL API.

Parámetros de salida

  • dataobjectObligatorio

    A list of team objects granted push access to the protected branch, each including details like team ID, slug, name, and permissions.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set user access restrictionsGITHUB_SET_USER_ACCESS_RESTRICTIONSAcción

Replaces the list of users with push access to a protected branch using a request body (not in this schema) containing an array of github usernames; this enables branch protection if not already active.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (case-insensitive).

  • branchstringObligatorio

    Branch name for applying restrictions; wildcards are not permitted via this endpoint (use GraphQL API for wildcard support).

Parámetros de salida

  • dataobjectObligatorio

    API response, typically including a list of user objects with push access to the protected branch after the update.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set workflow access level outside repositoryGITHUB_SET_WORKFLOW_EXTERNAL_ACCESSAcción

Sets the access level for workflows outside a repository to use actions and reusable workflows within that repository.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without `.git` extension. Not case-sensitive.

  • ownerstringObligatorio

    Owner's username or organization name. Not case-sensitive.

  • access_levelstringObligatorioenum

    Specifies the level of access workflows outside this repository have to its actions and reusable workflows. - `none`: Actions and reusable workflows are accessible only from workflows within this repository. - `user`: Actions and reusable workflows can be shared with other private repositories owned by the same user. - `organization`: Actions and reusable workflows can be shared with other repositories within the same organization.

    noneuserorganization

Parámetros de salida

  • dataobjectObligatorio

    API response data. Often empty for successful PUT updates (indicated by a 204 HTTP status).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Star a gistGITHUB_STAR_A_GISTAcción

Stars 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.

Parámetros de entrada

  • gist_idstringObligatorio

    The unique identifier of the gist. This ID is the string of characters found at the end of a gist's URL.

Parámetros de salida

  • dataobjectObligatorio

    API response; typically empty as the GitHub API returns a 204 No Content status on successful starring.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Star a repository for the authenticated userGITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USERAcción

Stars an existing and accessible repository for the authenticated user; this action is idempotent and succeeds even if the repository is already starred.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response data. Upon a successful star operation (HTTP 204 No Content), this field will typically be an empty dictionary or not populated.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start a codespace for the authenticated userGITHUB_START_A_CODESPACE_FOR_THE_AUTHENTICATED_USERAcción

Initiates the startup process for an existing github codespace (identified by `codespace name`) if it's in a startable state like 'available' or 'stopped'.

Parámetros de entrada

  • codespace_namestringObligatorio

    The unique name of the codespace to be started. This is the identifier for the codespace, often system-generated or user-defined.

Parámetros de salida

  • dataobjectObligatorio

    Detailed representation of the codespace after the start operation, typically including its name, current state (e.g., 'Starting'), owner, associated Git repository, and machine configuration.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Stop a codespace for an organization userGITHUB_STOP_A_CODESPACE_FOR_AN_ORGANIZATION_USERAcción

Stops a codespace, which must be currently running, for a specified member of an organization.

Parámetros de entrada

  • orgstringObligatorio

    The unique identifier for the GitHub organization. This name is not case sensitive.

  • usernamestringObligatorio

    The GitHub username of the organization member whose Codespace is to be stopped.

  • codespace_namestringObligatorio

    The unique name of the Codespace to be stopped (e.g., 'monalisa-project-x-g4v969xp96x2rxx6').

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Stop a codespace for the authenticated userGITHUB_STOP_A_CODESPACE_FOR_THE_AUTHENTICATED_USERAcción

Stops a running or available codespace for the authenticated user, pausing its execution and billing.

Parámetros de entrada

  • codespace_namestringObligatorio

    The unique name of the Codespace to be stopped. This name is assigned by GitHub when the Codespace is created.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Submit a review for a pull requestGITHUB_SUBMIT_A_REVIEW_FOR_A_PULL_REQUESTAcción

Finalizes a pending pull request review (identified by `review id`) with a required `event` (approve, request changes, comment) and an optional `body`.

Parámetros de entrada

  • bodystring

    The main textual content of the review. Highly recommended for `COMMENT` events to provide context; can also supplement `APPROVE` or `REQUEST_CHANGES` actions.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. Case-insensitive.

  • eventstringObligatorioenum

    The review action: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. An invalid/omitted event will result in an HTTP 422 error and set the review state to `PENDING`, requiring a subsequent valid submission.

    APPROVEREQUEST_CHANGESCOMMENT
  • ownerstringObligatorio

    The username of the account that owns the repository. Case-insensitive.

  • review_idintegerObligatorio

    Identifier of the pending review to be submitted. Typically obtained when a review is first created or initiated.

  • pull_numberintegerObligatorio

    The number that uniquely identifies the pull request.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Sync a fork branch with the upstream repositoryGITHUB_SYNC_A_FORK_BRANCH_WITH_THE_UPSTREAM_REPOSITORYAcción

Synchronizes 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the forked repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name of the account that owns the forked repository. This field is not case-sensitive.

  • branchstringObligatorio

    The name of the branch in the forked repository that should be updated to match the corresponding branch in the upstream repository.

Parámetros de salida

  • dataobjectObligatorio

    Details of the synchronization, typically including a success message, merge type, and base branch, or an error if issues occur.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Test the push repository webhookGITHUB_TEST_THE_PUSH_REPOSITORY_WEBHOOKAcción

Triggers 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.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Account owner of the repository (not case-sensitive).

  • hook_idintegerObligatorio

    Unique identifier of the hook, found in the `X-GitHub-Hook-ID` header of a webhook delivery or by listing repository webhooks.

Parámetros de salida

  • dataobjectObligatorio

    API response data; typically empty for this operation as a successful test results in a 204 No Content.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Transfer a repositoryGITHUB_TRANSFER_A_REPOSITORYAcción

Initiates 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.

Parámetros de entrada

  • repostringObligatorio

    Name of the repository to transfer, without `.git` (case-insensitive).

  • ownerstringObligatorio

    Current owner's username or organization name (case-insensitive).

  • new_namestring

    Optional new name for the repository post-transfer; retains current name if unspecified.

  • team_idsinteger[]

    List of team IDs to add the repository to if `new_owner` is an organization; teams must belong to the `new_owner`.

  • new_ownerstringObligatorio

    Target username or organization name for the repository transfer.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Unblock a userGITHUB_UNBLOCK_A_USERAcción

Unblocks a github user, provided they are currently blocked by the authenticated user.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username (handle) of the user to unblock.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary which is typically empty upon successful unblocking, as the GitHub API returns a '204 No Content' status in such cases. It may contain data in other scenarios or if an error response with a body is returned.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Unblock a user from an organizationGITHUB_UNBLOCK_A_USER_FROM_AN_ORGANIZATIONAcción

Unblocks a user from an organization, allowing renewed interaction with its resources, provided the user is currently blocked (otherwise, a 404 error may occur).

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This is case-insensitive.

  • usernamestringObligatorio

    The GitHub username of the user to unblock.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Unfollow a userGITHUB_UNFOLLOW_A_USERAcción

Unfollows an existing github user; this action is idempotent, succeeding even if the authenticated user is not currently following them.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username (handle) of the user whom the authenticated user wishes to unfollow.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that is typically empty, as an HTTP 204 No Content status (successful unfollow) means no body content is returned.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Unlock an issueGITHUB_UNLOCK_AN_ISSUEAcción

Unlocks a currently locked github issue in the specified repository, allowing new comments and interactions.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This value is not case-sensitive.

  • ownerstringObligatorio

    The username (account) or organization name that owns the repository. This value is not case-sensitive.

  • issue_numberintegerObligatorio

    The number that uniquely identifies the issue within the repository.

Parámetros de salida

  • dataobjectObligatorio

    Contains the API response. For a successful unlock operation (HTTP 204 No Content), this is typically an empty dictionary.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Unlock an organization repositoryGITHUB_UNLOCK_AN_ORGANIZATION_REPOSITORYAcción

Unlocks an organization repository previously locked by a github migration.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • repo_namestringObligatorio

    The name of the repository to unlock.

  • migration_idintegerObligatorio

    The unique identifier of the migration for which the repository was locked.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Unlock a user repositoryGITHUB_UNLOCK_A_USER_REPOSITORYAcción

Unlocks 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.

Parámetros de entrada

  • repo_namestringObligatorio

    The name of the repository to unlock.

  • migration_idintegerObligatorio

    The unique identifier of the user migration.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Unstar a gistGITHUB_UNSTAR_A_GISTAcción

Removes a star from the specified gist; the action is idempotent and will not error if the gist was not previously starred by the user.

Parámetros de entrada

  • gist_idstringObligatorio

    The unique identifier (ID) of the gist to be unstarred. This ID can be retrieved from API endpoints that list gists or from the gist's URL.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Unstar a repositoryGITHUB_UNSTAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USERAcción

Removes the authenticated user's star from a specified repository, which must already be starred by the user.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the repository owner (case-insensitive).

Parámetros de salida

  • dataobjectObligatorio

    Response body; typically empty on successful unstar (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a check runGITHUB_UPDATE_A_CHECK_RUNAcción

Updates an existing check run for a specific commit in a repository, allowing modifications to its status, conclusion, output, and other details.

Parámetros de entrada

  • namestring

    Name of the check (e.g., "code-coverage").

  • repostringObligatorio

    Repository name without the `.git` extension (not case sensitive).

  • ownerstringObligatorio

    Account owner of the repository (not case sensitive).

  • statusstringenum

    Current status of the check run. Only GitHub Actions can set `waiting`, `pending`, or `requested`.

    queuedin_progresscompletedwaitingrequestedpending
  • actionsobject[]

    User-triggerable actions (max 3), each with `label`, `identifier`, and `description`.

  • conclusionstringenum

    Final conclusion of the check. Required if `completed_at` is provided or `status` is `completed`. Providing `conclusion` sets `status` to `completed`. Users cannot set `stale`.

    action_requiredcancelledfailureneutralsuccessskippedstaletimed_out
  • started_atstringdate-time

    Timestamp of when the check run started (ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`).

  • details_urlstring

    URL of the integrator's site with full check details.

  • external_idstring

    Reference for the run on the integrator's system.

  • check_run_idintegerObligatorio

    The unique identifier of the check run.

  • completed_atstringdate-time

    Timestamp of when the check run completed (ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`).

  • output__textstring

    Text for the output, can contain Markdown.

  • output__titlestring

    Title for the output.

  • output__imagesobject[]

    Images for the output, displayed in the GitHub PR UI.

  • output__summarystring

    Summary of the output, can contain Markdown. Required if the `output` object is provided.

  • output__annotationsobject[]

    Adds line-specific analysis information, visible in PRs. Max 50 per request (appended to existing). GitHub Actions: 10 warnings/10 errors per step.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a code scanning alertGITHUB_UPDATE_A_CODE_SCANNING_ALERTAcción

Updates a specific code scanning alert in a github repository, primarily to change its state (e.g., 'open' or 'dismissed').

Parámetros de entrada

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • statestringObligatorioenum

    The new state for the code scanning alert. Must be either 'open' or 'dismissed'. If 'dismissed', `dismissed_reason` is mandatory.

    opendismissed
  • alert_numberintegerObligatorio

    The number that identifies an alert. Found in the alert's URL or the `number` field of the GET alerts API response.

  • dismissed_reasonstringenum

    The reason for dismissing or closing the alert. **Required if `state` is 'dismissed'.**

    Nonefalse positivewon't fixused in tests
  • dismissed_commentstring

    An optional comment to provide further context when dismissing an alert. Maximum 280 characters.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a code scanning default setup configurationGITHUB_UPDATE_A_CODE_SCANNING_DEFAULT_SETUP_CONFIGURATIONAcción

Updates the default setup configuration for code scanning in a repository; github advanced security must be enabled for the repository.

Parámetros de entrada

  • repostringObligatorio

    Repository name (case-insensitive, without `.git` extension).

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

  • statestringenum

    Specifies whether to enable ('configured') or disable ('not-configured') code scanning default setup.

    configurednot-configured
  • languagesstring[]

    CodeQL languages for analysis; if omitted, all supported repository languages are analyzed.

  • query_suitestringenum

    CodeQL query suite to be used ('default' for curated, 'extended' for comprehensive queries).

    defaultextended

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a codespace for the authenticated userGITHUB_UPDATE_A_CODESPACE_FOR_THE_AUTHENTICATED_USERAcción

Updates 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.

Parámetros de entrada

  • machinestring

    Target machine type for the codespace; must be valid and available for the user or organization.

  • display_namestring

    New display name for the codespace.

  • codespace_namestringObligatorio

    The unique name of the codespace to be updated (e.g., 'octocat-codespace-githu-org-name-abcdef12').

  • recent_foldersstring[]

    Up to three recently opened folder paths (e.g., '/workspaces/project/src') to suggest which folder to load upon opening.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the updated codespace resource.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a commit commentGITHUB_UPDATE_A_COMMIT_COMMENTAcción

Changes the body of an existing commit comment.

Parámetros de entrada

  • bodystringObligatorio

    The new content of the comment.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • comment_idintegerObligatorio

    The unique identifier of the comment.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a custom organization roleGITHUB_UPDATE_A_CUSTOM_ORGANIZATION_ROLEAcción

Updates an existing custom role in an organization by modifying its name, description, or permissions; at least one of these fields must be provided.

Parámetros de entrada

  • orgstringObligatorio

    The organization name (not case-sensitive).

  • namestring

    New name for the custom role. Unchanged if omitted.

  • role_idintegerObligatorio

    Unique identifier of the custom organization role.

  • descriptionstring

    New short description for the role. Unchanged if omitted.

  • permissionsstring[]

    New list of GitHub organization permissions for the role, replacing existing ones. An empty list removes all permissions. Unchanged if omitted.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the updated custom organization role.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a deployment branch policyGITHUB_UPDATE_A_DEPLOYMENT_BRANCH_POLICYAcción

Updates the name pattern of an existing deployment branch policy for a specific environment in a repository.

Parámetros de entrada

  • namestringObligatorio

    The new name pattern that branches must match to deploy to this environment. Wildcard characters (`*`) can be used but will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`. For more information about pattern matching syntax, refer to the Ruby File.fnmatch documentation (https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • branch_policy_idintegerObligatorio

    The unique identifier of the deployment branch policy to be updated.

  • environment_namestringObligatorio

    The name of the deployment environment. This name must be URL-encoded if it contains special characters such as slashes (e.g., replace `/` with `%2F`).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full representation of the updated deployment branch policy.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a discussionGITHUB_UPDATE_A_DISCUSSIONAcción

Updates the title and/or body of a specific team discussion within an organization.

Parámetros de entrada

  • orgstringObligatorio

    The organization name (not case-sensitive).

  • bodystring

    The new body for the discussion.

  • titlestring

    The new title for the discussion.

  • team_slugstringObligatorio

    The slug of the team name.

  • discussion_numberintegerObligatorio

    Identifier for the discussion.

Parámetros de salida

  • dataobjectObligatorio

    The updated team discussion object.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a discussion commentGITHUB_UPDATE_A_DISCUSSION_COMMENTAcción

Updates the body of a comment in a team's discussion within an organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This is not case sensitive.

  • bodystringObligatorio

    The new body text for the discussion comment.

  • team_slugstringObligatorio

    The slug of the team name. This is the team name converted to lowercase with spaces replaced by hyphens (e.g., 'justice-league').

  • comment_numberintegerObligatorio

    The unique number identifying the comment within the discussion.

  • discussion_numberintegerObligatorio

    The unique number identifying the discussion.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the updated discussion comment resource.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a gistGITHUB_UPDATE_A_GISTAcción

Updates a gist's description, and/or its files (including content, filename changes, or deletion).

Parámetros de entrada

  • filesobject

    Specifies changes to gist files. Keys are current filenames (e.g., `hello.py`). For each file: update `content`, assign a new `filename` to rename (or both). To delete a file, set its value to `null` or an object without `content` or `filename`. Files not mentioned are preserved.

  • gist_idstringObligatorio

    The unique identifier of the gist to be updated.

  • descriptionstring

    A new description for the gist.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a gist commentGITHUB_UPDATE_A_GIST_COMMENTAcción

Updates an existing comment on a specified gist.

Parámetros de entrada

  • bodystringObligatorio

    The updated comment text.

  • gist_idstringObligatorio

    The unique identifier of the gist. This can be found in the URL of the Gist.

  • comment_idintegerObligatorio

    The unique identifier of the comment.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a labelGITHUB_UPDATE_A_LABELAcción

Updates an existing label's name, color, or description within a specified repository.

Parámetros de entrada

  • namestringObligatorio

    Current name of the label to be updated; value is not case-sensitive.

  • repostringObligatorio

    Name of the repository, without the .git extension; value is not case-sensitive.

  • colorstring

    Hexadecimal color code for the label, without the leading '#' (e.g., 'f29513').

  • ownerstringObligatorio

    Account owner of the repository; value is not case-sensitive.

  • new_namestring

    New name for the label (not case-sensitive). Emoji can be added using native characters or colon-style markup (e.g., ':strawberry:'). Refer to GitHub's emoji cheat sheet for a full list of codes.

  • descriptionstring

    Short description for the label (max 100 characters).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a milestoneGITHUB_UPDATE_A_MILESTONEAcción

Updates a milestone in a repository, identified by `owner`, `repo`, and `milestone number`, by allowing modification of its `title`, `state`, `description`, or `due on`; at least one of these four attributes must be provided to perform an update.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This field is not case-sensitive.

  • statestringenum

    The new state of the milestone. If not provided, the state will remain unchanged. Defaults to 'open'.

    openclosed
  • titlestring

    The new title for the milestone. If not provided, the title will remain unchanged.

  • due_onstringdate-time

    The milestone due date in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. If not provided, the due date will remain unchanged. To remove the due date, pass an empty string or `null`.

  • descriptionstring

    A new description for the milestone. If not provided, the description will remain unchanged.

  • milestone_numberintegerObligatorio

    The unique number that identifies the milestone.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an environment variableGITHUB_UPDATE_AN_ENVIRONMENT_VARIABLEAcción

Updates 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.

Parámetros de entrada

  • namestringObligatorio

    New name for the environment variable; if omitted, the name is not changed.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • valuestring

    New value for the environment variable; if omitted, the value is not changed.

  • environment_namestringObligatorio

    The name of the environment. The name must be URL encoded (e.g., replace slashes `/` with `%2F`).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the updated environment variable.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an existing project cardGITHUB_UPDATE_AN_EXISTING_PROJECT_CARDAcción

Updates an existing project card's note and/or archived status, identified by its `card id`.

Parámetros de entrada

  • notestring

    New note content (supports GitHub Flavored Markdown). Use empty string or `null` to clear. If omitted, note remains unchanged.

  • card_idintegerObligatorio

    The unique identifier of the project card to be updated. This ID must correspond to an existing card.

  • archivedboolean

    Archive status: `true` to archive, `false` to unarchive. If omitted, status remains unchanged.

Parámetros de salida

  • dataobjectObligatorio

    The complete and updated representation of the project card.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an existing project columnGITHUB_UPDATE_AN_EXISTING_PROJECT_COLUMNAcción

Updates the name of an existing column, identified by `column id`, in a github project (classic).

Parámetros de entrada

  • namestringObligatorio

    The new name for the project column.

  • column_idintegerObligatorio

    The unique identifier of the project column to be updated.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the updated project column, such as its ID, name, URL, project URL, cards URL, creation and update timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an issueGITHUB_UPDATE_AN_ISSUEAcción

Updates an existing github issue's title, body, state, milestone, labels, or assignees; `state reason` is only processed if `state` also changes, and use `null` or `[]` to clear applicable fields.

Parámetros de entrada

  • bodystring

    New issue body; send `null` to clear, omit to leave unchanged.

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Owner of the repository (case-insensitive).

  • statestringenum

    New issue state; omit to leave unchanged.

    openclosed
  • titlestring

    New issue title; send `null` to clear, omit to leave unchanged.

  • labelsstring[]

    Replaces all existing labels. Send `[]` to remove all; omit to leave unchanged. Requires push access for changes.

  • assigneestring

    DEPRECATED: Username to assign; use `assignees`. Send `null` to unassign, omit to leave unchanged.

  • assigneesstring[]

    Replaces all existing assignees. Send `[]` to remove all; omit to leave unchanged. Requires push access for changes.

  • milestonestring

    Milestone ID (as string) or title. Send `null` to clear; omit to leave unchanged. Numeric ID recommended.

  • issue_numberintegerObligatorio

    Unique number identifying the issue.

  • state_reasonstringenum

    Reason for state change, considered only if `state` also changes. Valid reasons depend on the new `state`.

    completednot_plannedreopened

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an issue commentGITHUB_UPDATE_AN_ISSUE_COMMENTAcción

Updates an existing comment on an issue or pull request within a specified repository.

Parámetros de entrada

  • bodystringObligatorio

    New content for the issue comment (GitHub Flavored Markdown supported).

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username of the account owning the repository (not case-sensitive).

  • comment_idintegerObligatorio

    Unique ID of the issue comment to update.

Parámetros de salida

  • dataobjectObligatorio

    The updated issue comment object as returned by the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an organizationGITHUB_UPDATE_AN_ORGANIZATIONAcción

Updates an organization's settings; changing security-related fields requires admin, owner, or security manager permissions.

Parámetros de entrada

  • orgstringObligatorio

    The organization's unique, case-insensitive identifier.

  • blogstring

    URL of the organization's blog.

  • namestring

    Display name.

  • emailstring

    Publicly visible email address.

  • companystring

    Company name.

  • locationstring

    Geographical location.

  • descriptionstring

    Short description.

  • billing_emailstring

    Billing email address (not publicly visible).

  • twitter_usernamestring

    Twitter username.

  • has_repository_projectsboolean

    Whether repository-level projects can be used within the organization.

  • members_can_create_pagesboolean

    Whether members can create GitHub Pages sites. Does not affect existing sites.

  • has_organization_projectsboolean

    Whether organization-level projects can be used.

  • web_commit_signoff_requiredboolean

    Whether web interface commits require sign-off.

  • default_repository_permissionstringenum

    Default permission for members on organization repositories.

    readwriteadminnone
  • members_can_create_public_pagesboolean

    Whether members can create public GitHub Pages sites. Does not affect existing sites.

  • members_can_create_repositoriesboolean

    Whether non-admin members can create repositories. Overridden by `members_allowed_repository_creation_type`.

  • members_can_create_private_pagesboolean

    Whether members can create private GitHub Pages sites. Does not affect existing sites.

  • members_can_fork_private_repositoriesboolean

    Whether members can fork private repositories of the organization.

  • members_can_create_public_repositoriesboolean

    Whether members can create public repositories.

  • members_can_create_private_repositoriesboolean

    Whether members can create private repositories.

  • members_allowed_repository_creation_typestringenum

    Types of repositories non-admin members can create. `private` option only on GitHub Enterprise Cloud. Deprecated; overrides `members_can_create_repositories`.

    allprivatenone
  • members_can_create_internal_repositoriesboolean

    Whether members can create internal repositories. Only for organizations in an enterprise account.

  • secret_scanning_push_protection_custom_linkstring

    URL displayed if `secret_scanning_push_protection_custom_link_enabled` is true and a push is blocked.

  • secret_scanning_enabled_for_new_repositoriesboolean

    Automatically enable secret scanning for new repositories.

  • dependency_graph_enabled_for_new_repositoriesboolean

    Automatically enable dependency graph for new repositories.

  • advanced_security_enabled_for_new_repositoriesboolean

    Automatically enable GitHub Advanced Security for new repositories.

  • dependabot_alerts_enabled_for_new_repositoriesboolean

    Automatically enable Dependabot alerts for new repositories.

  • secret_scanning_push_protection_custom_link_enabledboolean

    Show custom link to contributors blocked by secret scanning push protection.

  • dependabot_security_updates_enabled_for_new_repositoriesboolean

    Automatically enable Dependabot security updates for new repositories.

  • secret_scanning_push_protection_enabled_for_new_repositoriesboolean

    Automatically enable secret scanning push protection for new repositories.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an organization variableGITHUB_UPDATE_AN_ORGANIZATION_VARIABLEAcción

Updates 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`.

Parámetros de entrada

  • orgstringObligatorio

    The organization name. The name is not case sensitive.

  • namestringObligatorio

    The new name for the organization variable. If provided, the variable's name will be updated. If omitted, the name remains unchanged.

  • valuestring

    The new value for the organization variable. If omitted, the value remains unchanged.

  • visibilitystringenum

    Specifies the new visibility of the organization variable. It determines which repositories in the organization can access this variable. `selected` visibility requires `selected_repository_ids` to be populated. If omitted, visibility is not changed.

    allprivateselected
  • selected_repository_idsinteger[]

    A list of repository integer IDs that should have access to the organization variable. This field is required and only used when `visibility` is set to `selected`. If omitted, the selection of repositories is not changed (unless `visibility` itself is changed away from `selected`).

Parámetros de salida

  • dataobjectObligatorio

    An empty dictionary is generally returned upon successful update, corresponding to a 204 No Content HTTP status from the API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an organization webhookGITHUB_UPDATE_AN_ORGANIZATION_WEBHOOKAcción

Updates the configuration (url, content type, secret, ssl verification), subscribed events, active status, or name of an existing webhook for a specified organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the organization. This value is not case-sensitive.

  • namestring

    The new name for the webhook. If provided, updates the webhook's name. If omitted, the name remains unchanged.

  • activeboolean

    Set to `true` to send notifications, or `false` to disable them.

  • eventsstring[]

    List of events that trigger this webhook. Use `['*']` to subscribe to all events. See GitHub docs for available event types.

  • hook_idintegerObligatorio

    The unique identifier of the webhook. This ID can be found in the `X-GitHub-Hook-ID` header of a webhook delivery.

  • config__urlstringuri

    Target URL for webhook payloads. Required if updating other `config` properties (e.g., `content_type`, `secret`), as GitHub mandates `url` when `config` is modified.

  • config__secretstring

    Secret key for HMAC digest to ensure payload integrity. Refer to GitHub documentation on delivery headers for details.

  • config__content__typestring

    Media type for serializing payloads (`json` or `form`). The API defaults to `form` if this field is not provided.

  • config__insecure__sslstring

    Controls SSL certificate verification for payload delivery. Set to '1' to skip verification (insecure), or '0' to enforce (API default). Use with caution.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a projectGITHUB_UPDATE_A_PROJECTAcción

Updates an existing github project's attributes if the github projects feature is enabled and at least one modifiable field is provided.

Parámetros de entrada

  • bodystring

    The new body or description for the project. If not provided, the body will not be changed.

  • namestring

    The new name for the project. If not provided, the name will not be changed.

  • statestring

    The new state of the project, either 'open' or 'closed'. If not provided, the state will not be changed.

  • privateboolean

    Sets the visibility of the project. `True` makes it private, `False` public. If not provided, the visibility will not be changed.

  • project_idintegerObligatorio

    The unique identifier of the project to be updated.

  • organization_permissionstringenum

    The baseline permission for organization members on this project. If not provided, the permission will not be changed.

    readwriteadminnone

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the data of the updated project.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a pull requestGITHUB_UPDATE_A_PULL_REQUESTAcción

Updates an existing pull request, allowing changes to attributes like title, body, state, base branch, and maintainer modification settings.

Parámetros de entrada

  • basestring

    The name of the branch to which you want your changes pulled. This must be an existing branch in the current repository. Cannot update the base branch to point to another repository. If None, the base branch remains unchanged.

  • bodystring

    The new contents of the pull request. To remove the body, pass an empty string. If None, the body remains unchanged.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • statestringenum

    The new state of the pull request. Can be 'open' or 'closed'. If None, the state remains unchanged.

    openclosed
  • titlestring

    The new title for the pull request. If None, the title remains unchanged.

  • pull_numberintegerObligatorio

    The unique number that identifies the pull request within the repository.

  • maintainer_can_modifyboolean

    Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. If None, this setting remains unchanged.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the updated pull request with its full details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a pull request branchGITHUB_UPDATE_A_PULL_REQUEST_BRANCHAcción

Updates an open pull request's head branch by merging the latest changes from its base branch, if mergeable and repository merging is enabled; operates asynchronously.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Account owner of the repository (not case-sensitive).

  • pull_numberintegerObligatorio

    Unique number identifying the pull request.

  • expected_head_shastring

    SHA of the expected head commit of the pull request's branch. If this SHA does not match the actual head SHA, the request fails (422 error), ensuring the branch was not updated unexpectedly. If omitted, the API uses the current head SHA of the branch.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response from the server, typically including a 'message' (e.g., 'Accepted for background processing') and a 'url' pointing to the pull request branch or the status of the update.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a referenceGITHUB_UPDATE_A_REFERENCEAcción

Updates a git reference (e.g., a branch or tag) to a specific commit sha, creating the reference if it doesn't exist; use `force` for non-fast-forward updates.

Parámetros de entrada

  • refstringObligatorio

    The fully qualified name of the Git reference to update (e.g., `refs/heads/main`, `refs/tags/v1.0.0`). It must start with `refs/` and contain at least two slashes.

  • shastringObligatorio

    SHA1 value of the commit to set this reference to; the commit must exist in the repository.

  • repostringObligatorio

    Repository name, excluding `.git` extension (case-insensitive).

  • forceboolean

    If `true`, forces the update even if not a fast-forward. If `false`, only fast-forward updates are allowed, preventing data overwrites.

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

Parámetros de salida

  • dataobjectObligatorio

    Details of the updated or created Git reference, including its `ref` name, `node_id`, API `url`, and commit object information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a releaseGITHUB_UPDATE_A_RELEASEAcción

Updates 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.

Parámetros de entrada

  • bodystring

    Text describing the contents of the release. Supports GitHub Flavored Markdown.

  • namestring

    The title of the release.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • draftboolean

    Set to `true` to mark the release as a draft, or `false` to publish it. Default: `false`.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • tag_namestring

    The name of the tag. This can be an existing tag or a new tag name.

  • prereleaseboolean

    Set to `true` to identify the release as a pre-release, or `false` for a full release. Default: `false`.

  • release_idintegerObligatorio

    The unique identifier of the release to be updated.

  • make_lateststringenum

    Specifies whether this release should be set as the latest release for the repository. Accepts 'true', 'false', or 'legacy'. Drafts and pre-releases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.

    truefalselegacy
  • target_commitishstring

    Specifies the commitish value (e.g., branch name or commit SHA) that determines where the Git tag is created from. Can be any branch or commit SHA. This parameter is unused if the Git tag specified by `tag_name` already exists. Defaults to the repository's default branch if omitted.

  • discussion_category_namestring

    If specified, a discussion of this category is created and linked to the release. The category must already exist in the repository. This parameter is ignored if a discussion is already linked to the release. For more information, see "[Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)."

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a release assetGITHUB_UPDATE_A_RELEASE_ASSETAcción

Updates 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.

Parámetros de entrada

  • namestring

    The new file name for the asset. This updates the display name of the asset.

  • repostringObligatorio

    The name of the repository without the `.git` extension. The name is not case sensitive.

  • labelstring

    An alternate short description for the asset. This is used in place of the filename if provided, offering a more descriptive label.

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • statestring

    The new state of the release asset. While the GitHub API documentation primarily shows 'state' in responses (e.g., 'uploaded'), this field allows attempting to update it. The effect and accepted values might be specific.

  • asset_idintegerObligatorio

    The unique identifier of the release asset to be updated.

Parámetros de salida

  • dataobjectObligatorio

    Comprehensive details of the updated release asset, reflecting applied changes.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a repositoryGITHUB_UPDATE_A_REPOSITORYAcción

Updates settings for an existing github repository, such as name, description, visibility, merge strategies, and security configurations.

Parámetros de entrada

  • namestring

    New name for the repository (not case-sensitive).

  • repostringObligatorio

    Name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username or organization name of the repository owner (not case-sensitive).

  • privateboolean

    Whether the repository is private. Note: Changing visibility might be restricted by organization policies, potentially causing a 422 error.

  • archivedboolean

    Archives the repository (making it read-only) or unarchives it.

  • has_wikiboolean

    Enables the GitHub Wiki.

  • homepagestring

    URL of the project's homepage.

  • has_issuesboolean

    Enables GitHub Issues for this repository.

  • visibilitystringenum

    Repository visibility.

    publicprivate
  • descriptionstring

    Brief summary of the repository.

  • is_templateboolean

    Designates this repository as a template repository.

  • has_projectsboolean

    Enables GitHub Projects. Note: Organization settings might override this and cause an error if projects are disabled organization-wide.

  • allow_forkingboolean

    Allows private forks of this repository.

  • default_branchstring

    Name of the default branch.

  • allow_auto_mergeboolean

    Enables auto-merge for pull requests.

  • allow_merge_commitboolean

    Allows merging pull requests via merge commits.

  • allow_rebase_mergeboolean

    Allows rebase-merging pull requests.

  • allow_squash_mergeboolean

    Allows squash-merging pull requests.

  • merge_commit_titlestringenum

    Default title for merge commits: 'PR_TITLE' or 'MERGE_MESSAGE'.

    PR_TITLEMERGE_MESSAGE
  • allow_update_branchboolean

    Allows updating a pull request's head branch from the base branch if not strictly required for merging.

  • merge_commit_messagestringenum

    Default message for merge commits: 'PR_BODY', 'PR_TITLE', or 'BLANK'.

    PR_BODYPR_TITLEBLANK
  • delete_branch_on_mergeboolean

    Automatically deletes head branches after merging pull requests.

  • squash_merge_commit_titlestringenum

    Default title for squash merge commits: 'PR_TITLE' or 'COMMIT_OR_PR_TITLE'.

    PR_TITLECOMMIT_OR_PR_TITLE
  • squash_merge_commit_messagestringenum

    Default message for squash merge commits: 'PR_BODY', 'COMMIT_MESSAGES', or 'BLANK'.

    PR_BODYCOMMIT_MESSAGESBLANK
  • web_commit_signoff_requiredboolean

    Requires contributors to sign off on web-based commits.

  • use_squash_pr_title_as_defaultboolean

    DEPRECATED: Use `squash_merge_commit_title`. If true, squash merge commits use PR title; otherwise, commit message.

  • security__and__analysis__secret__scanning__statusstring

    Manages secret scanning. Set to 'enabled' or 'disabled'.

  • security__and__analysis__advanced__security__statusstring

    Manages GitHub Advanced Security. Set to 'enabled' or 'disabled'.

  • security__and__analysis__secret__scanning__push__protection__statusstring

    Manages secret scanning push protection. Set to 'enabled' or 'disabled'.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a repository invitationGITHUB_UPDATE_A_REPOSITORY_INVITATIONAcción

Updates an active repository invitation to modify the invited user's permissions; the specified repository and invitation must exist.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., a username or organization name). This name is not case sensitive.

  • permissionsstringenum

    The new permissions to grant the invited user on the repository.

    readwritemaintaintriageadmin
  • invitation_idintegerObligatorio

    The unique identifier of the repository invitation to be updated.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the updated repository invitation object.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a repository rulesetGITHUB_UPDATE_A_REPOSITORY_RULESETAcción

Updates 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.

Parámetros de entrada

  • namestring

    The new name for the ruleset.

  • repostringObligatorio

    The name of the repository without the `.git` extension. This name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case sensitive.

  • rulesobject[]

    Rules to enforce. Each rule has a `type` and optional `parameters` (e.g., `{'type': 'creation'}` or `{'type': 'pull_request', 'parameters': {'required_approving_review_count': 2}}`). Refer to GitHub API documentation for available rule types and their parameters.

  • targetstringenum

    The target of the ruleset (e.g., branch or tag).

    branchtag
  • ruleset_idintegerObligatorio

    The unique identifier of the existing ruleset to be updated.

  • enforcementstringenum

    Specifies the enforcement level: `disabled` (ruleset is ignored), `active` (ruleset is enforced), or `evaluate` (allows testing rules before enforcement - GitHub Enterprise only).

    disabledactiveevaluate
  • bypass_actorsobject[]

    Actors that can bypass ruleset. Each actor specifies `actor_id`, `actor_type` (`RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`), and `bypass_mode` (`always`, `pull_request`). Example: `[{'actor_id': 1, 'actor_type': 'RepositoryRole', 'bypass_mode': 'always'}]`.

  • conditions__ref__name__excludestring[]

    Ref names or patterns (fnmatch-style globs) to exclude. The ruleset will not apply if any of these patterns match.

  • conditions__ref__name__includestring[]

    Ref names or patterns (fnmatch-style globs) to include for the ruleset to apply. `~DEFAULT_BRANCH` targets the default branch; `~ALL` targets all branches.

Parámetros de salida

  • dataobjectObligatorio

    The updated repository ruleset object.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a repository variableGITHUB_UPDATE_A_REPOSITORY_VARIABLEAcción

Updates the name and/or value of an existing github actions variable in a repository.

Parámetros de entrada

  • namestring

    The new name for the Actions variable. If provided, renames the variable. Allows alphanumeric characters or underscores; case-insensitive.

  • repostringObligatorio

    The name of the repository, without the `.git` extension; case-insensitive.

  • ownerstringObligatorio

    The current name of the Actions variable to update (path parameter); case-insensitive.

  • valuestring

    The new value for the Actions variable. If omitted, its current value is retained. An empty string clears the value.

Parámetros de salida

  • dataobject

    API response data; typically empty for a successful variable update (HTTP 204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a repository webhookGITHUB_UPDATE_A_REPOSITORY_WEBHOOKAcción

Updates the url, content type, secret, ssl verification, events, or active status for an existing repository webhook, specified by `owner`, `repo`, and `hook id`.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    Username or organization name of the repository owner (not case-sensitive).

  • activeboolean

    Set `true` if active and sending notifications, `false` otherwise.

  • eventsstring[]

    List of events to trigger the webhook, completely replacing existing ones (see GitHub webhook event payloads docs).

  • hook_idintegerObligatorio

    Unique identifier of the webhook (found in `X-GitHub-Hook-ID` header of a delivery).

  • add_eventsstring[]

    Events to add to current subscriptions.

  • config__urlstringuri

    New URL for webhook payload delivery.

  • remove_eventsstring[]

    Events to remove from current subscriptions.

  • config__secretstring

    Optional secret for HMAC digest of delivery signature headers (see GitHub docs).

  • config__content__typestring

    Media type for serializing payloads ('json' or 'form').

  • config__insecure__sslstring

    Set to '1' to disable SSL verification (insecure), '0' to enable.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with the updated webhook's configuration.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a review comment for a pull requestGITHUB_UPDATE_A_REVIEW_COMMENT_FOR_A_PULL_REQUESTAcción

Updates the body of an existing review comment on a pull request.

Parámetros de entrada

  • bodystringObligatorio

    The new text of the pull request review comment.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • comment_idintegerObligatorio

    The unique identifier of the pull request review comment to be updated.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full representation of the updated pull request review comment.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a review for a pull requestGITHUB_UPDATE_A_REVIEW_FOR_A_PULL_REQUESTAcción

Updates the body text of an existing pull request review.

Parámetros de entrada

  • bodystringObligatorio

    The new body text for the pull request review. This will replace the existing review body.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is case-insensitive.

  • ownerstringObligatorio

    The username of the account that owns the repository. This is case-insensitive.

  • review_idintegerObligatorio

    The unique identifier of the pull request review to be updated.

  • pull_numberintegerObligatorio

    The number that uniquely identifies the pull request within the repository.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the updated pull request review.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a teamGITHUB_UPDATE_A_TEAMAcción

Updates a team's settings (e.g., name, description, privacy, parent team) within a github organization, identified by its slug and organization name.

Parámetros de entrada

  • orgstringObligatorio

    The organization's name (case-insensitive).

  • namestring

    New display name for the team.

  • privacystringenum

    The desired privacy level for the team. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. - For a non-nested team: - `secret`: Visible only to organization owners and members of this team. - `closed`: Visible to all members of this organization. - For a parent or child team: - `closed`: Visible to all members of this organization.

    secretclosed
  • team_slugstringObligatorio

    The team's unique slug identifier (typically URL-friendly version of team name).

  • permissionstringenum

    **Deprecated**. Default permission (pull, push, or admin) for new repositories added to this team. This may be removed in future versions.

    pullpushadmin
  • descriptionstring

    New team description; an empty string clears the existing description.

  • parent_team_idinteger

    The unique identifier (ID) of an existing team to set as this team's parent. This establishes a nested team structure. To remove an existing parent team relationship and make this a top-level team, explicitly pass `null` for this field (e.g., by setting this parameter to Python `None`). If this parameter is not provided in the request, the current parent team, if any, remains unchanged.

  • notification_settingstringenum

    The notification setting the team has chosen. Editing teams without specifying this parameter leaves `notification_setting` intact. - `notifications_enabled`: Team members receive notifications when the team is @mentioned. - `notifications_disabled`: No one receives notifications for team @mentions.

    notifications_enablednotifications_disabled

Parámetros de salida

  • dataobjectObligatorio

    The full, updated team object as returned by the GitHub API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a webhook configuration for an organizationGITHUB_UPDATE_A_WEBHOOK_CONFIGURATION_FOR_AN_ORGANIZATIONAcción

Updates the configuration (url, content type, secret, ssl verification) for an existing webhook within a specified organization.

Parámetros de entrada

  • orgstringObligatorio

    The organization name (not case-sensitive).

  • urlstringuri

    The URL to which the webhook payloads will be delivered.

  • secretstring

    Optional secret for HMAC hex digest in delivery signature headers.

  • hook_idintegerObligatorio

    Unique identifier of the webhook (from `X-GitHub-Hook-ID` header of a delivery).

  • content_typestring

    Media type for serializing payloads (`json` or `form`). Defaults to `form`.

  • insecure_sslstring

    Set to `1` to disable SSL certificate verification for the webhook URL, or `0` to enable. Defaults to `0`.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a webhook configuration for a repositoryGITHUB_UPDATE_A_WEBHOOK_CONFIGURATION_FOR_A_REPOSITORYAcción

Updates the configuration (e.g., payload url, content type, secret, ssl verification) for an existing webhook in a specified repository.

Parámetros de entrada

  • urlstringuri

    The URL to which webhook payloads will be delivered.

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    The account owner of the repository (not case-sensitive).

  • secretstring

    Optional secret for generating an HMAC hex digest of the payload, included in the `X-Hub-Signature-256` header to verify authenticity.

  • hook_idintegerObligatorio

    Unique identifier of the webhook, typically found in the `X-GitHub-Hook-ID` header of a webhook delivery.

  • content_typestring

    Media type for payload serialization (e.g., `json`, `form`). GitHub defaults to `form` if this field is not provided.

  • insecure_sslstring

    Specifies SSL certificate verification: '0' for enabled (default behavior if omitted), '1' for disabled (not recommended).

Parámetros de salida

  • dataobjectObligatorio

    The updated webhook configuration.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update branch protectionGITHUB_UPDATE_BRANCH_PROTECTIONAcción

Updates the protection settings for an existing branch in a repository, which must not contain wildcard characters.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension (not case-sensitive).

  • ownerstringObligatorio

    The account owner of the repository (not case-sensitive).

  • branchstringObligatorio

    Name of the branch to protect; wildcard characters are not allowed (use GraphQL API for wildcard support).

  • lock_branchboolean

    If `True`, sets the branch to read-only, preventing pushes.

  • enforce_adminsbooleanObligatorio

    Enforces configured restrictions for repository administrators. Set to `True` to enforce for admins, or `None`/`null` to disable.

  • allow_deletionsboolean

    Allows deletion of the protected branch.

  • block_creationsboolean

    If `True`, push restrictions also apply to creating matching new branches, unless pusher has explicit push access.

  • allow_force_pushesboolean

    Permits force pushes to the protected branch. Set to `True` to allow, `None`/`null` to block.

  • allow_fork_syncingboolean

    Allows users to pull upstream changes into their fork when the branch is locked.

  • restrictions__appsstring[]

    App `slug`s with push access. Cannot be used with `restrictions_users` or `restrictions_teams`. Empty list removes all.

  • restrictions__teamsstring[]

    Team `slug`s with push access. Cannot be used with `restrictions_apps` or `restrictions_users`. Empty list removes all.

  • restrictions__usersstring[]

    User `login`s with push access. Cannot be used with `restrictions_apps` or `restrictions_teams`. Empty list removes all.

  • required_linear_historyboolean

    Enforces linear commit history by preventing merge commits. Repository must allow squash or rebase merging.

  • required__status__checks__checksobject[]

    List of status checks required to merge. Each check object needs a `context` string and optionally an `app_id` integer.

  • required__status__checks__strictboolean

    Require branches to be up to date with the base branch before merging; if `True`, merges are blocked if the head branch is behind the base branch.

  • required_conversation_resolutionboolean

    Requires all conversations on code to be resolved before merging a pull request.

  • required__status__checks__contextsstring[]

    **Deprecated**: List of status check contexts required to merge. If set by a GitHub App, future checks must come from that app. Use `checks` for finer control.

  • required__pull__request__reviews__dismiss__stale__reviewsboolean

    If `True`, new commits dismiss previous review approvals on a pull request branch.

  • required__pull__request__reviews__dismissal__restrictions__appsstring[]

    App `slug`s allowed to dismiss pull request reviews. Empty list removes all.

  • required__pull__request__reviews__require__code__owner__reviewsboolean

    If `True`, pull requests affecting files with code owners must be reviewed by them.

  • required__pull__request__reviews__require__last__push__approvalboolean

    If `True`, the most recent push must be approved by someone other than the pusher.

  • required__pull__request__reviews__dismissal__restrictions__teamsstring[]

    Team `slug`s allowed to dismiss pull request reviews. Empty list removes all.

  • required__pull__request__reviews__dismissal__restrictions__usersstring[]

    User `login`s allowed to dismiss pull request reviews. Empty list removes all.

  • required__pull__request__reviews__required__approving__review__countinteger

    Number of approving reviews (0-6) required to merge a pull request; 0 disables.

  • required__pull__request__reviews__bypass__pull__request__allowances__appsstring[]

    App `slug`s allowed to bypass pull request requirements. Empty list removes all.

  • required__pull__request__reviews__bypass__pull__request__allowances__teamsstring[]

    Team `slug`s allowed to bypass pull request requirements. Empty list removes all.

  • required__pull__request__reviews__bypass__pull__request__allowances__usersstring[]

    User `login`s allowed to bypass pull request requirements. Empty list removes all.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update git lfs preferenceGITHUB_UPDATE_GIT_LFS_PREFERENCEAcción

Sets the git large file storage (lfs) preference for a repository, typically before initiating a source import.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This field is not case-sensitive.

  • ownerstringObligatorio

    The username or organization name that owns the repository. This field is not case-sensitive.

  • use_lfsstringObligatorioenum

    Specifies whether to store large files using Git LFS during the import. `opt_in` enables Git LFS, storing large files. `opt_out` disables Git LFS, removing large files during the import.

    opt_inopt_out

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the import project, reflecting the updated Git LFS preference and current import status. This includes information such as the VCS type, import URL, status, and LFS usage.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update information about a github pages siteGITHUB_UPDATE_INFORMATION_ABOUT_A_GITHUB_PAGES_SITEAcción

Updates the configuration for a github pages site (e.g., custom domain, https, build type, source); requires github pages to be enabled for the repository, and if `build type` is 'workflow', a corresponding github actions workflow must be configured.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • cnamestring

    Specify a custom domain for the GitHub Pages site. Sending a `null` or empty string will remove the custom domain. For more information, see GitHub's documentation on custom domains for Pages.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • sourcestringenum

    The publishing source for the GitHub Pages site. Specifies the branch and directory from which the site is built. 'gh-pages' uses the gh-pages branch. 'master' uses the master (or main) branch. 'master /docs' uses the /docs folder on the master (or main) branch. This parameter is ignored if `build_type` is 'workflow'.

    gh-pagesmastermaster /docs
  • build_typestringenum

    The build process for the GitHub Pages site. Use 'workflow' if the site is built by a custom GitHub Actions workflow. Use 'legacy' if the site is built by GitHub when changes are pushed to a specific branch.

    legacyworkflow
  • https_enforcedboolean

    Specify whether HTTPS should be enforced for the GitHub Pages site. `True` enforces HTTPS, `False` does not.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update pull request review protectionGITHUB_UPDATE_PULL_REQUEST_REVIEW_PROTECTIONAcción

Updates pull request review protection settings (e.g., required approvals, review dismissal, bypass allowances) for a branch; branch protection features must be available for the repository.

Parámetros de entrada

  • repostringObligatorio

    Repository name, without the `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Account owner of the repository (case-insensitive).

  • branchstringObligatorio

    Branch name for protection rules (no wildcards; use GraphQL API for wildcards).

  • dismiss_stale_reviewsboolean

    If `true`, new commits dismiss previous approving reviews; `false` keeps approvals valid.

  • require_code_owner_reviewsboolean

    If `true`, pull requests affecting files with code owners require their review. See [about code owners](https://docs.github.com/articles/about-code-owners/).

  • require_last_push_approvalboolean

    If `true`, the most recent push requires approval by someone other than the pusher (GitHub Enterprise feature).

  • dismissal__restrictions__appsstring[]

    App `slug`s permitted to dismiss pull request reviews. Empty list removes restrictions.

  • dismissal__restrictions__teamsstring[]

    Team `slug`s permitted to dismiss pull request reviews. Empty list removes restrictions.

  • dismissal__restrictions__usersstring[]

    User `login`s permitted to dismiss pull request reviews. Empty list removes restrictions.

  • required_approving_review_countinteger

    Number of approving reviews (1-6) required for merging; 0 to disable.

  • bypass__pull__request__allowances__appsstring[]

    App `slug`s allowed to bypass pull request requirements. Empty list removes allowances.

  • bypass__pull__request__allowances__teamsstring[]

    Team `slug`s allowed to bypass pull request requirements. Empty list removes allowances.

  • bypass__pull__request__allowances__usersstring[]

    User `login`s allowed to bypass pull request requirements. Empty list removes allowances.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary representing the full updated branch protection rule, including pull request review settings.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update repository preferences for check suitesGITHUB_UPDATE_REPOSITORY_PREFERENCES_FOR_CHECK_SUITESAcción

Updates 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.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. The name is not case sensitive.

  • ownerstringObligatorio

    The account owner of the repository (e.g., username or organization). The name is not case sensitive.

  • auto_trigger_checksobject[]

    A list of preference objects for configuring automatic CheckSuite creation for specific GitHub Apps. Each object in the list must contain an `app_id` (integer: the ID of the GitHub App) and a `setting` (boolean: `true` to enable automatic triggers for that app on code push, `false` to disable). If this field is omitted in the request, the repository's existing `auto_trigger_checks` preferences are not modified by this specific update action.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the results of the update operation. This typically includes a `preferences` object with the updated `auto_trigger_checks` array, and a `repository` object detailing the repository for which preferences were set.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update resource access with tokensGITHUB_UPDATE_RESOURCE_ACCESS_WITH_TOKENSAcción

Revokes 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.

Parámetros de entrada

  • orgstringObligatorio

    Organization name (case-insensitive).

  • actionstringObligatorioenum

    Operation to perform on the fine-grained personal access tokens, resulting in removal of their access.

    revoke
  • pat_idsinteger[]Obligatorio

    Fine-grained personal access token IDs for which access will be revoked.

Parámetros de salida

  • dataobjectObligatorio

    API response. May be empty on successful revocation (HTTP 204) or contain error diagnostics.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update status check protectionGITHUB_UPDATE_STATUS_CHECK_PROTECTIONAcción

Updates required status checks for a branch, optionally requiring it to be up-to-date before merging.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This name is not case-sensitive.

  • ownerstringObligatorio

    The account owner of the repository. This name is not case-sensitive.

  • branchstringObligatorio

    The name of the branch. Wildcard characters are not allowed. To use wildcard characters in branch names, please use the GraphQL API.

  • checksobject[]

    A list of status checks to require in order to merge into this branch. Each check object should have a `context` (string) and an optional `app_id` (integer). Example: `[{"context": "continuous-integration/jenkins", "app_id": 12345}]`

  • strictboolean

    Specifies whether to require branches to be up to date before merging.

  • contextsstring[]

    **Deprecated**: A list of status checks to require in order to merge into this branch. If any of these checks were recently set by a particular GitHub App, they will be required to come from that app in the future for the branch to merge. For more fine-grained control, use `checks` instead of `contexts`.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update the authenticated userGITHUB_UPDATE_THE_AUTHENTICATED_USERAcción

Updates the authenticated user's github profile; a new public email must be verified, and existing private emails remain private even if specified.

Parámetros de entrada

  • biostring

    The new short biography for the user. Provide `null` to clear the existing bio.

  • blogstring

    The new URL for the user's blog. Provide `null` to clear the existing blog URL. For example, 'https://github.blog'.

  • namestring

    The new full name for the user. For example, 'Mona Lisa Octocat'.

  • emailstring

    The user's new publicly visible email address. This email must be verified on the user's GitHub account. If the provided email is not verified or not set to public, the update for this field might be ignored.

  • companystring

    The new company affiliation for the user. Provide `null` to clear the existing company. For example, 'GitHub'.

  • hireableboolean

    Indicates whether the user is available for hire. Set to `true` if available, or `false` if not.

  • locationstring

    The new geographical location of the user. Provide `null` to clear the existing location. For example, 'San Francisco'.

  • twitter_usernamestring

    The user's new Twitter username (without the leading '@'). Provide `null` to clear the existing Twitter username. For example, 'github'.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update token org accessGITHUB_UPDATE_TOKEN_ORG_ACCESSAcción

Revokes a fine-grained personal access token's access to an organization, usable only by github apps when the token has existing access to that organization.

Parámetros de entrada

  • orgstringObligatorio

    The name of the GitHub organization. This name is not case-sensitive.

  • actionstringObligatorioenum

    Specifies the 'revoke' action, which removes the token's access to the specified organization.

    revoke
  • pat_idintegerObligatorio

    The unique identifier (ID) of the fine-grained personal access token.

Parámetros de salida

  • dataobject

    A dictionary containing the response from the API. For a successful revocation (which typically returns an HTTP 204 No Content status), this dictionary is usually empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload an analysis as sarif dataGITHUB_UPLOAD_AN_ANALYSIS_AS_SARIF_DATAAcción

Uploads 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.

Parámetros de entrada

  • refstringObligatorio

    The full Git reference for the analysis, formatted as `refs/heads/<branch name>`, `refs/tags/<tag>`, `refs/pull/<number>/merge`, or `refs/pull/<number>/head`.

  • repostringObligatorio

    The name of the repository, without the `.git` extension. This is case-insensitive.

  • ownerstringObligatorio

    The account owner of the repository. This is case-insensitive.

  • sarifstringObligatorio

    A Base64 encoded string of a gzipped SARIF file. For more information, see '[SARIF support for code scanning](https://docs.github.com/code-security/secure-coding/sarif-support-for-code-scanning)'.

  • validateboolean

    Specifies whether the uploaded SARIF file should be validated against the code scanning specifications. This is useful for integrators to ensure their SARIF files are correctly processed and rendered by GitHub.

  • tool_namestring

    Name of the tool that generated the analysis. GitHub defaults this to "API" if omitted. A tool GUID in the SARIF can be used for filtering alerts.

  • commit_shastringObligatorio

    The SHA of the commit to which the analysis you are uploading relates. Must be a 40-character Git SHA.

  • started_atstringdate-time

    The timestamp indicating when the analysis run began, in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.

  • checkout_uristringuri

    The base URI of the checkout directory as it appears in the SARIF file. This property is used to convert absolute file paths to relative paths, enabling alerts to be correctly mapped to their location in the repository.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response from the GitHub API. Upon successful upload, this typically includes an `id` for the SARIF analysis, which can be used to track its status or retrieve details later. It may also include an `url` to access the analysis.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the authenticated userGITHUB_USERS_GET_AUTHENTICATEDAcción

[deprecated] retrieves the authenticated user's information; use `get the authenticated user` instead.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Authenticated user's profile information. Common fields include 'login', 'id', 'name', 'email'; contents vary by user settings.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a userGITHUB_USERS_GET_BY_USERNAMEAcción

Deprecated: use the `getauser` action to retrieve a github user's public profile by username.

Parámetros de entrada

  • usernamestringObligatorio

    The GitHub username (handle) of the user to retrieve. This is case-sensitive.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the public profile data for the specified GitHub user, as returned by the GitHub API. This includes various attributes such as login, ID, avatar URL, name, bio, location, public repository count, and more.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get contextual information for a userGITHUB_USERS_GET_CONTEXT_FOR_USERAcción

Retrieves contextual hovercard information for a github user. (deprecated: please use the `get contextual information for a user` action instead).

Parámetros de entrada

  • usernamestringObligatorio

    GitHub username for whom to retrieve hovercard data.

  • subject_idstring

    Entity ID for `subject_type` for more specific hovercard context; required if `subject_type` is also given.

  • subject_typestringenum

    Entity type for more specific hovercard context (e.g., 'repository'); required if `subject_id` is also given.

    organizationrepositoryissuepull_request

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List followers of the authenticated userGITHUB_USERS_LIST_FOLLOWERS_FOR_AUTHENTICATED_USERAcción

Deprecated: lists users following the authenticated github user; use `list followers of the authenticated user` instead.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • per_pageinteger

    Number of results per page (max 100).

Parámetros de salida

  • dataobjectObligatorio

    A list of user objects, where each object contains follower information (e.g., `login`, `id`). Refer to GitHub API documentation for user object structure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public email addresses for the authenticated userGITHUB_USERS_LIST_PUBLIC_EMAILS_FOR_AUTHENTICATED_USERAcción

Deprecated: use `listpublicemailaddressesfortheauthenticateduser` instead; lists public email addresses for the authenticated user.

Parámetros de entrada

  • pageinteger

    Page number of the results to fetch.

  • per_pageinteger

    Number of results to return per page. Maximum value is 100.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List social accounts for a userGITHUB_USERS_LIST_SOCIAL_ACCOUNTS_FOR_USERAcción

Deprecated: lists social media accounts for an existing github user; use 'list social accounts for a user' instead.

Parámetros de entrada

  • pageinteger

    The page number of the results to fetch when paginating. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • per_pageinteger

    The number of social account results to return per page. Maximum is 100. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

  • usernamestringObligatorio

    The handle (username) of the GitHub user (e.g., 'octocat') for whom to list social media accounts.

Parámetros de salida

  • dataobjectObligatorio

    List of social account objects, each with 'provider' (e.g., 'linkedin', 'twitter') and 'url' (profile link).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Verify dev container permissions acceptedGITHUB_VERIFY_DEV_CONTAINER_PERMISSIONS_ACCEPTEDAcción

Verifies 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.

Parámetros de entrada

  • refstringObligatorio

    Git reference (branch, tag, or commit SHA) for the devcontainer configuration.

  • repostringObligatorio

    Repository name, without `.git` extension (case-insensitive).

  • ownerstringObligatorio

    Username of the repository owner (case-insensitive).

  • devcontainer_pathstringObligatorio

    Path to the `devcontainer.json` file in the repository.

Parámetros de salida

  • dataobjectObligatorio

    Results of the permission check, including an 'accepted' status, and details about the devcontainer configuration and its required permissions.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Triggers (46)

Los triggers son eventos externos que pueden iniciar un flujo en tus agentes (ej: nuevo email, mensaje recibido, registro creado).

New Workflow Artifact CreatedGITHUB_ARTIFACT_CREATED_TRIGGERTrigger

Triggers when a new workflow artifact is created in a GitHub repository. Monitors for newly created GitHub Actions workflow artifacts. Optionally filters by artifact name to restrict monitoring to specific artifacts.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • namestring

    Optional artifact name filter. When set, only artifacts whose name exactly matches this value will be reported. Leave blank to monitor all artifacts in the repository.

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'my-project').

Payload del evento

  • archive_download_urlstringObligatorio

    URL to download the artifact as a zip archive.

  • artifact_idintegerObligatorio

    Unique numeric identifier of the newly created artifact.

  • created_atstringObligatorio

    ISO 8601 timestamp of when the artifact was created.

  • digeststring

    SHA-256 digest of the artifact (only present for artifacts uploaded with upload-artifact v4 or later).

  • event_typestring

    Type of event that occurred.

  • expiredbooleanObligatorio

    Whether the artifact has expired and is no longer available.

  • expires_atstringObligatorio

    ISO 8601 timestamp of when the artifact will expire.

  • namestringObligatorio

    Name of the artifact.

  • node_idstringObligatorio

    GraphQL node ID of the artifact.

  • ownerstringObligatorio

    Owner of the repository.

  • repostringObligatorio

    Repository name.

  • size_in_bytesintegerObligatorio

    Size of the artifact in bytes.

  • updated_atstringObligatorio

    ISO 8601 timestamp of when the artifact was last updated.

  • urlstringObligatorio

    API URL for the artifact.

  • workflow_runobject

    Metadata about the workflow run that produced the artifact.

Instrucciones

This trigger fires whenever a new GitHub Actions workflow artifact is created in the monitored repository.

Branch ChangedGITHUB_BRANCH_CHANGED_TRIGGERTrigger

Triggers when a GitHub branch changes. Monitors a specific branch for: - New commits pushed (head commit SHA changes) - Protection status toggled (branch becomes protected or unprotected) - Protection settings changed, including: required status checks and their enforcement level, admin enforcement, required pull request reviews (dismiss stale reviews, code owner reviews, approving review count, last push approval), required linear history, force push allowance, deletion allowance, conversation resolution, branch locking, and fork syncing.

Configuración

  • branchstringObligatorio

    The exact name of the branch to monitor (e.g. 'main' or 'develop'). The name is case-sensitive and must match exactly what is shown in the repository.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'my-service').

Payload del evento

  • branchstringObligatorio

    Name of the monitored branch.

  • changed_fieldsstring[]Obligatorio

    Names of the top-level fields that changed.

  • current_snapshotobjectObligatorio

    Snapshot of the branch's tracked fields after the change.

  • event_typestring

    Type of event that occurred.

  • head_commit_shastringObligatorio

    The current head commit SHA of the branch.

  • ownerstringObligatorio

    Owner of the repository.

  • previous_snapshotobjectObligatorio

    Snapshot of the branch's tracked fields before the change.

  • protectedbooleanObligatorio

    Whether the branch is currently protected.

  • repostringObligatorio

    Repository name.

Instrucciones

This trigger fires whenever a GitHub branch changes, including: - **New commits pushed** (head commit SHA changes) - **Protection status toggled** (branch becomes protected or unprotected) - **Protection settings changed** (required reviewers, status checks, admin enforcement, linear history, force push/deletion allowance, conversation resolution, branch locking, fork syncing)

New Branch CreatedGITHUB_BRANCH_CREATED_TRIGGERTrigger

Triggers when a new branch is created in a GitHub repository. Detects newly created branches. Deleted branches do not fire events.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner of the repository (GitHub username or organization name). Must contain only alphanumeric characters and hyphens, max 39 characters.

  • repostringObligatorio

    The name of the repository without the .git extension. Must contain only alphanumeric characters, hyphens, underscores, and periods.

Payload del evento

  • commit_shastringObligatorio

    SHA of the HEAD commit on the new branch.

  • commit_urlstringObligatorio

    GitHub REST API URL for the HEAD commit on the new branch.

  • namestringObligatorio

    The name of the newly created branch.

  • protectedbooleanObligatorio

    Whether the branch has branch-protection rules enabled.

  • repository_namestringObligatorio

    Name of the repository the branch belongs to.

  • repository_ownerstringObligatorio

    GitHub username or organization that owns the repository.

Instrucciones

This trigger fires whenever a new branch is created in a GitHub repository. Deleted branches do not fire events; only branch creation is detected.

Check Run Status / Conclusion ChangedGITHUB_CHECK_RUN_STATUS_CHANGED_TRIGGERTrigger

Triggers when a specific GitHub check run changes its status or conclusion. Monitors a single check run for changes to: status (queued, in_progress, completed, etc.), conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required), started_at, and completed_at.

Configuración

  • check_run_idintegerObligatorio

    The unique numeric identifier of the check run to monitor. You can obtain it from the check runs list API or from the CI/checks page in the GitHub UI.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). Case-insensitive. Must contain only alphanumeric characters and hyphens.

  • repostringObligatorio

    The name of the repository without the .git extension. Case-insensitive.

Payload del evento

  • appobject

    GitHub App that created the check run.

  • changed_fieldsstring[]

    List of field names that changed since the last poll.

  • check_suite_idinteger

    The ID of the check suite this check run belongs to.

  • completed_atstring

    ISO 8601 timestamp when the check run completed.

  • conclusionstring

    The conclusion of a completed check run: success, failure, neutral, cancelled, skipped, timed_out, or action_required.

  • details_urlstring

    URL providing detailed information about the check run.

  • external_idstring

    The external identifier for the check run set by the integrator.

  • head_shastringObligatorio

    The SHA of the commit this check run targets.

  • html_urlstring

    The GitHub URL to view this check run.

  • idintegerObligatorio

    The unique numeric ID of the check run.

  • namestringObligatorio

    The name of the check run.

  • node_idstring

    The GraphQL node ID of the check run.

  • outputobject

    Output details for a GitHub check run.

  • previous_valuesobject

    Previous string-serialized values of the changed fields.

  • repository_namestringObligatorio

    The name of the repository the check run belongs to.

  • repository_ownerstringObligatorio

    The owner of the repository the check run belongs to.

  • started_atstring

    ISO 8601 timestamp when the check run started.

  • statusstring

    The current status of the check run: queued, in_progress, completed, waiting, requested, or pending.

  • urlstringObligatorio

    The REST API URL for this check run.

Instrucciones

This trigger fires whenever a specific GitHub check run changes its status (queued, in_progress, completed, etc.), conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required), started_at, or completed_at.

Check Suite Status / Conclusion ChangedGITHUB_CHECK_SUITE_STATUS_CHANGED_TRIGGERTrigger

Triggers when a GitHub check suite changes its status or conclusion for a given ref. Monitors all check suites associated with a git reference (branch, tag, or commit SHA) for changes to status (queued, in_progress, completed, etc.) and conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required, startup_failure, stale). Optionally filters by GitHub App ID.

Configuración

  • app_idinteger

    Optional: Filters check suites by GitHub App ID. Only monitor check suites created by this specific app. If omitted, all check suites for the ref are monitored.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). Case-insensitive. Must contain only alphanumeric characters and hyphens.

  • refstringObligatorio

    The git reference (branch name, tag name, or commit SHA) to monitor check suites for. For example, 'main', 'v1.0.0', or a full commit SHA.

  • repostringObligatorio

    The name of the repository without the .git extension. Case-insensitive.

Payload del evento

  • appobject

    GitHub App associated with a check suite.

  • changed_fieldsstring[]

    List of field names that changed since the last poll.

  • check_runs_urlstring

    The API URL to retrieve the check runs in this suite.

  • conclusionstring

    The overall conclusion of the completed check suite: success, failure, neutral, cancelled, skipped, timed_out, action_required, startup_failure, or stale. Null if not yet completed.

  • created_atstring

    ISO 8601 timestamp when this check suite was created.

  • head_branchstring

    The branch name the check suite belongs to.

  • head_shastringObligatorio

    The SHA of the head commit being checked.

  • idintegerObligatorio

    The unique numeric ID of the check suite.

  • latest_check_runs_countinteger

    The number of check runs in this check suite.

  • node_idstring

    The GraphQL node ID of the check suite.

  • previous_valuesobject

    Previous string-serialized values of the changed fields.

  • refstringObligatorio

    The git reference (branch/tag/SHA) that was monitored.

  • repository_namestringObligatorio

    The name of the repository this check suite belongs to.

  • repository_ownerstringObligatorio

    The owner of the repository this check suite belongs to.

  • statusstring

    The current phase of the check suite lifecycle: queued, in_progress, completed, waiting, requested, or pending.

  • updated_atstring

    ISO 8601 timestamp when this check suite was last updated.

  • urlstring

    The REST API URL for this check suite.

Instrucciones

This trigger fires whenever a GitHub check suite changes its status (queued, in_progress, completed, waiting, requested, pending) or conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required, startup_failure, stale) for a given git reference.

New Code Scanning Alert CreatedGITHUB_CODE_SCANNING_ALERT_CREATED_TRIGGERTrigger

Triggers when a new code scanning alert is created in a repository. Fires an event for each newly created code scanning alert detected in the configured repository. Alerts can be filtered by Git reference, scanning tool, state, and severity. The payload includes the alert number, rule details, tool information, state, severity, and the location of the most recent instance.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner of the repository (GitHub username or organization name). The name is not case sensitive.

  • refstring

    Optional Git reference to filter alerts by. For a branch use 'refs/heads/<branch name>' or just the branch name. For a pull request use 'refs/pull/<number>/merge'. Leave empty to get alerts across all refs (default branch).

  • repostringObligatorio

    The name of the repository without the .git extension. The name is not case sensitive.

  • severitystring

    Optional filter by alert severity. Possible values: 'critical', 'high', 'medium', 'low', 'warning', 'note', 'error'. Leave empty to include alerts of all severities.

  • statestring

    Optional filter by alert state. Possible values: 'open', 'closed', 'dismissed', 'fixed'. Leave empty to include alerts in all states.

  • tool_namestring

    Optional name of a code scanning tool to filter alerts by (e.g. 'CodeQL', 'Semgrep'). Leave empty to include alerts from all tools.

Payload del evento

  • alert_numberintegerObligatorio

    The unique sequential number identifying the alert within the repository.

  • alert_urlstring

    The REST API URL of the alert resource.

  • created_atstring

    ISO 8601 timestamp when the alert was created.

  • dismissed_atstring

    ISO 8601 timestamp when the alert was dismissed. Null if not dismissed.

  • dismissed_reasonstring

    Reason for dismissal: 'false positive', "won't fix", or 'used in tests'.

  • fixed_atstring

    ISO 8601 timestamp when the alert was fixed. Null if not fixed.

  • html_urlstring

    The GitHub web URL of the alert.

  • instances_urlstring

    REST API URL to retrieve all instances of this alert.

  • most_recent_instance_commit_shastring

    Commit SHA where the most recent instance was detected.

  • most_recent_instance_messagestring

    Description of the vulnerability from the most recent instance.

  • most_recent_instance_pathstring

    File path of the most recent instance location.

  • most_recent_instance_refstring

    The Git ref where the most recent instance was detected.

  • most_recent_instance_start_lineinteger

    Start line of the most recent instance location.

  • most_recent_instance_statestring

    State of the most recent instance: 'open', 'dismissed', or 'fixed'.

  • repository_namestringObligatorio

    The name of the repository.

  • repository_ownerstringObligatorio

    The GitHub username or organization that owns the repository.

  • ruleobject

    The rule that triggered the code scanning alert.

  • statestring

    Current state of the alert: 'open', 'closed', 'dismissed', or 'fixed'.

  • toolobject

    The code scanning tool that generated the alert.

  • updated_atstring

    ISO 8601 timestamp when the alert was last updated.

Instrucciones

This trigger fires whenever a new code scanning alert is created in your GitHub repository (e.g. when a code scan run detects a new vulnerability). **Payload contents:** The payload includes the alert number, rule details, tool information, state, severity, and the location of the most recent instance.

New Repository Collaborator AddedGITHUB_COLLABORATOR_ADDED_TRIGGERTrigger

Triggers when a new collaborator is added to a GitHub repository. Monitors the full list of collaborators on a repository and fires an event for each newly added collaborator. The payload includes the collaborator's GitHub username, account ID, profile URL, avatar URL, permission flags (pull, triage, push, maintain, admin), and assigned role name.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). Must contain only alphanumeric characters and hyphens, max 39 characters.

  • repostringObligatorio

    The name of the repository without the .git extension. Must contain only alphanumeric characters, hyphens, underscores, and periods.

Payload del evento

  • avatar_urlstringObligatorio

    URL of the collaborator's avatar image.

  • html_urlstringObligatorio

    GitHub profile URL of the collaborator.

  • idintegerObligatorio

    The unique numeric ID of the collaborator's GitHub account.

  • loginstringObligatorio

    The GitHub username of the new collaborator.

  • node_idstringObligatorio

    GraphQL global node identifier for the collaborator.

  • permissionsobjectObligatorio

    Permission flags granted to the collaborator on this repository.

  • repository_namestringObligatorio

    The name of the repository.

  • repository_ownerstringObligatorio

    The owner of the repository.

  • role_namestringObligatorio

    The role name assigned to the collaborator (e.g., 'admin', 'maintain', 'write', 'triage', 'read').

  • site_adminbooleanObligatorio

    Whether the collaborator is a GitHub site administrator.

  • typestringObligatorio

    The type of GitHub account (e.g., 'User', 'Organization').

  • urlstringObligatorio

    REST API URL for the collaborator's user resource.

Instrucciones

This trigger fires whenever a new collaborator is added to a GitHub repository. **Payload:** Each event includes the collaborator's username, account ID, profile URL, avatar, account type, permission flags (pull, triage, push, maintain, admin), and assigned role name.

Commit EventGITHUB_COMMIT_EVENTTrigger

Triggered when a new commit is pushed to a repository.

Configuración

  • ownerstringObligatorio

    Owner of the repository

  • repostringObligatorio

    Repository name

Payload del evento

  • authorstringObligatorio

    The GitHub username of the commit author

  • idstringObligatorio

    The SHA of the commit

  • messagestringObligatorio

    The commit message

  • timestampstringObligatorio

    The timestamp of the commit

  • urlstringObligatorio

    The GitHub URL of the commit

Instrucciones

This trigger fires every time a new commit is pushed to the repository.

New Deployment CreatedGITHUB_DEPLOYMENT_CREATED_TRIGGERTrigger

Triggers when a new deployment is created in a GitHub repository. Fires an event for each newly created deployment detected in the configured repository. Deployments can optionally be filtered by target environment. The payload includes the deployment ID, commit SHA, ref, task, environment, creator details, and timestamps.

Configuración

  • environmentstring

    Optional filter: only fire for deployments targeting this environment (e.g. 'production', 'staging', 'Preview'). Leave empty to receive events for all environments.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'vscode').

Payload del evento

  • created_atstringObligatorio

    ISO 8601 timestamp when the deployment was created.

  • creator_idintegerObligatorio

    Numeric ID of the creator.

  • creator_loginstringObligatorio

    GitHub login of the user or bot that created the deployment.

  • creator_typestringObligatorio

    Account type of the creator (e.g. 'User', 'Bot').

  • deployment_idintegerObligatorio

    Unique numeric identifier for the deployment.

  • descriptionstring

    A short description of the deployment.

  • environmentstringObligatorio

    The name of the environment the deployment targets (e.g. 'production').

  • event_typestring

    Type of event that occurred.

  • node_idstringObligatorio

    Global Node ID for the deployment.

  • original_environmentstringObligatorio

    The original environment of the deployment before any overrides.

  • ownerstringObligatorio

    Owner of the repository.

  • production_environmentbooleanObligatorio

    Whether this deployment targets the production environment.

  • refstringObligatorio

    The short ref name or full SHA of the deployment's target.

  • repostringObligatorio

    Repository name.

  • repository_urlstringObligatorio

    API URL for the repository the deployment belongs to.

  • shastringObligatorio

    The SHA of the commit that was deployed.

  • statuses_urlstringObligatorio

    API URL to list deployment statuses.

  • taskstringObligatorio

    The name of the task that was used for the deployment (e.g. 'deploy').

  • transient_environmentbooleanObligatorio

    Whether this is a transient environment (destroyed on inactivity).

  • updated_atstringObligatorio

    ISO 8601 timestamp when the deployment was last updated.

  • urlstringObligatorio

    API URL for this deployment resource.

Instrucciones

This trigger fires whenever a new deployment is created in the monitored GitHub repository. The payload includes the deployment ID, SHA, ref, task, environment, creator details, and timestamps.

GitHub Deployment State ChangedGITHUB_DEPLOYMENT_STATE_CHANGED_TRIGGERTrigger

Triggers when a specific GitHub deployment's fields change. Monitors the following aspects of a single deployment: - ``environment`` -- the target environment name - ``original_environment`` -- the original environment name before normalization - ``description`` -- the human-readable deployment description - ``task`` -- the deployment task name - ``sha`` -- the commit SHA being deployed - ``ref`` -- the branch, tag, or SHA reference being deployed - ``updated_at`` -- the last-updated timestamp - ``transient_environment`` -- whether the environment is temporary - ``production_environment`` -- whether this is a production deployment When any of these fields change, an event is emitted containing the full current deployment details and a list of which fields changed.

Configuración

  • deployment_idintegerObligatorio

    The unique numeric identifier of the deployment to monitor. Obtain this from the deployments listing endpoint ``GET /repos/{owner}/{repo}/deployments`` or from your CI/CD output.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'my-company').

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'my-project').

Payload del evento

  • changed_fieldsstring[]Obligatorio

    List of field names that changed since the previous poll. Possible values: 'environment', 'original_environment', 'description', 'task', 'sha', 'ref', 'updated_at', 'transient_environment', 'production_environment'. Use this to route your automation — for example, alert only when 'environment' changes to detect environment promotions.

  • created_atstring

    ISO 8601 timestamp when the deployment was created.

  • creatorobject

    Minimal details about the user or bot that created the deployment.

  • current_snapshotobject

    The canonicalised snapshot from the current poll.

  • deployment_idintegerObligatorio

    Numeric ID of the deployment that changed.

  • descriptionstring

    Optional human-readable description of the deployment.

  • environmentstring

    Target environment name (e.g. 'production', 'staging').

  • event_typestring

    Event type identifier.

  • node_idstring

    GraphQL node ID of the deployment.

  • original_environmentstring

    Original environment name before any normalization.

  • ownerstringObligatorio

    Owner of the repository.

  • previous_snapshotobject

    The canonicalised snapshot from the previous poll.

  • production_environmentboolean

    Whether this is a production environment deployment.

  • refstring

    The ref (branch, tag, or SHA) that was deployed.

  • repostringObligatorio

    Repository name.

  • repository_urlstring

    API URL for the repository.

  • shastring

    Commit SHA that was deployed.

  • statuses_urlstring

    API URL for the deployment's status history.

  • taskstring

    Deployment task name (e.g. 'deploy').

  • transient_environmentboolean

    Whether the environment is temporary (e.g. for PR previews).

  • updated_atstring

    ISO 8601 timestamp when the deployment was last updated.

  • urlstring

    API URL of the deployment resource.

Instrucciones

This trigger fires whenever a specific GitHub deployment's fields change -- for example when its environment is promoted, description is updated, or its timestamps advance. The payload lists which fields changed and includes the full current deployment details, so you can route your automation based on specific field changes.

New Deployment Status CreatedGITHUB_DEPLOYMENT_STATUS_CREATEDTrigger

Triggers when a new deployment status is created for a specific deployment. Fires an event for each newly created deployment status on the monitored deployment. Deployment statuses represent state transitions such as pending, in_progress, success, failure, error, inactive, and queued. The payload includes the status state, creator, environment, description, timestamps, and relevant URLs.

Configuración

  • deployment_idintegerObligatorio

    The unique numeric ID of the deployment to monitor for new statuses.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner (user or organization) of the repository.

  • repostringObligatorio

    The name of the repository (without .git extension).

Payload del evento

  • created_atstringObligatorio

    ISO 8601 timestamp when the deployment status was created.

  • creatorobjectObligatorio

    The user or bot who created this deployment status.

  • deployment_idintegerObligatorio

    The ID of the deployment this status belongs to.

  • deployment_urlstringObligatorio

    API URL for the associated deployment.

  • descriptionstring

    A short description of the status (max 140 characters).

  • environmentstring

    The environment this deployment status targets.

  • environment_urlstring

    The URL for accessing the deployment environment.

  • event_typestring

    Event type identifier for this trigger.

  • idintegerObligatorio

    Unique numeric ID of the deployment status.

  • log_urlstring

    The URL to view the full output from the deployment.

  • node_idstringObligatorio

    GraphQL node identifier for the deployment status.

  • repository_namestringObligatorio

    The name of the repository.

  • repository_ownerstringObligatorio

    The owner of the repository.

  • repository_urlstringObligatorio

    API URL for the repository this deployment status belongs to.

  • statestringObligatorio

    The state of the deployment status. One of: error, failure, inactive, pending, success, queued, in_progress.

  • target_urlstring

    The target URL associated with this status, typically pointing to the deployment output or logs.

  • updated_atstringObligatorio

    ISO 8601 timestamp when the deployment status was last updated.

  • urlstringObligatorio

    API URL for this deployment status resource.

Instrucciones

This trigger fires whenever a new deployment status is created for a specific GitHub deployment. The payload includes the status state, creator details, environment, description, timestamps, and relevant URLs.

Follower ChangesGITHUB_FOLLOWER_EVENTTrigger

Triggers when new followers are detected on your GitHub account.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

Payload del evento

  • usernamestringObligatorio

    Username of the github follower

Instrucciones

This trigger fires when new followers are detected on your GitHub account. No additional configuration is required beyond connecting your GitHub account.

New Git Reference CreatedGITHUB_GIT_REFERENCE_CREATED_TRIGGERTrigger

Triggers when a new Git reference (branch or tag) matching a specified prefix is created in a repository. Fires an event for each newly created branch or tag whose name matches the configured prefix. Use ``ref_prefix`` to control what is monitored: - ``heads/`` to watch all branches - ``heads/feature/`` to watch only feature branches - ``tags/`` to watch all tags - ``tags/v`` to watch tags starting with 'v' The payload includes the full reference name, node ID, the SHA and type of the Git object the reference points to, and the reference API URL.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • ref_prefixstringObligatorio

    Partial Git reference path prefix to match, without the 'refs/' prefix. Use 'heads/' to match branches (e.g. 'heads/feature/') or 'tags/' to match tags (e.g. 'tags/v'). Only references whose full name starts with 'refs/{ref_prefix}' will be monitored.

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'my-project').

Payload del evento

  • event_typestring

    Type of event that occurred.

  • node_idstringObligatorio

    The global node ID for the reference.

  • object_shastringObligatorio

    The SHA-1 hash of the Git object this reference points to.

  • object_typestringObligatorio

    The type of Git object (typically 'commit').

  • object_urlstringObligatorio

    The API URL for the referenced Git object.

  • ownerstringObligatorio

    Owner of the repository.

  • refstringObligatorio

    The full Git reference name (e.g. 'refs/heads/feature-a' or 'refs/tags/v1.0').

  • ref_urlstringObligatorio

    The API URL for accessing this reference.

  • repostringObligatorio

    Repository name.

Instrucciones

This trigger fires whenever a new Git reference (branch or tag) matching the configured prefix is created in the monitored repository. The payload includes the full reference name, node ID, the SHA and type of the Git object the reference points to, and the reference API URL.

Issue Added EventGITHUB_ISSUE_ADDED_EVENTTrigger

Triggered when a new issue is added to the repository.

Configuración

  • ownerstringObligatorio

    Owner of the repository

  • repostringObligatorio

    Repository name

Payload del evento

  • actionstringObligatorio

    The action that was performed on the issue

  • createdAtstringObligatorio

    The timestamp when the issue was created

  • createdBystringObligatorio

    The GitHub username of the user who created the issue

  • descriptionstring

    A detailed description of the issue

  • issue_idintegerObligatorio

    The unique ID assigned to the issue

  • numberintegerObligatorio

    The unique number assigned to the issue

  • titlestringObligatorio

    The title of the issue

  • urlstringObligatorio

    The GitHub URL of the issue

Instrucciones

This trigger fires every time a new issue is added to the repository.

New Issue Assigned to MeGITHUB_ISSUE_ASSIGNED_TO_ME_TRIGGERTrigger

Triggers when a new issue is assigned to the authenticated user. Fires an event for each GitHub issue that is newly assigned to the authenticated user. Pull requests are automatically excluded -- only true issues are emitted. Issues can optionally be filtered by labels and state. The payload includes the issue number, title, body, state, labels, assignees, creator, repository details, and timestamps.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • labelsstring

    A comma-separated list of label names to filter issues by. Only issues with ALL the specified labels will trigger events. Leave empty to receive all newly assigned issues regardless of labels.

  • statestring

    Filter issues by state. Use 'open' to only receive open issues, 'closed' for closed issues, or 'all' for both.

Payload del evento

  • assigneesobject[]

    GitHub users assigned to this issue.

  • bodystring

    The body text / description of the issue.

  • closed_atstring

    ISO 8601 timestamp when the issue was closed, if applicable.

  • commentsintegerObligatorio

    Number of comments on the issue.

  • created_atstringObligatorio

    ISO 8601 timestamp when the issue was created.

  • html_urlstringObligatorio

    The GitHub URL to view this issue.

  • idintegerObligatorio

    The unique numeric ID of the issue.

  • labelsobject[]

    Labels attached to the issue.

  • numberintegerObligatorio

    The issue number within the repository.

  • repositoryobject

    Minimal repository information attached to an issue.

  • statestringObligatorio

    The state of the issue: 'open' or 'closed'.

  • titlestringObligatorio

    The title of the issue.

  • updated_atstringObligatorio

    ISO 8601 timestamp when the issue was last updated.

  • urlstringObligatorio

    The REST API URL for this issue.

  • userobjectObligatorio

    The user who created the issue.

Instrucciones

This trigger fires whenever a new issue is assigned to the authenticated GitHub user. Pull requests are automatically excluded -- only true issues are emitted. **Payload contents:** The payload includes the issue number, title, body, state, labels, assignees, creator, repository details, and timestamps.

GitHub Issue Comment ChangedGITHUB_ISSUE_COMMENT_CHANGED_TRIGGERTrigger

Triggers when a specific GitHub issue comment changes. Monitors the following fields for changes: - ``body`` -- the text content of the comment (detects edits) - ``updated_at`` -- the last-updated timestamp - ``reactions_*`` -- all individual reaction counts (thumbs up/down, laugh, confused, heart, hooray, eyes, rocket) and the total count When a change is detected, the payload includes the full current comment data plus a ``changed_fields`` list indicating exactly which fields were modified.

Configuración

  • comment_idintegerObligatorio

    The unique numeric identifier of the issue comment to monitor. You can obtain this from the comment's URL or via the GitHub API.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'vscode').

Payload del evento

  • author_associationstringObligatorio

    How the author is associated with the repository. Possible values: COLLABORATOR, CONTRIBUTOR, FIRST_TIMER, FIRST_TIME_CONTRIBUTOR, MANNEQUIN, MEMBER, NONE, OWNER.

  • bodystringObligatorio

    Current body (text) of the issue comment.

  • changed_fieldsstring[]Obligatorio

    List of canonicalised field names that changed since the previous poll. Possible values: 'body', 'updated_at', 'reactions_total_count', 'reactions_plus_one', 'reactions_minus_one', 'reactions_laugh', 'reactions_confused', 'reactions_heart', 'reactions_hooray', 'reactions_eyes', 'reactions_rocket'.

  • comment_idintegerObligatorio

    Unique numeric ID of the issue comment.

  • created_atstringObligatorio

    ISO 8601 timestamp when the comment was created.

  • current_snapshotobject

    The canonicalised snapshot from the current poll.

  • event_typestring

    Event type identifier.

  • html_urlstringObligatorio

    Web URL to view the comment on GitHub.

  • issue_urlstringObligatorio

    GitHub API URL for the parent issue.

  • node_idstringObligatorio

    GraphQL node identifier of the comment.

  • ownerstringObligatorio

    Owner of the repository.

  • previous_snapshotobject

    The canonicalised snapshot from the previous poll.

  • reactionsobject

    Reaction counts for the issue comment.

  • repostringObligatorio

    Repository name.

  • updated_atstringObligatorio

    ISO 8601 timestamp when the comment was last updated.

  • urlstringObligatorio

    GitHub API URL for the issue comment.

  • userobject

    Condensed representation of the comment author.

Instrucciones

This trigger fires whenever a specific GitHub issue comment is modified -- for example when the comment body is edited or reactions are added or removed. **Payload details:** The payload includes the full current comment data. The `changed_fields` list indicates exactly which fields were modified, so you can route your automation precisely (e.g. act only on `body` changes to detect edits, or on `reactions_total_count` changes to detect new reactions).

New GitHub Issue CommentGITHUB_ISSUE_COMMENT_CREATED_TRIGGERTrigger

Triggers when a new comment is added to a specific GitHub issue. Only genuinely new comments are emitted; edits to existing comments do not produce duplicate events. The payload includes the comment ID, text body, author details, timestamps, and direct links to the comment on GitHub.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • issue_numberintegerObligatorio

    The number that identifies the issue to monitor for new comments (e.g. 42). You can find it in the issue URL (github.com/owner/repo/issues/42).

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'vscode').

Payload del evento

  • author_associationstringObligatorio

    The comment author's relationship to the repository. Possible values: COLLABORATOR, CONTRIBUTOR, FIRST_TIMER, FIRST_TIME_CONTRIBUTOR, MANNEQUIN, MEMBER, NONE, OWNER.

  • bodystringObligatorio

    The text content of the comment.

  • comment_idintegerObligatorio

    Unique identifier of the issue comment.

  • created_atstringObligatorio

    ISO 8601 timestamp when the comment was created.

  • html_urlstringObligatorio

    Web URL to view the comment on GitHub.

  • issue_numberintegerObligatorio

    The issue number this comment belongs to.

  • issue_urlstringObligatorio

    GitHub API URL for the parent issue.

  • node_idstringObligatorio

    GraphQL node ID of the comment.

  • ownerstringObligatorio

    Owner of the repository.

  • repostringObligatorio

    Repository name.

  • updated_atstringObligatorio

    ISO 8601 timestamp when the comment was last updated.

  • urlstringObligatorio

    GitHub API URL for the comment.

  • userobject

    GitHub user information associated with a comment.

Instrucciones

This trigger fires whenever a new comment is posted to a specific GitHub issue. Edits to existing comments are ignored -- only brand-new comments produce events. **Payload details:** Each event includes the comment ID, text body, author details, timestamps, and direct links to the comment on GitHub.

New Issue CreatedGITHUB_ISSUE_CREATED_TRIGGERTrigger

Triggers when a new issue is created in a GitHub repository. Pull requests are automatically excluded -- only true issues produce events. Results can be filtered by labels, assignee, creator, and mentioned user. The payload includes the issue number, title, body, state, labels, assignees, comment count, creator details, timestamps, and direct links to the issue on GitHub.

Configuración

  • assigneestring

    Filter issues assigned to a specific GitHub username. Use 'none' for unassigned issues, '*' for any assigned issue. Leave empty to receive issues regardless of assignee.

  • creatorstring

    Filter issues created by a specific GitHub username. Leave empty to receive issues from any creator.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • labelsstring

    A comma-separated list of label names to filter issues by. Only issues with ALL the specified labels will trigger events. Leave empty to receive all new issues regardless of labels.

  • mentionedstring

    Filter issues where the given GitHub username is mentioned. Leave empty to receive all new issues.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). Must contain only alphanumeric characters and hyphens, max 39 characters.

  • repostringObligatorio

    The name of the repository without the .git extension. Must contain only alphanumeric characters, hyphens, underscores, and periods.

  • statestring

    Issue state to monitor: 'open', 'closed', or 'all'. Defaults to 'open'.

Payload del evento

  • assigneesobject[]

    GitHub users assigned to this issue.

  • bodystring

    The body text / description of the issue.

  • closed_atstring

    ISO 8601 timestamp when the issue was closed, if applicable.

  • commentsintegerObligatorio

    Number of comments on the issue.

  • created_atstringObligatorio

    ISO 8601 timestamp when the issue was created.

  • html_urlstringObligatorio

    The GitHub URL to view this issue.

  • idintegerObligatorio

    The unique numeric ID of the issue.

  • is_pull_requestboolean

    True if this item is actually a pull request. GitHub's issues API also returns pull requests; this flag distinguishes them.

  • labelsobject[]

    Labels attached to the issue.

  • numberintegerObligatorio

    The issue number within the repository.

  • repository_namestringObligatorio

    The name of the repository the issue belongs to.

  • repository_ownerstringObligatorio

    The owner of the repository the issue belongs to.

  • statestringObligatorio

    The state of the issue: 'open' or 'closed'.

  • titlestringObligatorio

    The title of the issue.

  • updated_atstringObligatorio

    ISO 8601 timestamp when the issue was last updated.

  • urlstringObligatorio

    The REST API URL for this issue.

  • userobjectObligatorio

    The user who created the issue.

Instrucciones

This trigger fires whenever a new issue is created in a GitHub repository. Pull requests are automatically excluded -- only true issues produce events. **Payload details:** Each event includes the issue number, title, body, state, labels, assignees, comment count, creator details, timestamps, and direct links to the issue.

New Issue EventGITHUB_ISSUE_EVENT_OCCURRED_TRIGGERTrigger

Triggers when a new issue event occurs in a GitHub repository. Covers all issue timeline events such as issues being closed, reopened, assigned, unassigned, labeled, unlabeled, milestoned, demilestoned, renamed, locked, or unlocked. Events can optionally be filtered by type. The payload includes the event type, timestamp, the actor who triggered the event, the affected issue details, and any associated commit references.

Configuración

  • event_typesstring

    Comma-separated list of event types to filter (e.g., 'closed,labeled,assigned'). Leave empty to receive all issue events. Common values: closed, reopened, assigned, unassigned, labeled, unlabeled, milestoned, demilestoned, renamed, locked, unlocked.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). Must contain only alphanumeric characters and hyphens, max 39 characters.

  • repostringObligatorio

    The name of the repository without the .git extension. Must contain only alphanumeric characters, hyphens, underscores, and periods.

Payload del evento

  • actorobject

    Minimal GitHub user information for the event actor.

  • commit_idstring

    SHA of the commit that referenced this issue, if applicable.

  • commit_urlstring

    API URL for the associated commit, if applicable.

  • created_atstringObligatorio

    ISO 8601 timestamp when the event was created.

  • eventstringObligatorio

    The type of event (e.g., closed, reopened, assigned, unassigned, labeled, unlabeled, milestoned, demilestoned, renamed, locked, unlocked).

  • idintegerObligatorio

    The unique numeric ID of the issue event.

  • issueobject

    Minimal issue information embedded in the event.

  • node_idstringObligatorio

    GraphQL global node identifier of the event.

  • repository_namestringObligatorio

    The name of the repository the event belongs to.

  • repository_ownerstringObligatorio

    The owner of the repository the event belongs to.

  • urlstringObligatorio

    The REST API URL for this event.

Instrucciones

This trigger fires whenever a new issue event occurs in a GitHub repository, such as an issue being closed, reopened, assigned, labeled, milestoned, renamed, locked, or unlocked. **Payload details:** Each event includes the event type, timestamp, the actor who triggered the event, the affected issue details, and any associated commit references.

GitHub Issue Labels ChangedGITHUB_ISSUE_LABEL_CHANGED_TRIGGERTrigger

Triggers when the labels on a specific GitHub issue change. Fires whenever a label is added to, removed from, or has its metadata (color, description) modified on the monitored issue. The payload includes: - ``current_labels`` -- the full set of labels currently on the issue - ``added_labels`` -- labels that were newly added - ``removed_label_names`` -- names of labels that were removed - ``changed_label_names`` -- labels whose metadata changed without being added or removed

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • issue_numberintegerObligatorio

    The unique number of the GitHub issue to monitor for label changes. You can find this number in the issue's URL: https://github.com/{owner}/{repo}/issues/{issue_number}

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). This is not case-sensitive. For example: 'octocat' or 'my-organization'.

  • repostringObligatorio

    The name of the repository without the `.git` extension. This is not case-sensitive.

Payload del evento

  • added_labelsobject[]

    Labels that were added to the issue since the previous poll.

  • changed_label_namesstring[]

    Names of labels whose metadata (color, description) changed since the previous poll without being added/removed.

  • current_labelsobject[]

    The full current set of labels on the issue after the change.

  • event_typestring

    Event type identifier.

  • issue_numberintegerObligatorio

    The number of the issue whose labels changed.

  • ownerstringObligatorio

    The account owner of the repository (username or org).

  • removed_label_namesstring[]

    Names of labels that were removed from the issue since the previous poll.

  • repostringObligatorio

    The repository name.

Instrucciones

This trigger fires whenever the labels on a specific GitHub issue are added, removed, or have their metadata updated (color, description). **Payload details:** Each event includes: - `current_labels`: All labels currently on the issue - `added_labels`: Labels that were added since the last check - `removed_label_names`: Names of labels that were removed - `changed_label_names`: Labels whose color or description changed

Issue State / Properties ChangedGITHUB_ISSUE_STATE_CHANGED_TRIGGERTrigger

Triggers when a specific GitHub issue changes any of its tracked properties. Monitored properties: state (open/closed), state_reason, title, body, assignees, labels, milestone, lock status, active_lock_reason, comment count, and closed_at timestamp. When a change is detected, the payload includes the full current issue details, the list of changed field names, and their previous values.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • issue_numberintegerObligatorio

    The identifying number of the issue to monitor. This is the number shown next to the issue title (e.g., #42) or visible in the issue URL.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). Must contain only alphanumeric characters and hyphens, max 39 characters.

  • repostringObligatorio

    The name of the repository without the .git extension. Must contain only alphanumeric characters, hyphens, underscores, and periods.

Payload del evento

  • active_lock_reasonstring

    The reason the issue is locked, if locked.

  • assigneesobject[]

    GitHub users currently assigned to this issue.

  • bodystring

    The current body text / description of the issue.

  • changed_fieldsstring[]

    List of field names that changed since the last poll.

  • closed_atstring

    ISO 8601 timestamp when the issue was closed, if applicable.

  • commentsintegerObligatorio

    Number of comments on the issue.

  • created_atstringObligatorio

    ISO 8601 timestamp when the issue was created.

  • html_urlstringObligatorio

    The GitHub URL to view this issue.

  • idintegerObligatorio

    The unique numeric ID of the issue.

  • labelsobject[]

    Labels currently attached to the issue.

  • lockedbooleanObligatorio

    Whether the issue is locked.

  • numberintegerObligatorio

    The issue number within the repository.

  • previous_valuesobject

    Previous string-serialized values of the changed fields.

  • repository_namestringObligatorio

    The name of the repository the issue belongs to.

  • repository_ownerstringObligatorio

    The owner of the repository the issue belongs to.

  • statestringObligatorio

    The current state of the issue: 'open' or 'closed'.

  • state_reasonstring

    The reason for the current state. Possible values: completed, reopened, not_planned, duplicate, or null.

  • titlestringObligatorio

    The current title of the issue.

  • updated_atstringObligatorio

    ISO 8601 timestamp when the issue was last updated.

  • urlstringObligatorio

    The REST API URL for this issue.

  • userobjectObligatorio

    The user who created the issue.

Instrucciones

This trigger fires whenever a specific GitHub issue changes any of the following properties: state (open/closed), state_reason, title, body, assignees, labels, milestone, lock status, active_lock_reason, comment count, or closed_at timestamp. **Payload details:** Each event includes the full current issue details, the list of changed field names, and their previous values so you can react to specific property changes.

Issue UpdatedGITHUB_ISSUE_UPDATED_TRIGGERTrigger

Triggers when an existing issue is updated in a GitHub repository. Monitors issues for any changes such as title edits, body edits, label changes, assignee changes, state transitions (opening, closing, reopening), milestone updates, and comment additions. Only pre-existing issues that receive updates are emitted; newly created issues are excluded. Pull requests are also excluded -- only true issues fire events.

Configuración

  • assigneestring

    Filter issues assigned to a specific GitHub username. Use 'none' for unassigned issues, '*' for any assigned issue. Leave empty to receive issues regardless of assignee.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • labelsstring

    A comma-separated list of label names to filter issues by. Only issues with ALL the specified labels will trigger events. Leave empty to receive events for all issues regardless of labels.

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). Must contain only alphanumeric characters and hyphens, max 39 characters.

  • repostringObligatorio

    The name of the repository without the .git extension. Must contain only alphanumeric characters, hyphens, underscores, and periods.

  • statestring

    Filter by issue state. Use 'open' for open issues only, 'closed' for closed issues, or 'all' for both. Defaults to 'all' so updates to any issue (e.g., closing an issue) are captured.

Payload del evento

  • assigneesobject[]

    GitHub users assigned to this issue.

  • bodystring

    The body text / description of the issue.

  • closed_atstring

    ISO 8601 timestamp when the issue was closed, if applicable.

  • commentsintegerObligatorio

    Number of comments on the issue.

  • created_atstringObligatorio

    ISO 8601 timestamp when the issue was created.

  • html_urlstringObligatorio

    The GitHub URL to view this issue.

  • idintegerObligatorio

    The unique numeric ID of the issue.

  • labelsobject[]

    Labels attached to the issue.

  • numberintegerObligatorio

    The issue number within the repository.

  • repository_namestringObligatorio

    The name of the repository the issue belongs to.

  • repository_ownerstringObligatorio

    The owner of the repository the issue belongs to.

  • statestringObligatorio

    The state of the issue: 'open' or 'closed'.

  • state_reasonstring

    Reason for the current state (completed, not_planned, reopened, or null).

  • titlestringObligatorio

    The title of the issue.

  • updated_atstringObligatorio

    ISO 8601 timestamp when the issue was last updated.

  • urlstringObligatorio

    The REST API URL for this issue.

  • userobjectObligatorio

    The user who created the issue.

Instrucciones

This trigger fires whenever an existing issue is updated in a GitHub repository. Only pre-existing issues that receive updates are emitted; newly created issues and pull requests are excluded.

Label Added EventGITHUB_LABEL_ADDED_EVENTTrigger

Triggered when a new label is added to a pull request.

Configuración

  • ownerstringObligatorio

    Owner of the repository

  • repostringObligatorio

    Repository name

Payload del evento

  • actionstringObligatorio

    The action that was performed on the label

  • labelstringObligatorio

    The name of the label that was added

  • labeled_atstringObligatorio

    The timestamp when the label was added

  • labeled_bystringObligatorio

    The GitHub username of the user who added the label

  • pull_request_numberintegerObligatorio

    The unique number assigned to the pull request

  • pull_request_titlestringObligatorio

    The title of the pull request

  • pull_request_urlstringObligatorio

    The GitHub URL of the pull request

Instrucciones

This trigger fires every time a new label is added to a pull request on the repository.

New Stargazer AddedGITHUB_NEW_STARGAZER_ADDED_TRIGGERTrigger

Triggers when a new user stars a GitHub repository. Emits an event for each new stargazer detected on the monitored repository.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'vscode').

Payload del evento

  • api_urlstringObligatorio

    GitHub API URL for the stargazer's user resource.

  • avatar_urlstringObligatorio

    URL to the stargazer's avatar image.

  • event_typestring

    Type of event that occurred.

  • html_urlstringObligatorio

    GitHub profile URL of the stargazer.

  • loginstringObligatorio

    GitHub username of the user who starred the repository.

  • ownerstringObligatorio

    Owner of the repository.

  • repostringObligatorio

    Repository name.

  • site_adminbooleanObligatorio

    Whether the stargazer is a GitHub site administrator.

  • user_idintegerObligatorio

    Unique numeric identifier for the user who starred the repository.

  • user_typestringObligatorio

    Type of the GitHub account (e.g. 'User' or 'Organization').

Instrucciones

This trigger fires whenever a new user stars the monitored GitHub repository.

New Pull Request Review CommentGITHUB_PR_REVIEW_COMMENT_CREATED_TRIGGERTrigger

Triggers when a new inline review comment is added to a specific GitHub pull request. Monitors all review comments across all reviews on the specified pull request and emits an event for each newly created comment. Edits to existing comments do not fire new events.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • pull_numberintegerObligatorio

    The number that identifies the pull request to monitor (e.g. 42). You can find it in the PR URL (github.com/owner/repo/pull/42).

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'vscode').

Payload del evento

  • author_associationstringObligatorio

    The comment author's relationship to the repository. Possible values: COLLABORATOR, CONTRIBUTOR, FIRST_TIMER, FIRST_TIME_CONTRIBUTOR, MANNEQUIN, MEMBER, NONE, OWNER.

  • bodystringObligatorio

    The text content of the review comment.

  • comment_idintegerObligatorio

    Unique identifier of the review comment.

  • commit_idstringObligatorio

    The SHA of the commit to which the comment applies.

  • created_atstringObligatorio

    ISO 8601 timestamp when the comment was created.

  • diff_hunkstringObligatorio

    The diff hunk of the file that the comment refers to.

  • html_urlstringObligatorio

    Web URL to view the comment on GitHub.

  • in_reply_to_idinteger

    The comment ID this comment replies to, if any.

  • lineinteger

    The line of the blob to which the comment applies. The last line of the range for a multi-line comment.

  • node_idstringObligatorio

    GraphQL node ID of the comment.

  • original_commit_idstringObligatorio

    The SHA of the original commit to which the comment applies.

  • original_lineinteger

    The original line index in the diff.

  • original_start_lineinteger

    The original first line of the range for a multi-line comment.

  • ownerstringObligatorio

    Owner of the repository.

  • pathstringObligatorio

    The relative path of the file to which the comment applies.

  • pull_numberintegerObligatorio

    The pull request number this comment belongs to.

  • pull_request_review_idinteger

    The ID of the pull request review the comment belongs to, if any.

  • pull_request_urlstringObligatorio

    GitHub API URL for the parent pull request.

  • repostringObligatorio

    Repository name.

  • sidestring

    The side of the diff to which the comment applies (LEFT or RIGHT).

  • start_lineinteger

    The first line of the range for a multi-line comment.

  • start_sidestring

    The side of the diff where the multi-line comment range starts (LEFT or RIGHT).

  • subject_typestring

    The level at which the comment is targeted: 'line' or 'file'.

  • updated_atstringObligatorio

    ISO 8601 timestamp when the comment was last updated.

  • urlstringObligatorio

    GitHub API URL for the review comment.

  • userobject

    GitHub user information associated with a pull request review comment.

Instrucciones

This trigger fires whenever a new inline review comment is posted to a specific pull request on GitHub. It monitors all review comments on the pull request, not limited to a specific review. Edits to existing comments do not fire new events.

New Commit Added to Pull RequestGITHUB_PULL_REQUEST_COMMIT_ADDED_TRIGGERTrigger

Triggers when a new commit is pushed to a specific pull request. Monitors all commits on the specified pull request and emits an event for each newly added commit. This covers force-pushes and additional commits pushed to the PR's head branch.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). Case-insensitive.

  • pull_numberintegerObligatorio

    The number of the pull request to monitor for new commits.

  • repostringObligatorio

    The name of the repository without the .git extension. Case-insensitive.

Payload del evento

  • authorobject

    Minimal GitHub user info (author or committer).

  • comments_urlstring

    API URL for comments on this commit.

  • commitobject

    Detailed metadata embedded in the commit object.

  • committerobject

    Minimal GitHub user info (author or committer).

  • html_urlstring

    GitHub URL to view the commit.

  • node_idstring

    The GraphQL node ID of the commit.

  • parentsobject[]

    Parent commits of this commit.

  • pull_numberintegerObligatorio

    The pull request number this commit belongs to.

  • repository_namestringObligatorio

    The name of the repository (from config).

  • repository_ownerstringObligatorio

    The owner of the repository (from config).

  • shastringObligatorio

    The commit SHA.

  • urlstring

    API URL for this commit.

Instrucciones

This trigger fires whenever a new commit is pushed to a specific pull request in a GitHub repository.

New Pull Request CreatedGITHUB_PULL_REQUEST_CREATEDTrigger

Triggers when a new pull request is created in GitHub, matching the optional configured filters. Emits an event for each newly created pull request. Supports filtering by repository, owner/organisation, author, assignee, label, state, base branch, head branch, and draft status.

Configuración

  • assigneestring

    Only emit events for pull requests assigned to this GitHub username. Use '@me' to match the authenticated user.

  • authorstring

    Only emit events for pull requests created by this GitHub username. Must be a valid GitHub login (alphanumeric + hyphens only, max 39 chars).

  • base_branchstring

    Only emit events for pull requests targeting this base branch (e.g., 'main' or 'develop').

  • head_branchstring

    Only emit events for pull requests whose source branch matches this name (e.g., 'feature/login').

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • is_draftboolean

    Filter by draft status. Set to True to receive events only for draft PRs, False for non-draft PRs, or leave blank to receive both.

  • labelstring

    Only emit events for pull requests that carry this label name (e.g., 'bug', 'enhancement').

  • ownerstring

    Restrict the search to all repositories belonging to a GitHub user or organisation (e.g., 'facebook' or 'microsoft'). Ignored when 'repo' is also provided.

  • repostring

    Restrict the search to a specific repository. Must be in 'owner/repo' format (e.g., 'facebook/react'). Leave blank to search across all repositories accessible to the account.

  • statestring

    Pull request state to monitor: 'open', 'closed', or 'all'. Defaults to 'open'.

Payload del evento

  • author_html_urlstring

    GitHub profile URL of the pull request author.

  • author_loginstring

    GitHub username of the pull request author.

  • bodystring

    Body/description of the pull request in markdown format.

  • closed_atstring

    ISO 8601 timestamp when the pull request was closed, null if open.

  • commentsinteger

    Number of comments on the pull request.

  • created_atstringObligatorio

    ISO 8601 timestamp when the pull request was created.

  • draftbooleanObligatorio

    Whether the pull request is marked as a draft.

  • event_typestring

    Event type identifier for this trigger.

  • html_urlstringObligatorio

    GitHub web interface URL to view the pull request.

  • labelsstring[]

    Names of the labels attached to this pull request.

  • merged_atstring

    ISO 8601 timestamp when the pull request was merged, null if not merged.

  • node_idstring

    GraphQL node identifier for the pull request.

  • numberintegerObligatorio

    Pull request number within the repository.

  • pr_idstringObligatorio

    Unique numeric identifier of the pull request (as string).

  • repository_urlstring

    GitHub API URL for the repository the pull request belongs to.

  • statestringObligatorio

    State of the pull request: 'open' or 'closed'.

  • titlestringObligatorio

    Title of the pull request.

  • updated_atstringObligatorio

    ISO 8601 timestamp when the pull request was last updated.

Instrucciones

This trigger fires whenever a new pull request is created in GitHub that matches the configured filters.

Pull Request EventGITHUB_PULL_REQUEST_EVENTTrigger

Triggered when a pull request is opened, closed, or synchronized.

Configuración

  • ownerstringObligatorio

    Owner of the repository

  • repostringObligatorio

    Repository name

Payload del evento

  • actionstringObligatorio

    The action that was performed on the pull request

  • createdAtstringObligatorio

    The timestamp when the pull request was created

  • createdBystringObligatorio

    The GitHub username of the user who created the pull request

  • descriptionstring

    A detailed description of the pull request

  • numberintegerObligatorio

    The unique number assigned to the pull request

  • titlestringObligatorio

    The title of the pull request

  • urlstringObligatorio

    The GitHub URL of the pull request

Instrucciones

This trigger fires every time a pull request is opened, closed, or synchronized on the repository.

GitHub Pull Request Reviewers ChangedGITHUB_PULL_REQUEST_REVIEWERS_CHANGED_TRIGGERTrigger

Triggers when the list of requested reviewers (users or teams) for a pull request changes — for example when a reviewer is added, removed, or re-requested. The payload includes the full current reviewer list (users and teams with details), which reviewers were added, which were removed, and the previous reviewer list for reference.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • pull_numberintegerObligatorio

    The numeric identifier of the pull request to monitor (e.g. 42). You can find this in the pull request URL.

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'my-project').

Payload del evento

  • current_team_slugsstring[]Obligatorio

    Sorted list of team slugs currently requested to review.

  • current_teamsobject[]

    Full details of teams currently requested to review.

  • current_user_loginsstring[]Obligatorio

    Sorted list of GitHub user logins currently requested to review.

  • current_usersobject[]

    Full details of users currently requested to review.

  • event_typestring

    Event type identifier.

  • ownerstringObligatorio

    Owner of the repository.

  • previous_team_slugsstring[]

    Sorted list of team slugs from the previous poll.

  • previous_user_loginsstring[]

    Sorted list of user logins from the previous poll.

  • pull_numberintegerObligatorio

    The numeric identifier of the pull request.

  • repostringObligatorio

    Repository name.

  • teams_addedstring[]

    Team slugs that were newly added as requested reviewers.

  • teams_removedstring[]

    Team slugs that were removed from requested reviewers.

  • users_addedstring[]

    User logins that were newly added as requested reviewers.

  • users_removedstring[]

    User logins that were removed from requested reviewers.

Instrucciones

This trigger fires whenever the list of requested reviewers (individual users or teams) for a specific pull request changes — for example when a reviewer is added, removed, or re-requested.

Pull Request Review SubmittedGITHUB_PULL_REQUEST_REVIEW_SUBMITTED_TRIGGERTrigger

Triggers when a new review is submitted for a GitHub pull request. Emits an event for each newly submitted review on the monitored pull request, covering all review types: APPROVED, CHANGES_REQUESTED, COMMENTED, and DISMISSED.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • pull_numberintegerObligatorio

    The number of the pull request to monitor for new reviews.

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'vscode').

Payload del evento

  • author_associationstringObligatorio

    How the reviewer is associated with the repository (e.g. COLLABORATOR, CONTRIBUTOR, MEMBER, NONE, OWNER).

  • bodystringObligatorio

    The body text of the review.

  • commit_idstringObligatorio

    The commit SHA that was reviewed.

  • event_typestring

    Type of event that occurred.

  • html_urlstringObligatorio

    Web URL for the review.

  • node_idstringObligatorio

    GraphQL node identifier of the review.

  • ownerstringObligatorio

    Owner of the repository.

  • pull_numberintegerObligatorio

    The number of the pull request being reviewed.

  • pull_request_urlstringObligatorio

    API URL for the associated pull request.

  • repostringObligatorio

    Repository name.

  • review_idintegerObligatorio

    Unique numeric identifier of the review.

  • reviewerobject

    Minimal representation of the reviewer user.

  • statestringObligatorio

    State of the review. Possible values: APPROVED, CHANGES_REQUESTED, COMMENTED, DISMISSED, PENDING.

  • submitted_atstring

    ISO 8601 timestamp of when the review was submitted.

Instrucciones

This trigger fires whenever a new review is submitted for the monitored GitHub pull request, covering approvals, change requests, comments, and dismissals.

Pull Request State / Properties ChangedGITHUB_PULL_REQUEST_STATE_CHANGED_TRIGGERTrigger

Triggers when a specific GitHub pull request changes any of these tracked properties: state (open/closed), title, body, draft status, lock status, merge status, assignees, labels, requested reviewers, or milestone. The payload includes the full current PR details, the list of changed field names, and their previous values.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner of the repository (username or organization name). Must contain only alphanumeric characters and hyphens, max 39 characters.

  • pull_numberintegerObligatorio

    The identifying number of the pull request to monitor. This is the number shown next to the PR title (e.g., #42) or visible in the pull request URL.

  • repostringObligatorio

    The name of the repository without the .git extension. Must contain only alphanumeric characters, hyphens, underscores, and periods.

Payload del evento

  • active_lock_reasonstring

    The reason the pull request is locked, if locked.

  • assigneesobject[]

    GitHub users currently assigned to this pull request.

  • bodystring

    The current body / description of the pull request.

  • changed_fieldsstring[]

    List of field names that changed since the last poll.

  • closed_atstring

    ISO 8601 timestamp when the pull request was closed, if applicable.

  • created_atstringObligatorio

    ISO 8601 timestamp when the pull request was created.

  • draftbooleanObligatorio

    Whether the pull request is a draft.

  • html_urlstringObligatorio

    The GitHub URL to view this pull request.

  • idintegerObligatorio

    The unique numeric ID of the pull request.

  • labelsobject[]

    Labels currently attached to the pull request.

  • lockedbooleanObligatorio

    Whether the pull request is locked.

  • merge_commit_shastring

    SHA of the merge commit, if merged.

  • mergedbooleanObligatorio

    Whether the pull request has been merged.

  • merged_atstring

    ISO 8601 timestamp when the pull request was merged, if applicable.

  • merged_byobject

    Minimal GitHub user information attached to a pull request.

  • milestonestring

    The milestone title associated with the pull request, if any.

  • numberintegerObligatorio

    The PR number within the repository.

  • previous_valuesobject

    Previous string-serialized values of the changed fields.

  • repository_namestringObligatorio

    The name of the repository the pull request belongs to.

  • repository_ownerstringObligatorio

    The owner of the repository the pull request belongs to.

  • requested_reviewersobject[]

    GitHub users whose review is currently requested.

  • statestringObligatorio

    The current state of the pull request: 'open' or 'closed'.

  • titlestringObligatorio

    The current title of the pull request.

  • updated_atstringObligatorio

    ISO 8601 timestamp when the pull request was last updated.

  • urlstringObligatorio

    The REST API URL for this pull request.

  • userobjectObligatorio

    The user who created the pull request.

Instrucciones

This trigger fires whenever a specific GitHub pull request changes any of the following tracked properties: state (open/closed), title, body, draft status, lock status, merge status (merged/merged_at/merge_commit_sha), assignees, labels, requested reviewers, or milestone.

Pull Request UpdatedGITHUB_PULL_REQUEST_UPDATEDTrigger

Triggers when an existing pull request is updated in a GitHub repository. Updates include title edits, description changes, label changes, assignee changes, reviewer requests, draft status changes, base branch changes, being closed, merged, or reopened. Only pre-existing PRs that receive an update will fire the trigger; newly created PRs are excluded. Supports optional filters: state, base branch, head branch, author, label, and draft status.

Configuración

  • authorstring

    Only emit events for pull requests authored by this GitHub username. Leave blank to watch PRs from any author.

  • base_branchstring

    Only emit events for pull requests targeting this base branch (the branch being merged into). Leave blank to watch all base branches.

  • draftboolean

    Filter by draft status. Set to True to only watch draft PRs, False for non-draft PRs, or leave blank (None) to watch both.

  • head_branchstring

    Only emit events for pull requests coming from this head branch (the branch being merged). Supports the 'user:branch' format to filter across forks. Leave blank to watch all head branches.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • labelstring

    Only emit events for pull requests carrying this exact label name. Leave blank to watch PRs regardless of labels.

  • ownerstringObligatorio

    The account owner of the repository (GitHub username or organization name). Do not include the repository name here.

  • repostringObligatorio

    The name of the repository to watch for updated pull requests. Do not include the owner prefix.

  • statestring

    Filter pull requests by state. Use 'open' for open PRs only, 'closed' for closed (merged or unmerged) PRs, or 'all' to catch updates to PRs in any state (e.g., a PR being merged or closed). Defaults to 'all'.

Payload del evento

  • assigneesobject[]

    List of GitHub users currently assigned to the pull request.

  • author_associationstring

    Author's relationship to the repository: COLLABORATOR, CONTRIBUTOR, FIRST_TIMER, FIRST_TIME_CONTRIBUTOR, MANNEQUIN, MEMBER, NONE, or OWNER.

  • baseobject

    Branch information (head or base) for a pull request.

  • bodystring

    The description / body of the pull request in markdown format.

  • closed_atstring

    ISO 8601 timestamp when the pull request was closed, null if still open.

  • created_atstringObligatorio

    ISO 8601 timestamp when the pull request was created.

  • draftbooleanObligatorio

    Whether the pull request is marked as a draft.

  • event_typestring

    Event type identifier for this trigger.

  • headobject

    Branch information (head or base) for a pull request.

  • html_urlstringObligatorio

    GitHub web interface URL to view the pull request.

  • idintegerObligatorio

    The unique numeric ID of the pull request across all of GitHub.

  • labelsobject[]

    Labels attached to the pull request.

  • lockedbooleanObligatorio

    Whether the pull request conversation is locked.

  • merge_commit_shastring

    SHA of the merge commit. Present before merging as a test-merge SHA; set to the actual merge commit SHA after merge.

  • merged_atstring

    ISO 8601 timestamp when the pull request was merged, null if not merged.

  • numberintegerObligatorio

    The pull request number within the repository.

  • repository_namestringObligatorio

    The name of the repository.

  • repository_ownerstringObligatorio

    The owner (user or organization) of the repository.

  • requested_reviewersobject[]

    List of users requested to review the pull request.

  • statestringObligatorio

    Current state of the pull request: 'open' or 'closed'.

  • titlestringObligatorio

    The title of the pull request.

  • updated_atstringObligatorio

    ISO 8601 timestamp when the pull request was last updated.

  • urlstringObligatorio

    GitHub REST API URL for this pull request.

  • userobject

    GitHub user information attached to a pull request.

Instrucciones

This trigger fires whenever an existing pull request is updated in the configured GitHub repository. Updates include: title edits, description edits, label changes, assignee changes, reviewer requests, draft status changes, base branch changes, being closed, merged, or reopened. Newly created PRs are excluded; only pre-existing PRs that receive an update will fire the trigger.

GitHub Repository README ChangedGITHUB_README_CHANGED_TRIGGERTrigger

Triggers when the README file in a specific repository directory changes. Monitors the README in a configurable directory and branch/tag/commit. The payload includes the current README metadata (filename, path, SHA, size, URLs), the previous and current git blob SHAs, and a list of which tracked fields changed.

Configuración

  • dirstring

    The directory path within the repository whose README to monitor. Use '.' or leave blank to monitor the root README. For a subdirectory, provide the relative path (e.g. 'docs' or 'src/api').

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • refstring

    Optional Git ref (branch, tag, or commit SHA) to read the README from. Leave blank to use the repository's default branch.

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'my-project').

Payload del evento

  • changed_fieldsstring[]

    List of tracked field names that changed since the previous poll. Possible values: 'sha', 'size', 'name', 'path'.

  • current_shastring

    The git blob SHA observed in the current poll (after the change).

  • current_snapshotobject

    The canonicalised snapshot from the current poll.

  • dirstringObligatorio

    Directory path that was monitored.

  • download_urlstring

    URL to download the raw README content.

  • encodingstring

    Encoding used for the README content (typically 'base64').

  • event_typestring

    Event type identifier.

  • git_urlstring

    GitHub API URL to the underlying git blob.

  • html_urlstring

    URL to view the README on GitHub.

  • namestring

    Filename of the README (e.g. 'README.md').

  • ownerstringObligatorio

    Owner of the repository.

  • pathstring

    Full path of the README within the repository.

  • previous_shastring

    The git blob SHA observed in the previous poll (before the change).

  • previous_snapshotobject

    The canonicalised snapshot from the previous poll.

  • repostringObligatorio

    Repository name.

  • shastring

    Current git blob SHA of the README content.

  • sizeinteger

    Current size of the README file in bytes.

  • urlstring

    GitHub API URL for the README resource.

Instrucciones

This trigger fires whenever the README file in a specific repository directory changes — for example when new documentation is added or existing content is updated.

New GitHub Release Asset AddedGITHUB_RELEASE_ASSET_ADDED_TRIGGERTrigger

Triggers when a new asset is added to a specific GitHub release. Monitors a single release (identified by release ID) for newly uploaded assets such as binaries, archives, or checksum files. One event is emitted per new asset, containing full asset metadata.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The GitHub username or organization name that owns the repository (e.g. 'octocat' or 'my-organization').

  • release_idintegerObligatorio

    The unique numeric identifier of the release to monitor for new assets. You can obtain this by listing releases for the repository.

  • repostringObligatorio

    The name of the repository that contains the release to monitor (without the .git extension, e.g. 'Hello-World').

Payload del evento

  • asset_idintegerObligatorio

    Unique numeric identifier of the newly added release asset.

  • browser_download_urlstringObligatorio

    Direct download URL for the asset accessible in a browser.

  • content_typestringObligatorio

    MIME type of the asset (e.g. 'application/zip', 'text/plain').

  • created_atstringObligatorio

    ISO 8601 timestamp of when the asset was created.

  • digeststring

    SHA256 hash of the asset file for integrity verification.

  • download_countinteger

    Number of times the asset has been downloaded.

  • event_typestring

    Event type identifier for this trigger.

  • labelstring

    An optional label providing additional context for the asset.

  • namestringObligatorio

    The file name of the asset.

  • node_idstringObligatorio

    GraphQL node identifier for the release asset.

  • ownerstringObligatorio

    The GitHub username or organization that owns the repository.

  • release_idintegerObligatorio

    The numeric ID of the release this asset belongs to.

  • repostringObligatorio

    The name of the repository containing this release.

  • sizeintegerObligatorio

    Size of the asset file in bytes.

  • statestringObligatorio

    State of the release asset (e.g. 'uploaded' or 'open').

  • updated_atstringObligatorio

    ISO 8601 timestamp of when the asset was last updated.

  • uploader_idinteger

    Numeric GitHub user ID of the uploader.

  • uploader_loginstring

    GitHub login (username) of the user who uploaded the asset.

  • urlstringObligatorio

    GitHub REST API URL for this release asset.

Instrucciones

This trigger fires whenever a new asset is uploaded to a specific GitHub release.

GitHub Release State ChangedGITHUB_RELEASE_STATE_CHANGED_TRIGGERTrigger

Triggers when a specific GitHub release (identified by tag name) changes. Monitors the release title, body/notes, draft flag, prerelease flag, published timestamp, target branch/commit, and the set of attached assets. The payload includes the full current release details, a list of which fields changed, and the previous values for comparison.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'my-project').

  • tagstringObligatorio

    The exact Git tag name of the release to monitor (e.g. 'v1.0.0'). This identifies the specific release by its tag.

Payload del evento

  • assetsobject[]

    Current list of release assets.

  • bodystring

    Current release body/notes in markdown format.

  • changed_fieldsstring[]Obligatorio

    List of field names that changed since the previous poll. Possible values: 'name', 'body', 'draft', 'prerelease', 'published_at', 'target_commitish', 'asset_ids'.

  • current_snapshotobject

    The canonicalised snapshot from the current poll.

  • draftbooleanObligatorio

    Whether the release is currently a draft.

  • event_typestring

    Event type identifier.

  • html_urlstring

    Web URL to view the release on GitHub.

  • namestring

    Current release name/title.

  • ownerstringObligatorio

    Owner of the repository.

  • prereleasebooleanObligatorio

    Whether the release is currently marked as a prerelease.

  • previous_snapshotobject

    The canonicalised snapshot from the previous poll.

  • published_atstring

    ISO 8601 timestamp when the release was published (null for drafts).

  • release_idinteger

    Numeric ID of the release that changed.

  • repostringObligatorio

    Repository name.

  • tag_namestringObligatorio

    Git tag name for the release.

  • target_commitishstringObligatorio

    The branch or commit SHA the release tag points to.

Instrucciones

This trigger fires whenever a specific GitHub release changes — for example when the release name or notes are edited, the draft/prerelease flag is toggled, the release is published, or assets are added or removed.

Repository Content ChangedGITHUB_REPOSITORY_CONTENT_CHANGED_TRIGGERTrigger

Triggers when the content of a file or directory in a GitHub repository changes. Monitors a specified path within a repository on a given branch or tag. For a single file, fires ``content_changed`` when the file is modified. For a directory, fires ``content_changed``, ``content_added``, or ``content_removed`` for modified, new, or deleted entries respectively. content.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • pathstring

    Path to the file or directory to monitor within the repository. Use an empty string (default) to monitor the root directory. For a specific file use its full path (e.g. 'README.md', 'src/main.py'). For a directory use its path (e.g. 'src', 'docs/api').

  • refstring

    The git reference (branch name, tag name, or commit SHA) to monitor. If omitted the repository's default branch is used.

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'my-project').

Payload del evento

  • event_typestringObligatorio

    Type of change: 'content_changed', 'content_added', or 'content_removed'.

  • itemobjectObligatorio

    Metadata snapshot of the content item that changed, was added, or was removed.

  • monitored_pathstringObligatorio

    The file or directory path being monitored.

  • ownerstringObligatorio

    Owner of the repository.

  • previous_shastring

    SHA of the item before the change. Non-empty only for 'content_changed' events.

  • refstring

    The git reference (branch/tag/SHA) that was monitored. Empty string means the repository's default branch was used.

  • repostringObligatorio

    Repository name.

Instrucciones

This trigger fires whenever the content of a file or directory in a GitHub repository changes. **Payload:** Each event includes the event type, the content item's metadata (name, path, type, size, URLs), and the repository owner, name, monitored path, and ref.

Repository Notification ReceivedGITHUB_REPOSITORY_NOTIFICATION_RECEIVED_TRIGGERTrigger

Triggers when a new or newly updated notification thread appears for a specific GitHub repository. Monitors notifications for issues, pull requests, commits, releases, check suites, security alerts, and other repository activity. Supports filtering by read/unread status and by direct participation. Requires a Personal Access Token (classic) with the ``notifications``

Configuración

  • allboolean

    If true, also return notifications that have already been marked as read. Default (false) shows only unread notifications.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner of the repository (username or organization). Not case sensitive.

  • participatingboolean

    If true, only return notifications where the authenticated user is directly participating or mentioned.

  • repostringObligatorio

    The name of the repository (without the .git extension). Not case sensitive.

Payload del evento

  • idstringObligatorio

    Notification thread ID.

  • last_read_atstring

    ISO 8601 timestamp of when the thread was last read, or null.

  • reasonstringObligatorio

    Reason the authenticated user received the notification (e.g., subscribed, mentioned, author, assign, review_requested, comment, ci_activity, security_alert, state_change, team_mention).

  • repositoryobjectObligatorio

    Repository the notification belongs to.

  • subjectobjectObligatorio

    Subject of the notification thread.

  • subscription_urlstringObligatorio

    API URL for managing the thread subscription.

  • unreadbooleanObligatorio

    Whether the notification thread is unread.

  • updated_atstringObligatorio

    ISO 8601 timestamp of when the notification thread was last updated.

  • urlstringObligatorio

    API URL for this notification thread.

Instrucciones

This trigger fires when a new or newly updated notification thread appears for a specific GitHub repository you have access to. It covers issues, pull requests, commits, releases, check suites, security alerts, and more. **Payload:** Each event includes the notification thread ID, subject (title, type, URL), the reason the notification was received (e.g., subscribed, mentioned, author, review_requested), read/unread status, timestamps, and repository metadata.

New Repository Tag CreatedGITHUB_REPOSITORY_TAG_CREATED_TRIGGERTrigger

Triggers when a new tag is created in a GitHub repository. Monitors the repository's tags and fires an event for each newly created tag. The payload includes the tag name, the commit SHA and URL it points to, and archive download URLs.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'my-project').

Payload del evento

  • commit_shastringObligatorio

    The SHA of the commit the tag points to.

  • commit_urlstringObligatorio

    The API URL of the commit the tag points to.

  • event_typestring

    Type of event that occurred.

  • node_idstringObligatorio

    The GraphQL node ID of the tag reference.

  • ownerstringObligatorio

    Owner of the repository.

  • repostringObligatorio

    Repository name.

  • tag_namestringObligatorio

    The name of the newly created tag.

  • tarball_urlstringObligatorio

    URL to download a tarball archive of the repository at this tag.

  • zipball_urlstringObligatorio

    URL to download a zipball archive of the repository at this tag.

Instrucciones

This trigger fires whenever a new tag is created in a GitHub repository. **Payload:** Each event includes the tag name, the commit SHA and URL it points to, archive download URLs (zipball and tarball), and the GraphQL node ID.

New Secret Scanning Alert DetectedGITHUB_SECRET_SCANNING_ALERT_DETECTED_TRIGGERTrigger

Triggers when a new secret scanning alert is detected in a GitHub repository. Monitors open secret scanning alerts and fires an event for each newly detected alert. Supports filtering by secret type (e.g., personal access tokens, AWS keys) and by token validity status (active, inactive, unknown). The payload includes the alert number, secret type, validity status, resolution state, timestamps, URLs, and flags for push protection bypass, public exposure, and multi-repo detection.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner of the repository. The name is not case sensitive.

  • repostringObligatorio

    The name of the repository without the .git extension. The name is not case sensitive.

  • secret_typestring

    Comma-separated list of secret types to filter by (e.g., 'github_personal_access_token,aws_access_key_id'). Leave empty to monitor all secret types.

  • validitystringenum

    Filter by token validity status: 'active' (token still valid), 'inactive' (token revoked/expired), or 'unknown'. Leave empty to monitor all validity states.

    activeinactiveunknown

Payload del evento

  • created_atstring

    The ISO 8601 timestamp when the alert was created.

  • html_urlstring

    The GitHub web URL for the alert.

  • locations_urlstring

    The REST API URL for the locations where the secret was detected.

  • multi_repoboolean

    Whether the secret was found in multiple repositories.

  • numberinteger

    The security alert number identifier.

  • publicly_leakedboolean

    Whether the secret was found publicly exposed.

  • push_protection_bypassedboolean

    Whether push protection was bypassed for this secret.

  • push_protection_bypassed_atstring

    The ISO 8601 timestamp when push protection was bypassed.

  • resolutionstring

    The resolution when the alert is resolved: 'false_positive', 'wont_fix', 'revoked', 'pattern_edited', 'pattern_deleted', or 'used_in_tests'.

  • resolved_atstring

    The ISO 8601 timestamp when the alert was resolved, if applicable.

  • secret_typestring

    The type of secret that was detected (e.g., 'github_personal_access_token', 'aws_access_key_id').

  • secret_type_display_namestring

    The human-readable display name of the secret type.

  • statestring

    The state of the alert: 'open' or 'resolved'.

  • updated_atstring

    The ISO 8601 timestamp when the alert was last updated.

  • urlstring

    The REST API URL for the alert.

  • validitystring

    The validity status of the detected token: 'active', 'inactive', or 'unknown'.

Instrucciones

This trigger fires whenever a new secret scanning alert is detected in a GitHub repository. **Payload:** Each event includes the alert number, secret type and display name, validity status, state (open/resolved), resolution details, timestamps, URLs, and flags for push protection bypass, public exposure, and multi-repo detection.

Star Added EventGITHUB_STAR_ADDED_EVENTTrigger

Triggered when a new star is added to the repository.

Configuración

  • ownerstringObligatorio

    Owner of the repository

  • repostringObligatorio

    Repository name

Payload del evento

  • actionstringObligatorio

    The action that was performed on the star

  • repository_idintegerObligatorio

    The unique ID assigned to the repository

  • repository_namestringObligatorio

    The name of the repository

  • repository_urlstringObligatorio

    The GitHub URL of the repository

  • starred_atstringObligatorio

    The timestamp when the star was added

  • starred_bystringObligatorio

    The GitHub username of the user who added the star

Instrucciones

This trigger fires every time a new star is added to the repository.

New GitHub Actions Workflow AddedGITHUB_WORKFLOW_ADDED_TRIGGERTrigger

Triggers when a new GitHub Actions workflow is added to a repository. Monitors a repository's GitHub Actions workflows and fires an event for each newly added workflow. The payload includes the workflow's name, file path, state, creation and update timestamps, and URLs for the API, web interface, and status badge.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The GitHub username or organization name that owns the repository (e.g. 'octocat' or 'my-organization').

  • repostringObligatorio

    The name of the repository to monitor for new workflows (without the .git extension, e.g. 'Hello-World').

Payload del evento

  • badge_urlstringObligatorio

    URL for the workflow status badge image.

  • created_atstringObligatorio

    ISO 8601 timestamp of when the workflow was created.

  • deleted_atstring

    ISO 8601 timestamp of when the workflow was deleted, or null if not deleted.

  • event_typestring

    Type of event that occurred.

  • html_urlstringObligatorio

    GitHub web interface URL where the workflow can be viewed.

  • namestringObligatorio

    The name of the workflow as defined in the workflow file.

  • node_idstringObligatorio

    GraphQL node identifier for the workflow.

  • ownerstringObligatorio

    The GitHub username or organization that owns the repository.

  • pathstringObligatorio

    The path to the workflow file within the repository (e.g. '.github/workflows/ci.yaml').

  • repostringObligatorio

    The name of the repository the workflow was added to.

  • statestringObligatorio

    Current state of the workflow. Possible values: active, deleted, disabled_fork, disabled_inactivity, disabled_manually.

  • updated_atstringObligatorio

    ISO 8601 timestamp of when the workflow was last updated.

  • urlstringObligatorio

    API endpoint URL for accessing this specific workflow.

  • workflow_idintegerObligatorio

    Unique numeric identifier of the newly added workflow.

Instrucciones

This trigger fires whenever a new GitHub Actions workflow is added to a repository. **Payload:** Each event includes the workflow's numeric ID, name, file path (e.g. `.github/workflows/ci.yaml`), state (active, disabled, etc.), creation and update timestamps, and URLs for the API, web interface, and status badge.

New Workflow Job AddedGITHUB_WORKFLOW_JOB_ADDED_TRIGGERTrigger

Triggers when a new job appears in a specific GitHub Actions workflow run. This is useful for detecting matrix-expanded jobs that are added after the initial workflow run creation, or any other scenario where jobs are dynamically added to an existing run.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft'). Not case-sensitive.

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'my-project'). Not case-sensitive.

  • run_idintegerObligatorio

    The unique identifier of the workflow run to monitor. You can find this in the URL of the workflow run page on GitHub (e.g. https://github.com/owner/repo/actions/runs/123456789).

Payload del evento

  • check_run_urlstringObligatorio

    The API URL of the check run associated with this job.

  • completed_atstring

    ISO 8601 timestamp of when the job completed.

  • conclusionstring

    The outcome of the job after completion (e.g. success, failure). Null if the job has not concluded.

  • created_atstringObligatorio

    ISO 8601 timestamp of when the job was created.

  • event_typestring

    Type of event that occurred.

  • head_branchstring

    The branch name associated with this job.

  • head_shastringObligatorio

    The SHA of the commit being built in this job.

  • html_urlstring

    The GitHub URL to view the job in the browser.

  • job_idintegerObligatorio

    The unique identifier of the job.

  • job_namestringObligatorio

    The display name of the job.

  • job_urlstringObligatorio

    The API URL to retrieve details about this job.

  • labelsstring[]

    Runner labels used to identify the type of runner for this job.

  • node_idstringObligatorio

    The GraphQL node identifier for this job.

  • ownerstringObligatorio

    Owner of the repository.

  • repostringObligatorio

    Repository name.

  • run_attemptinteger

    The attempt number of the associated workflow run, starting at 1.

  • run_idintegerObligatorio

    The workflow run ID this job belongs to.

  • run_urlstringObligatorio

    The API URL of the workflow run.

  • runner_group_idinteger

    The identifier of the runner group executing this job.

  • runner_group_namestring

    The name of the runner group executing this job.

  • runner_idinteger

    The identifier of the runner executing this job.

  • runner_namestring

    The name of the runner executing this job.

  • started_atstringObligatorio

    ISO 8601 timestamp of when the job started.

  • statusstringObligatorio

    The current lifecycle phase of the job (e.g. queued, in_progress, completed).

  • stepsobject[]

    The individual steps that make up this job.

  • workflow_namestring

    The name of the workflow this job is part of.

Instrucciones

This trigger fires whenever a new job is detected in the monitored GitHub Actions workflow run. This includes jobs added by matrix expansion or any other mechanism that appends jobs to an existing run. **Payload:** The payload includes full job details: name, status, conclusion, creation and start/end timestamps, runner information, branch, and individual steps.

Workflow Job State ChangedGITHUB_WORKFLOW_JOB_STATE_CHANGEDTrigger

Triggers when the status, conclusion, timestamps, runner assignment, or step details of a specific GitHub Actions workflow job change between polls. The payload includes the full current job state, a list of which fields changed, and the previous status/conclusion values for easy comparison.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • job_idintegerObligatorio

    The unique numerical identifier of the GitHub Actions workflow job to monitor. You can find the job ID from the GitHub Actions UI URL or via the List Jobs for a Workflow Run API.

  • ownerstringObligatorio

    The account owner of the repository (GitHub username or organization name). Do not include the repository name here.

  • repostringObligatorio

    The name of the repository that contains the workflow job to watch. Do not include the owner prefix.

Payload del evento

  • changed_fieldsstring[]

    List of field names that changed compared to the previous snapshot. Empty on the very first event (initial state capture is skipped).

  • check_run_urlstringObligatorio

    GitHub REST API URL for the check run.

  • completed_atstring

    ISO 8601 timestamp when the job finished. Null if still running.

  • conclusionstring

    Outcome of the job after completion: success, failure, neutral, cancelled, skipped, timed_out, or action_required. Null while running.

  • created_atstringObligatorio

    ISO 8601 timestamp when the job was created.

  • event_typestring

    Event type identifier for this trigger.

  • head_branchstring

    Branch the job ran on.

  • head_shastringObligatorio

    SHA of the commit being run.

  • html_urlstringObligatorio

    GitHub web UI URL to view this job.

  • job_idintegerObligatorio

    Unique numeric identifier of the workflow job.

  • labelsstring[]

    Runner labels from the runs-on attribute.

  • namestringObligatorio

    Name of the job.

  • ownerstringObligatorio

    Owner of the repository.

  • previous_conclusionstring

    Previous job conclusion before this change.

  • previous_statusstring

    Previous job status before this change.

  • repostringObligatorio

    Repository name.

  • run_attemptinteger

    Attempt number of the parent workflow run.

  • run_idintegerObligatorio

    ID of the parent workflow run.

  • runner_group_idinteger

    ID of the runner group. Null while queued.

  • runner_group_namestring

    Name of the runner group. Null while queued.

  • runner_idinteger

    ID of the runner executing the job. Null while queued.

  • runner_namestring

    Name of the runner executing the job. Null while queued.

  • started_atstringObligatorio

    ISO 8601 timestamp when the job started.

  • statusstringObligatorio

    Current status of the job: queued, in_progress, or completed.

  • stepsobject[]

    Current step details for the job.

  • urlstringObligatorio

    GitHub REST API URL for this job.

  • workflow_namestring

    Name of the workflow.

Instrucciones

This trigger fires whenever a GitHub Actions workflow job changes state -- for example when it moves from *queued* to *in_progress* to *completed*, when its runner is assigned, or when a step's status or conclusion updates. **Payload:** The payload includes the full current job state, a `changed_fields` list identifying exactly which fields changed, and the previous status/conclusion values.

New Artifact Added to Workflow RunGITHUB_WORKFLOW_RUN_ARTIFACT_ADDEDTrigger

Triggers when a new artifact is uploaded to a specific GitHub Actions workflow run. Monitors a single workflow run for newly added artifacts such as build outputs, test results, or coverage reports. Each new artifact detected fires a separate event.

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    Account owner of the repository (GitHub username or organization name).

  • repostringObligatorio

    Repository name without the .git extension.

  • run_idintegerObligatorio

    Unique identifier of the workflow run to monitor for new artifacts.

Payload del evento

  • archive_download_urlstringObligatorio

    Direct URL to download the artifact archive as a ZIP file.

  • created_atstring

    Timestamp when the artifact was created.

  • digeststring

    SHA256 digest of the artifact (available for upload-artifact v4+).

  • expiredbooleanObligatorio

    Whether or not the artifact has expired.

  • expires_atstring

    Timestamp when the artifact will expire.

  • idintegerObligatorio

    Unique identifier for the artifact.

  • namestringObligatorio

    The name of the artifact.

  • node_idstringObligatorio

    GraphQL node identifier for the artifact.

  • size_in_bytesintegerObligatorio

    The size in bytes of the artifact.

  • updated_atstring

    Timestamp when the artifact was last updated.

  • urlstringObligatorio

    API URL for accessing the artifact.

  • workflow_runobject

    Metadata about the workflow run that created the artifact.

Instrucciones

This trigger fires whenever a new artifact is uploaded to the specified GitHub Actions workflow run. **Payload:** Each event includes the artifact name, size, download URL, expiration details, digest (for upload-artifact v4+), and metadata about the parent workflow run.

New Workflow Run CreatedGITHUB_WORKFLOW_RUN_CREATEDTrigger

Triggers when a new workflow run is created in a GitHub repository. Monitors the repository for any new workflow runs and fires an event for each one. Optional filters allow narrowing to a specific branch, actor, or event type.

Configuración

  • actorstring

    Filter workflow runs triggered by a specific GitHub user login. Leave blank to monitor runs triggered by any user.

  • branchstring

    Filter workflow runs to a specific branch name. Leave blank to monitor runs on all branches.

  • eventstring

    Filter workflow runs triggered by a specific event type (e.g. 'push', 'pull_request', 'schedule'). Leave blank to monitor runs triggered by any event.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    The account owner of the repository (GitHub username or organization name). Do not include the repository name here.

  • repostringObligatorio

    The name of the repository to watch for new workflow runs. Do not include the owner prefix.

Payload del evento

  • actorobject

    GitHub user who triggered the workflow run.

  • conclusionstring

    Conclusion of the workflow run (null if not completed).

  • created_atstringObligatorio

    ISO 8601 timestamp when the workflow run was created.

  • display_titlestring

    Event-specific title associated with the run or the value of run-name if set in the workflow file.

  • eventstring

    Name of the event that triggered the workflow run.

  • event_typestring

    Event type identifier for this trigger.

  • head_branchstring

    Name of the branch that triggered the workflow run.

  • head_shastring

    SHA of the commit that triggered the workflow run.

  • html_urlstring

    GitHub web UI URL to view the workflow run.

  • jobs_urlstring

    API URL to retrieve jobs for this workflow run.

  • logs_urlstring

    API URL to download logs for this workflow run.

  • namestring

    Name of the workflow run.

  • node_idstringObligatorio

    GraphQL node ID for the workflow run.

  • ownerstringObligatorio

    Owner of the repository.

  • pathstring

    Path to the workflow file in the repository.

  • repostringObligatorio

    Repository name.

  • run_attemptinteger

    Attempt number of this run (increments with re-runs).

  • run_idintegerObligatorio

    Unique numeric identifier of the workflow run.

  • run_numberintegerObligatorio

    Sequential run number for this workflow.

  • run_started_atstring

    ISO 8601 timestamp when the workflow run actually started execution.

  • statusstring

    Current status of the workflow run.

  • updated_atstring

    ISO 8601 timestamp when the workflow run was last updated.

  • urlstring

    GitHub REST API URL for this workflow run.

  • workflow_idinteger

    ID of the workflow definition.

Instrucciones

This trigger fires whenever a new GitHub Actions workflow run is created in the configured repository. **Payload:** Each event includes the workflow run name, display title, status, conclusion, branch, commit SHA, triggering event type, timestamps, and the actor who triggered the run.

GitHub Workflow Run State ChangedGITHUB_WORKFLOW_RUN_STATE_CHANGED_TRIGGERTrigger

Triggers when a GitHub Actions workflow run's status or conclusion changes. Monitors a single workflow run and fires an event whenever it transitions between states (e.g., queued to in_progress, or in_progress to completed) or when its conclusion is set (e.g., success, failure, cancelled).

Configuración

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • ownerstringObligatorio

    GitHub username or organisation that owns the repository (e.g. 'octocat' or 'microsoft').

  • repostringObligatorio

    Repository name without the .git extension (e.g. 'Hello-World' or 'my-project').

  • run_idintegerObligatorio

    The unique numeric identifier of the workflow run to monitor. You can find this in the URL of a workflow run on GitHub: https://github.com/{owner}/{repo}/actions/runs/{run_id}

Payload del evento

  • changed_fieldsstring[]

    List of state field names that changed since the previous poll. Possible values: 'status', 'conclusion'.

  • conclusionstring

    Current conclusion of the workflow run. One of: success, failure, neutral, cancelled, skipped, timed_out, action_required, or null if not yet completed.

  • created_atstring

    Timestamp when the workflow run was created (ISO 8601).

  • current_snapshotobject

    The canonicalised state snapshot from the current poll.

  • display_titlestring

    Display title of the workflow run.

  • eventstring

    The event that triggered the workflow run.

  • event_typestring

    Event type identifier.

  • head_branchstring

    Name of the branch the workflow ran on.

  • head_shastring

    SHA of the head commit that triggered the workflow run.

  • html_urlstring

    URL to view the workflow run on GitHub.

  • namestring

    Name of the workflow.

  • ownerstringObligatorio

    Owner of the repository.

  • previous_conclusionstring

    The conclusion observed in the previous poll (before the change).

  • previous_snapshotobject

    The canonicalised state snapshot from the previous poll.

  • previous_statusstring

    The status observed in the previous poll (before the change).

  • repostringObligatorio

    Repository name.

  • run_attemptinteger

    Attempt number of the run (1 for first attempt).

  • run_idintegerObligatorio

    Unique identifier of the workflow run.

  • run_numberinteger

    Auto-incrementing run number for the workflow.

  • run_started_atstring

    Timestamp when the workflow run started (ISO 8601).

  • statusstring

    Current status of the workflow run. One of: queued, in_progress, completed, waiting, requested, pending.

  • updated_atstring

    Timestamp when the workflow run was last updated (ISO 8601).

Instrucciones

This trigger fires whenever a GitHub Actions workflow run's status or conclusion changes -- for example when a run transitions from `in_progress` to `completed`, or its conclusion becomes `success` or `failure`. **Payload:** The payload includes the full current run details, the previous and current `status`/`conclusion` values, and a `changed_fields` list identifying exactly what changed.