GITHUB_INTEGRATION

yaml
name: "input_GitHub" inputs: github_field: type: GITHUB_INTEGRATION name: "GitHub Integration" default: "github_integration_hash" execute_commands: - gh auth status docker_image_name: "buddy/github-cli" docker_image_tag: "latest"

The GITHUB_INTEGRATION parameter adds an input that lets you select the GitHub integration and use it in the action. The action also generates $GITHUB_TOKEN that can be used in the pipeline.

This action uses a Docker image with the GitHub CLI installed. The executed command retrieves the primary contact information of the account associated with the selected GitHub integration:

Image loading...Custom action with GITHUB inputCustom action with GITHUB input Image loading...Custom action logsCustom action logs

Tip
Adding default with the integration hash will automatically set the integration in the input.
Last update:
Sep 23, 2024