diff --git a/reviewpad.yml b/reviewpad.yml index f36c81034..b584571fa 100644 --- a/reviewpad.yml +++ b/reviewpad.yml @@ -7,20 +7,25 @@ rules: workflows: - name: Assign author - always-run: true - run: $addAssignees([$getAuthor()], 1) + run: + - if: $rule("First run state") + then: $addAssignees([$getAuthor()]) - name: Request review from maintainers run: - - if: $rule("Open PR state") - then: $addReviewers($getTeamMembers("atomic-23/24"), 1, "round-robin") + - if: $rule("First run state") + then: $addReviewers($getTeamMembers("atomic-23/24")) - name: Base message and summary run: - $info("Thanks for your contribution!") - $warn("Please make sure the CI is green before merging.") - - if: $rule("Open PR state") + - if: $rule("First run state") then: $summarize() + - name: Enforce conventional commits + always-run: true + run: $titleLint() + - name: Enforce head branch deletion run: $deleteHeadBranch()