For Circle CI, we created a complete example that allows you to run an example app, set up your own CI/CD pipeline in Circle CI, and configure rules for failing / passing builds.
Please check out the complete article on our DevSecOps example pipeline here.