Learn · Configuration & workflows · CCAR-F task 3.6

Claude Code in CI/CD

claude -p with pre-approved tools, JSON output and hard limits; an independent reviewer; and the GitHub Action that answers @claude.

Key ideas

Worked example: A least-privilege PR review step

Read-only tools, no prompts, bounded turns, machine-readable output. Add --append-system-prompt for CI-specific instructions.

Exam traps

Official docs

Practise CCAR-F questions · Next lesson: Workflows vs agents