create_commit_status
Set the status of a commit to track CI progress, with states like pending, running, success, failed, canceled, or skipped. Provide project ID, commit SHA, and state.
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 |