AWS CodePipeline
User Guide (API Version 2015-07-09)

The procedures in this guide support the new console design. If you choose to use the older version of the console, you will find many of the concepts and basic procedures in this guide still apply. To access help in the new console, choose the information icon.

Configure Your GitHub Pipelines to Use Webhooks for Change Detection

You can now use webhooks as the change detection method for your pipelines with a GitHub repository. You must update existing pipelines to use this feature. When you use the console to create or edit a pipeline, AWS CodePipeline creates the webhook for you.

This table includes procedures for configuring GitHub pipelines to use webhooks.

Method Instructions Further action required?
Configuring pipelines in the console
  1. Open your pipeline in the console.

  2. Choose Edit.

  3. Choose the pencil icon next to the GitHub source action.

  4. Choose Connect to repository and then choose Update.

  5. Choose Save pipeline changes.

See Edit a Pipeline (Console).

The webhook is created for you and registered with GitHub.

No further action is required.

Configuring pipelines in the CLI

Use the update-pipeline command to set the PollForSourceChanges parameter to false.

See Edit a Pipeline (AWS CLI).

You must create the webhook and register it with GitHub.

See Create a Webhook for Your GitHub Pipeline .

Configuring pipelines in AWS CloudFormation

Retain periodic checking for your GitHub source repository.

For information about the webhook resource in AWS CloudFormation, see AWS::CodePipeline::Webhook.