Trigger Github Actions using a Configu Webhook

Learn how to trigger a GitHub workflow from a webhook invocation.

Prerequisites

  • Access permissions to create a WebHook for Github Actions.
  • Configu Cloud organization with admin permissions (if you donn't have an account, get one free here)

Create a Configu Webhook

  1. Define your target workflow payload URL: https://api.github.com/repos/{owner}/{repo}/actions/workflows/{action-id}/dispatches, example: image
  2. Customize your header to include an Authorization header with your GitHub personal access token. Example: image
  3. Customize your payload to contain the data you need, for this example: image you will need to send the following payload data: image
  • ref is the branch that contains the workflow definition
  • inputs is the data that the workflow will use that is sent from the webhook