Review Assignment Use Cases #255
Closed
BenLloydPearson
announced in
Automation Example Bounties
Replies: 1 comment
-
https://docs.gitstream.cm/automations/standard/review-assignment |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Team-Based Review Policies
Assign PR reviewers based on the author's membership in specific teams.
Automation Name: review_{{ teams.name }}_team
Conditions (all must be true):
teams
custom expression.Automation Actions:
Use the following custom expression in a similar manner as this example.
Require Additional Reviewers By Branch
Require a specific number of reviews based on branch names.
Note to author: the first example will need to use the
branch.name
context variable and the second example will need to use thepr.target
context variable.By Source Branch
Automation Name: require_additional_reviewers_branch
Conditions (all must be true):
branches
custom expression.Automation Actions:
Use the following custom expression in a similar manner as this example. The automation should look specifically for prefixes to the branch name (i.e. the first few letters of the name, followed by a dash)
By Destination Branch
Automation Name: require_additional_reviewers_branch
Conditions (all must be true):
branches
custom expression.Automation Actions:
Use the following custom expression in a similar manner as this example. The automation should look specifically for prefixes to the branch name (i.e. the first few letters of the name, followed by a dash)
Beta Was this translation helpful? Give feedback.
All reactions