diff --git a/docs/automations/standard/branch-management/README.md b/docs/automations/standard/branch-management/README.md index 331d76a3..a881d4d8 100644 --- a/docs/automations/standard/branch-management/README.md +++ b/docs/automations/standard/branch-management/README.md @@ -10,7 +10,7 @@ Use gitStream to enforce branch naming conventions, review assignment, and other [Enforce Branch Naming Conventions](#enforce-branch-name) - Automatically enforce prefixes or keywords in PR branch names. -[Assign Reviewers Based on Target Branch](#review-target-branch) - Automatically assign PR reviewers for target branches that include a specified keyword. +[Branch-Based Review Policies](#review-branch) - Automatically assign PR reviewers for target branches that include a specified keyword. @@ -18,6 +18,11 @@ Use gitStream to enforce branch naming conventions, review assignment, and other --8<-- "docs/automations/standard/branch-management/enforce-branch-name/README.md:example" + +## Branch-Based Review Policies + +--8<-- "docs/automations/standard/review-assignment/review-branch/README.md:example" + ## Additional Resources --8<-- "docs/snippets/general.md" diff --git a/docs/downloads/automation-library/standard/review-assignment/review_source_branch.cm b/docs/downloads/automation-library/standard/review-assignment/review_source_branch.cm index 5b251c4d..d0fe6959 100644 --- a/docs/downloads/automation-library/standard/review-assignment/review_source_branch.cm +++ b/docs/downloads/automation-library/standard/review-assignment/review_source_branch.cm @@ -20,9 +20,9 @@ automations: {% endfor %} branches: - - prefix: r/^ABC/ + - name: ABC + prefix: r/^ABC/ reviewers: org/a-team - name: ABC - - prefix: r/^XYZ-/ + - name: XYZ + prefix: r/^XYZ-/ reviewers: org/x-team - name: XYZ diff --git a/docs/downloads/automation-library/standard/review-assignment/review_target_branch.cm b/docs/downloads/automation-library/standard/review-assignment/review_target_branch.cm index 548f6c8d..8e35b6b5 100644 --- a/docs/downloads/automation-library/standard/review-assignment/review_target_branch.cm +++ b/docs/downloads/automation-library/standard/review-assignment/review_target_branch.cm @@ -20,9 +20,11 @@ automations: {% endfor %} branches: - - prefix: r/^release/ + - name: Release + prefix: r/^release/ + reviewers: org/release-team reviews: 4 - name: Release - - prefix: r/^experimental-/ - reviews: 1 - name: Experimental \ No newline at end of file + - name: Experimental + prefix: r/^experimental-/ + reviewers: org/experiment-team + reviews: 1 \ No newline at end of file