c/programmerhumor · by NicKoehler@feddit.it · 3yHappened now 175 points · 18 comments · view on lemmy.world
18 Comments
flauschke@feddit.de · 43 pts · 3y
FYI you should be able to disallow directly pushing to the master branch and only allow merging
NicKoehler@feddit.it · 24 pts · 3y
That's exactly what a not stupid person would do
VanillaGorilla@kbin.social · 6 pts · 3y
But that happened to most of us I'd wager, so you're at least not alone.
phazed09@kbin.social · 10 pts · 3y
And this is why you always immediately turn on branch protection.
FoxBJK@midwest.social · 7 pts · 3y
Who needs "Read-only Friday" anyways, right?
PCChipsM922U@sh.itjust.works · 6 pts · 3y
Fuck, there goes the weekend 🤦.
jmsw22@lemmy.ml · 4 pts · 3y
That sounds like a Monday problem
Primarily0617@kbin.social · 4 pts · 3y
why on earth would you have a direct main CD pipeline without proper protections against pushing straight to that branch?
Bishma@kbin.social · 3 pts · 3y
This is my I never let let my prod pipelines run builds automatically.
erogenouswarzone@lemmy.ml · 3 pts · 3y
Oh fuck. Hang on to your pooper.
digitallyfree@kbin.social · 2 pts · 3y
You didn't just push it to main, you also pushed confidential code to the public repo!
BruceDoh@sh.itjust.works · 2 pts · 3y
But surely you can just revert it, no big deal. Unless you have CI/CD pipelines on an unprotected branch...
JollyRoberts@kbin.social · 2 pts · 3y
@NicKoehler
lol, been there, got the t-shirt.
Rodsterlings_cig@kbin.social · 2 pts · 3y
To your own personal repository, right?!
NicKoehler@feddit.it · 4 pts · 3y
That's the neat part, no
adj16@lemmy.world · 1 pts · 3y
No please, let’s get the grammar right on this meme here on Lemmy
borkcorkedforks@kbin.social · 1 pts · 3y
So, do you have automatic deployments or?
siriusmart@feddit.uk · 0 pts · 3y
you mean master? github changed the default branch name from master to main during black history month or something, i think its complete nonsense