Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extra logging that made it to master accidentally #1041

Merged
merged 1 commit into from
May 17, 2020

Conversation

mokagio
Copy link
Contributor

@mokagio mokagio commented May 17, 2020

I didn't realize my origin wasn't on my fork, and I ended up pushing some debug code directly! 😳

I was tempted to force push, but I already made enough damage for one night 😞

In order to prevent me from doing something this silly again, what do you think of adding a branch protection rule to prevent direct pushes to master?

I didn't realize my `origin` wasn't on my fork, and I ended up pushing
some debug code directly! 😳

_I was tempted to force push, but I already made enough damage for one
night_ 😞

In order to prevent me from doing something this silly again, what do
you think of adding a branch protection rule to prevent direct pushes to
`master`?
@mokagio mokagio marked this pull request as ready for review May 17, 2020 12:08
@orta
Copy link
Member

orta commented May 17, 2020

I'm cool with that as long as admins can still push to master (the deploy process does it on my computer)

@orta
Copy link
Member

orta commented May 17, 2020

done 👍

@f-meloni
Copy link
Member

I think you anyway are the only one that usually pushes to master @orta (mainly because of releases) then I think is totally fine to protect the master branch and leave admins out from branch rules

@mokagio
Copy link
Contributor Author

mokagio commented May 17, 2020

Thanks @orta and @f-meloni 🙏 This gotta be the faster open source PR I ever got feedback on.

You folks are awesome!

@danger-public
Copy link

Warnings
⚠️

Please add a changelog entry for your changes. You can find it in CHANGELOG.md

Please add your change and name to the master section.

Generated by 🚫 dangerJS against c48317b

@orta
Copy link
Member

orta commented May 17, 2020

Ha, it was good timing on your part - we had just started chatting about it in slack

Screen Shot 2020-05-17 at 8 12 10 AM

@orta orta merged commit bb1e135 into master May 17, 2020
@mokagio mokagio deleted the remove-extra-logging-added-by-mistake branch May 17, 2020 12:14
@mokagio
Copy link
Contributor Author

mokagio commented May 17, 2020

❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants