Treatment postGithubState

cicd/services/github::postGithubState


Parameters

↳ var description: string
↳ var log_response: bool = false
↳ var name: string
↳ var project: string
↳ var sha: string
↳ var state: StepState (cicd/services/github::StepState)
↳ var token: string

Inputs

⇥ trigger: Block<void>


Post a GitHub commit status using explicit credentials.

Sends a POST to https://api.github.com/repos/{project}/statuses/{sha} using token for the Authorization: Bearer header. state sets the commit status; name is the context label; description is the human-readable message. A link to the Mélodium execution dashboard is included as target_url. When log_response is true, the raw response body is logged.