create_commit_status
Set or update a commit's status in a GitLab project, reflecting pipeline stage outcomes like pending, running, success, or failure.
Instructions
Create or update the status of a commit
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or complete URL-encoded path to project | |
| sha | Yes | The commit hash to set the status on | |
| state | Yes | Commit status state | |
| ref | No | The branch or tag ref | |
| name | No | Status name. GitLab defaults to 'default' when omitted. | |
| context | No | Alias for name. Provide either name or context, not both. | |
| target_url | No | Target URL associated with this status | |
| description | No | Short status description | |
| coverage | No | Total code coverage for this status | |
| pipeline_id | No | Pipeline ID to attach the status to |