CI Configuration
The ci section of atmos.yaml configures native CI/CD integration, including output variables,
job summaries, status checks, PR comments, and template overrides.
Quick Start
atmos.yaml
Configuration Reference
ci.enabledExplicitly enable or disable CI mode. When not set, CI mode is auto-detected from environment variables (
CI=trueorGITHUB_ACTIONS=true).Default: Auto-detected
Sections
📄️ checks
Configure commit status checks for CI pipelines
📄️ comments
Configure PR/MR comments with plan summaries
📄️ output
Configure CI output variables for downstream jobs
📄️ summary
Configure rich job summaries for CI pipelines
📄️ templates
Customize CI job summary and PR comment templates
Full Example
atmos.yaml
CI Detection
CI mode is auto-enabled when any of these environment variables are set:
CI=true(set by most CI providers)GITHUB_ACTIONS=true(set by GitHub Actions)
Override with the --ci flag or ci.enabled configuration.
Environment Variables
| Variable | Description |
|---|---|
ATMOS_CI | Explicitly enable CI mode (true/false) |
CI | Standard CI environment variable (set by most CI providers) |
GITHUB_ACTIONS | Set by GitHub Actions runner |
GITHUB_TOKEN / GH_TOKEN | GitHub API token (required for status checks and PR comments) |
GITHUB_OUTPUT | File path for CI output variables (set by GitHub Actions) |
GITHUB_STEP_SUMMARY | File path for job summaries (set by GitHub Actions) |
GITHUB_REPOSITORY | Repository name in owner/repo format |
GITHUB_SHA | Current commit SHA |
Related
- Native CI Overview - Feature overview and quick start
- Native CI Overview - Feature overview
- Planfile Storage - Store and verify planfiles
atmos terraform plan --ci- Plan with CI integrationatmos terraform deploy --ci- Deploy with plan verification