ingestlayer/recipes

Monitor CI/CD build status

Route the build results that matter — a failed pipeline on your main branch — to where the team will actually see it, without the green-build noise.

the event

Emit ci.build.finished once; route it anywhere below.

  • repostring
  • branchstring
  • statusstringpassed | failed
  • commitstringsha
  • duration_msnumber
emit ci.build.finished
import { ingest } from "@ingestlayer/sdk";

await ingest("ci.build.finished", {
  repo:        process.env.GITHUB_REPOSITORY,
  branch:      process.env.GITHUB_REF_NAME,
  status:      job.status,
  commit:      process.env.GITHUB_SHA,
  duration_ms: job.duration,
});

send it to