GitHub web triggers - The GitHub web triggers are configured to monitor events in a GitHub repository or organization.

Automation 360

The GitHub web triggers are configured to monitor events in a GitHub repository or organization.

Overview

The GitHub web triggers listens to specific events in a GitHub organization or repository. When the events occur in the organization or repository, the trigger initiates the configured automation workflow.

Authentication

The GitHub web triggers uses Personal Access Tokens for user authentication and does not require an OAuth connection. For more information about creating and managing Personal Access Tokens, see Managing your personal access tokens. The GitHub web trigger supports classic and fine-grain access tokens. Ensure that the Personal Access Tokens are valid.

You can store this token in the Credential Vault. See Credentials and lockers in the Credential Vault for more information about storing and maintaining credentials.

Supported events

The GitHub web triggers support the following events in both organization and repository levels:

Events Description
Create When a file, branch or tag is created.
Fork When a repository is forked.
Issue comment When a comment is added to an issue or a pull request.
Issues When an activity related to an issue within the repository occurs.
Label When a label is added to or removed from an issue or a pull request.
Pull request When a pull request is made in a branch within the repository.
Pull request review When review comments are added to the pull request.
Push When there is a push to a repository branch.
Star When a repository is starred.
Watch When the watch option is enabled for a repository.

Prerequisites

Ensure that the following prerequisites are met:

  • A Bot Creator or Citizen Developer license.
  • View my bots and EVENT TRIGGERS permissions.
  • Check in and Check out permission for the folders in which the automation is located.
  • An active GitHub Personal Access Token.