Skip to main content
The devhelmhq/setup-devhelm GitHub Action installs the DevHelm CLI and configures authentication in your CI pipeline. Use it to validate, plan, and deploy your monitoring configuration on every push.

Quick start

Action inputs

Action outputs

PR preview workflow

Show what would change before merging:
The plan output shows resources to create, update, and delete. Review it in the Actions log before merging.

Gate merges with dry-run

Use --dry-run --detailed-exitcode as a required status check:

Pin the CLI version

For reproducible builds, pin the CLI version:
The action caches the npm install between runs for faster execution.

Multi-environment deploys

Use GitHub Environments with environment-specific secrets:
See Multi-environment config for file structure guidance.

Maintenance windows in CI

Suppress alerts during deployments:

Troubleshooting

The action auto-installs Node.js 20 by default. If you’ve set node-version: '' to skip auto-setup, make sure actions/setup-node runs before setup-devhelm.
Another deploy is running. Deploy locks prevent concurrent deploys per organization. Wait or force unlock:
Verify the secret is set at the repository level (Settings → Secrets and variables → Actions). Environment-level secrets need the environment: key in the job.

Next steps

Generic CI/CD

Use the CLI in non-GitHub CI systems.

Monitoring as Code tutorial

Full YAML format and deploy workflow.

CI/CD pipeline guide

End-to-end CI/CD setup guide.