Interview Prep/Git & GitHub/GitHub Actions, environments and releases in production

How do you structure workflows for a typical service (build, test, deploy)?

BeginnerProductionGitHub Actions, environments and releases in production
Answer

One CI workflow on PRs (lint, unit tests, build, security scans) and one CD workflow on main or tags (build image, push, deploy dev, then promote). Reuse logic via reusable workflows or composite actions rather than copying YAML between repos.

All Git & GitHub questions Roadmap: Git & GitHub

More on GitHub Actions, environments and releases in production