midwest.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
NicKoehler@feddit.it to Programmer Humor@lemmy.ml ·
edit-2
2 years ago

Happened now

feddit.it

message-square
19
link
fedilink
4

Happened now

feddit.it

NicKoehler@feddit.it to Programmer Humor@lemmy.ml ·
edit-2
2 years ago
message-square
19
link
fedilink

alert-triangle
You must log in or # to comment.
  • siriusmart@feddit.uk
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

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

    • siriusmart@feddit.uk
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

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

  • borkcorkedforks@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    So, do you have automatic deployments or?

  • flauschke@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

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

    • NicKoehler@feddit.itOP
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      That’s exactly what a not stupid person would do

      • VanillaGorilla@kbin.social
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        But that happened to most of us I’d wager, so you’re at least not alone.

  • jmsw22@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    That sounds like a Monday problem

  • BruceDoh@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

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

  • PCChipsM922U@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Fuck, there goes the weekend 🤦.

  • digitallyfree@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 years ago

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

  • Primarily0617@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

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

  • FoxBJK
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

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

  • Bishma@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

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

  • Rodsterlings_cig@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    To your own personal repository, right?!

    • NicKoehler@feddit.itOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      That’s the neat part, no

  • phazed09@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

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

  • JollyRoberts@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    @NicKoehler

    lol, been there, got the t-shirt.

  • erogenouswarzone@lemmy.ml
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    2 years ago

    Oh fuck. Hang on to your pooper.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 239 users / day
  • 1.3K users / week
  • 3.49K users / month
  • 9.77K users / 6 months
  • 159 local subscribers
  • 36.6K subscribers
  • 1.9K Posts
  • 38.4K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org