Treatment postGithubStateContext
cicd/services/github::postGithubStateContext
Configuration
⬡ contexts: javascript::JavaScriptEngine
Parameters
↳ var description: string
↳ var log_response: bool = false
↳ var name: string
↳ var state: StepState (cicd/services/github::StepState)
Inputs
⇥ trigger: Block<void>
Post a GitHub commit status using expression-evaluated URL and headers from the current GitHub Actions context.
The API URL and the Authorization header value are resolved by evaluating GitHub Actions
${{ }} expressions from the contexts engine, so this treatment must be used inside a
workflow that has already called prepareContexts.
state sets the commit status; name is the context label; description is the human-readable
message. When log_response is true, the raw response body is logged.