Are you collaborating on a branch/pr? All pushing to a mainline branch?
(asking as I normally do cicd automation and like knowing more about how folks work)
reply
deleted by author
reply
Branch protection rules, yo!
Github has ... shitty automation around policies to enforce for an org. The rules are wonderfully powerful and while well documented for each option, don't give a good view on how to combine them for a nice safe way to work on code.
reply
deleted by author
reply
deleted by author
reply
Humans are bad machines and the human should set the policy instead via automation.
Code formatters are a great case for just having a machine do it vs letting humans fight in PRs. Have a machine format code, make a status check to prevent bad cases getting through, then require the check to pass before merging.
Too much life has been wasted on debating code formatting in PRs.
reply
deleted by author
reply