Developer Integrations
GitHub integration
AvailableDocumentation version 1.0 · Applies to TrustFabric · Updated 2026-10-30
A GitHub Actions step calls the pipeline gate with a workload token; anything other than ALLOW fails the job.
Add a step to your workflow that calls POST /api/protect/trustfabric/v1/pipelines/gate with a workload token stored as an Actions secret. The gate evaluates the required checks in the approved bundle — branch policy, security scan, SCA, secret detection, IaC validation, SBOM present, tests passed, deployment approval — and the step fails if the answer is not ALLOW.
Workflow step
Field names in this sample are illustrative and may change between API versions.
- name: TrustFabric gate
uses: ./integrations/trustfabric/github-action
with:
token: ${{ secrets.TRUSTFABRIC_TOKEN }}
stage: release
checks: '{"tests":"success","secret_scan":"success","sca":"success","sbom":"success"}'