Authentication

This provider requires authentication.

  • host: GitLab Host (required: True, sensitive: False)
  • personal_access_token: GitLab Personal Access Token (required: True, sensitive: True)

Certain scopes may be required to perform specific actions or queries via the provider. Below is a summary of relevant scopes and their use cases:

  • api: Authenticated with api scope (mandatory)

In workflows

This provider can be used in workflows.

As “action” to make changes or update data, example:

actions:
    - name: Query gitlab
      provider: gitlab
      config: "{{ provider.my_provider_name }}"
      with:
        id: {value}  
        title: {value}  
        description: {value}  
        labels: {value}  
        issue_type: {value}  

If you need workflow examples with this provider, please raise a GitHub issue.

Connecting with the Provider

  1. Go to Personal Access Token to see how to create a personal_access_token.
  2. Get host, eg: if you’re using Cloud GitLab, use: https://gitlab.com or use your host if you’re using onPrem.