Bishma
link
fedilink
11Y

This is my I never let let my prod pipelines run builds automatically.

you mean master? github changed the default branch name from master to main during black history month or something, i think its complete nonsense

for that i always change my master branch name back to master

You didn’t just push it to main, you also pushed confidential code to the public repo!

Oh fuck. Hang on to your pooper.

FYI you should be able to disallow directly pushing to the master branch and only allow merging

@NicKoehler@feddit.it
creator
link
fedilink
91Y

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.

JollyRoberts
link
fedilink
11Y

@NicKoehler

lol, been there, got the t-shirt.

Who needs “Read-only Friday” anyways, right?

Fuck, there goes the weekend 🤦.

But surely you can just revert it, no big deal. Unless you have CI/CD pipelines on an unprotected branch…

why on earth would you have a direct main CD pipeline without proper protections against pushing straight to that branch?

To your own personal repository, right?!

@NicKoehler@feddit.it
creator
link
fedilink
21Y

That’s the neat part, no

phazed09
link
fedilink
41Y

And this is why you always immediately turn on branch protection.

So, do you have automatic deployments or?

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.47K Posts
  • 32.2K Comments
  • Modlog