> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/6.-build-wire-your-code/integration-github-actions.md).

# GitHub Actions

Recipe — GitHub Actions evaluation gate. Pointer to the SDK's drop-in workflow file.

The SDK ships a **drop-in GitHub Actions workflow file**: [`samples/cicd/github_actions_gate.yml`](https://github.com/layerlens/stratix-python/blob/main/samples/cicd/github_actions_gate.yml). Copy to `.github/workflows/ai-quality-gate.yml`, add `LAYERLENS_STRATIX_API_KEY` as a repository secret, done.

The workflow calls the canonical gate script: [`samples/cicd/quality_gate.py`](https://github.com/layerlens/stratix-python/blob/main/samples/cicd/quality_gate.py). It evaluates recent traces against all judges and exits non-zero if pass rate falls below a configurable threshold (`--threshold 0.85` by default).

## See also

* [Tutorial 3: CI/CD gates](/6.-build-wire-your-code/03-cicd-gates.md)
* [Cookbook: containerized CI](/6.-build-wire-your-code/containerized-ci.md) — pre-baked Docker image variant
* [Use case: AI quality gates in CI/CD](/4.1-general-use-cases/ai-quality-gates-cicd.md)
