GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates the GitHub integration settings for a specific GitLab group by making a PUT request to the GitLab API endpoint `/api/v4/groups/{id}/integrations/github`. It is useful for automating the configuration of GitHub integrations within GitLab groups, such as enabling or modifying webhook settings or other integration parameters.

Use Case Examples

  1. Automatically update GitHub integration settings for a GitLab group when a new project is created.
  2. Synchronize GitHub integration configurations across multiple GitLab groups via automation workflows.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication. Hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to PUT for this operation.
Path Parameters Parameters to be included in the request path, specifically the group ID for which the GitHub integration is being updated.

Output

JSON

  • response - The JSON response from the GitLab API after updating the GitHub integration for the specified group.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the API key used for authentication has sufficient permissions to update group integrations.
  • Check the base URL to confirm it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • If skipping authentication, ensure the API endpoint allows unauthenticated requests, otherwise the request will fail.

Links

Discussion