GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdStatusesSha

AI-generated

Summary

Post a commit status for a specified commit SHA in a GitLab project to record CI/CD or other status information.

Inputs

  • id (required) — ID or URL-encoded path of the target GitLab project.
  • sha (required) — The commit hash (SHA) for which to set the status.
  • postApiV4ProjectsIdStatusesSha (required) — Request body with the status details according to GitLab's commit status API schema.
  • skipAuthentication — Optionally skip authentication if set to true.
  • baseUrl — Base URL of the GitLab instance (default: https://gitlab.com).

Output shape

a single JSON object representing the created commit status response from GitLab

The operation requires authentication unless 'Skip Authentication' is enabled. The input path parameters 'id' and 'sha' identify the project and commit, respectively. The body must conform to GitLab's commit status API specifications.

Links

Discussion