You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
No doubt: pull request merge-checks are a God-sent for larger teams that require a thorough pull request review process. At the end of the process, only when all conditions are fulfilled, the pull request can be merged.
However the process and merge-check requirement can become too rigid and actually slow down the process – one reviewer is on leave, and another one is working in a different timezone and is already enjoying their weekend. You wind up chasing reviewers for their approval so the pull request can be merged.
Think of pull request merge-checks as a long checklist, all items end up as an AND
condition.
Enterprise-sized teams need a balance of sufficient control and enough flexibility when it comes to approving and merging pull requests.
How about flexible, nested boolean merge-check expressions? A tree of decisions you would make in real life anyway when navigating changing circumstances?
The pull request will be automatically merged if:
Here’s another merge-check condition that responds to recent events
(requiredBuildsCount > 0 & groupQuota >=2) | groupQuota['royal-family-members'] > 0
So now if push comes to shove and the delivery deadline is approaching fast, just have a member of the Royal Family approve and the pull request is merged instantly, no builds, no other approvals! That’s what we call being flexible.
Happy coding!
Sean Manwarring
Head of Marketing at Izymes
Izymes’ mission is to eliminate boring from work. We build apps that turbo-charge team velocity through contextual automation.
Sean Manwarring _Izymes_
Head of Marketing at Izymes
Izymes
Australia
2 accepted answers
0 comments