Assume you have a malicious employee. Use protected branches, which prevent direct pushes to main. Require only main has ability to deploy to production. OIDC and Github Environments can help you make these assertions. Don't use static credentials.
I can believe this isn't standard practice. Seeing that the guy was able to push and deploy malicious code without it being caught is whats worried me on this.
I can believe this isn't standard practice. Seeing that the guy was able to push and deploy malicious code without it being caught is whats worried me on this.