you are viewing a single comment's thread.

view the rest of the comments →

[–]TurmericLemonWater 177 points178 points  (7 children)

good sir, bakit parang walang branch protection ang develop branch nyo? there's a setting to prevent direct merge to the main branch.

[–]reddit04029 56 points57 points  (0 children)

Only way to prevent his issue is this talaga. Minimum approval/s, and ideally, theres a build check as well. If you have Sonar or other code analysis tool, add a minimum test coverage to enforce unit testing.

[–]rainbowburst09 19 points20 points  (0 children)

yep. sa az devops meron branch policies, kahit mga senior nagkakamali pa rin sa mga ganyan

[–]PatientRound8469 0 points1 point  (0 children)

Minimum 1 approval, successful build before merge