Instruction file imported from bug-ops/zeph (
.github/instructions/ci.instructions.md). Copyright stays with the author.
CI Workflow Review
Pipeline Structure
- Required structure:
lint-fmt→lint-clippy→ (test,integration,coverage) in parallel docker-build-and-scanmust be present and treated as a required job- Gate job
ci-statusmust require all checks (includingdocker-build-and-scan) - Test matrix: ubuntu, macos, windows
- Coverage via
cargo-llvm-covuploaded to codecov
Security
- Reject
pull_request_targettrigger without explicit justification - Prefer stable, reputable action versions (e.g., major tags like
v2,v6); pin to full SHAs for security-sensitive workflows when feasible - Reject secrets in workflow logs or step outputs
- Reject
--no-verifyor hook-skipping flags