r/SpringBoot • u/kharamdau • Mar 17 '26
Question Are teams actually reviewing their CI pipelines, or just copying them?
I’ve been looking at PR verification pipelines across a few Spring Boot services recently, and one pattern keeps repeating.
The pipeline is almost always copied from another service.
Same GitHub Actions workflow, same permissions, same setup steps.
It “works”, tests pass, PRs merge.
But when I look closely, it’s carrying things that were never really questioned:
- GITHUB_TOKEN with write permissions (contents, packages) even for PR builds
- Actions referenced by floating tags instead of pinned commits
- Integration test reports not being surfaced in PR comments
- Placeholder configs like `my-comment-header` still in production
None of these break the build, but they change what the pipeline is actually doing, especially from a security and observability perspective.
One thing that stood out to me is how CI is treated differently from application code. We review business logic, we audit dependencies, we run SAST tools. But the CI pipeline which runs code with credentials is often treated as “just config”.
Curious how others approach this.
Do you:
- Review CI workflows line by line like application code?
- Enforce least-privilege permissions on GITHUB_TOKEN?
- Pin actions to commit SHAs?
- Run workflows locally (e.g., using act) before pushing?
For context, I wrote a deeper breakdown of the approach here:
https://mythoughtpad.vercel.app/blog/stop-lying-to-your-ci-pipeline