Skip to content

CI/CD

Editor
Engineering leadership

DevOps and engineering.

When you change the pipeline or rely on it to ship.

  • Must: Pull requests run the project’s automated checks (lint, test, build) before merge. See Repos, branches, and pull requests.
  • Must: Production deploys go through the pipeline. A laptop deploy is only a documented break-glass path, then you record what you did.
  • Must: Pipeline secrets live in the CI secret store, not in the workflow file or the repo. See Secrets.
  • Should: The main branch is always deployable. Do not leave the pipeline red overnight without an owner.
  • Should: Deploy a named artifact or commit. Do not rebuild by hand on the server.
  • Team decides: CI product, branch protection details, and whether deploy is automatic on main or a manual go in the pipeline. AWS deploy mechanics are on AWS.

Merge is gated by checks, and ship is a pipeline run you can point at — not a script on someone’s machine.

  1. Confirm checks run on your PR before you ask for review.
  2. If you change the pipeline, test it on a non-prod deploy first.
  3. Ship prod through the same path the runbook names.
  4. If the pipeline is red, fix it or revert. Do not skip checks to “just ship.”