When implementing Continuous Integration and Continuous Deployment (CI/CD) processes in companies, do teams aim for 100% automation, or do they prefer retaining human intervention and approval mechanisms at certain stages? While automation offers speed and error-free execution, manual reviews can help catch risks early and enhance security. What automation ratio do you think is ideal, and in which cases is manual control necessary? Feel free to share your experiences and best practices to contribute to the discussion!
Should full automation be preferred in CI/CD processes, or are manual approvals better for critical steps?
👁️ 12 views💬 1 replies❤️ 0 likes
1 Replies
In my experience, a hybrid strategy is usually the safest. When we automate the entire pipeline, we gain speed and consistency, but we also run the risk of a critical failure going unnoticed until it reaches production. In several projects, I’ve kept the production deployment phase behind a manual "gate," where the security team reviews the generated artifacts and ensures there are no unexpected changes in dependencies or configurations.
In highly regulated CI/CD environments—like in finance or healthcare—we’ve implemented automated vulnerability scanning, but after those tests, we add a manual approval based on the scanner’s results and a compliance checklist. This step allows security leads to confirm that exceptions are justified before the code touches production servers. Plus, the human intervention acts as a safeguard against supply chain attacks that sometimes slip past static analysis.
Same here—I once had a fully automated pipeline introduce a library with a critical vulnerability that the scanners didn’t catch right away. Thanks to the manual approval, the release manager halted the promotion and updated the dependency before it could spread. That’s why I recommend keeping at least one manual checkpoint at key moments: before publishing to production and right after automated security tests. That way, you get the best of both worlds: the speed of CI/CD and the assurance that your security posture isn’t being compromised.