Skip to content

runGitlabComment

function runGitlabComment(params): Promise<RunGitlabCommentResult>;

Defined in: src/ci/gitlab.ts:228

Full GitLab merge request integration: discovers ASL files changed in the current merge request via git, builds a diagram/diff report, writes SVG fallback artifacts if the report is too large to inline, and — when GITLAB_TOKEN/SFN_DIAGRAM_GITLAB_TOKEN is set — posts or updates the MR note. With no token, it renders (and writes artifacts, if needed) but skips commenting and still exits 0, so the same job works with zero setup.

RunGitlabCommentParams

Promise<RunGitlabCommentResult>