GITLAB_INTEGRATION
yamlname: "input_GitLab" inputs: gitlab_field: type: GITLAB_INTEGRATION name: "GitLab Integration" default: "gitlab_integration_hash" execute_commands: - glab auth status docker_image_name: "buddy/gitlab-cli" docker_image_tag: "latest"
The GITLAB_INTEGRATION parameter adds an input that lets you select the GitLab integration and use it in the action. The action also generates $GITLAB_TOKEN that can be used in the pipeline. If this is an integration with GitLab EE/CE, the action additionally generates the variable $GITLAB_HOST.
This action uses a Docker image with the GitLab CLI installed. The executed command retrieves the primary contact information of the account associated with the selected GitLab integration:
Image loading...
Image loading...
Tip
Adding
default with the integration hash will automatically set the integration in the input.
Last modified on Apr 7, 2025