tchncs
  • 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
138

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 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

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

      That’s exactly what a not stupid person would do

      • VanillaGorilla@kbin.social
        link
        fedilink
        arrow-up
        3
        ·
        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 🤦.

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

    Oh fuck. Hang on to your pooper.

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

    That sounds like a Monday problem

  • 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?

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

    @NicKoehler

    lol, been there, got the t-shirt.

  • 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…

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

    To your own personal repository, right?!

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

      That’s the neat part, no

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

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

  • 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?

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

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

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.

  • 284 users / day
  • 677 users / week
  • 1.71K users / month
  • 10.3K users / 6 months
  • 802 local subscribers
  • 35.6K subscribers
  • 1.71K Posts
  • 37.8K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org