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

Happened now

message-square
21
link
fedilink
230

Happened now

NicKoehler to Programmer Humor@lemmy.ml ·
edit-2
2 years ago
message-square
21
link
fedilink
alert-triangle
You must log in or register to comment.
  • flauschke@feddit.de
    link
    fedilink
    arrow-up
    33
    ·
    2 years ago

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

    • NicKoehlerOP
      link
      fedilink
      arrow-up
      22
      ·
      2 years ago

      That’s exactly what a not stupid person would do

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

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

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

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

  • FoxBJK@midwest.social
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    2 years ago

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

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

    Fuck, there goes the weekend 🤦.

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

    That sounds like a Monday problem

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

    Oh fuck. Hang on to your pooper.

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

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

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

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

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

    To your own personal repository, right?!

    • NicKoehlerOP
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      That’s the neat part, no

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

    @NicKoehler

    lol, been there, got the t-shirt.

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

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

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

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

  • colourlessidea@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Where are the tests? Pushing to main (“trunk based development”) is a great workflow if you have those

  • siriusmart@feddit.uk
    link
    fedilink
    arrow-up
    1
    ·
    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
      1
      ·
      2 years ago

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

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

    So, do you have automatic deployments or?

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.

  • 146 users / day
  • 1.39K users / week
  • 2.59K users / month
  • 10.3K users / 6 months
  • 146 local subscribers
  • 35.7K subscribers
  • 1.81K Posts
  • 38.2K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org