logoalt Hacker News

madeofpalk • last Wednesday at 9:15 PM • 1 reply • view on HN

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.


Replies

dpz • yesterday at 9:54 AM

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.