FYI you should be able to disallow directly pushing to the master branch and only allow merging
That’s exactly what a not stupid person would do
But that happened to most of us I’d wager, so you’re at least not alone.
And this is why you always immediately turn on branch protection.
That sounds like a Monday problem
Who needs “Read-only Friday” anyways, right?
why on earth would you have a direct main CD pipeline without proper protections against pushing straight to that branch?
But surely you can just revert it, no big deal. Unless you have CI/CD pipelines on an unprotected branch…
Fuck, there goes the weekend 🤦.
To your own personal repository, right?!
That’s the neat part, no
lol, been there, got the t-shirt.
Oh fuck. Hang on to your pooper.
You didn’t just push it to main, you also pushed confidential code to the public repo!
This is my I never let let my prod pipelines run builds automatically.
So, do you have automatic deployments or?