-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bfcdf79
commit 4c81ff8
Showing
1 changed file
with
15 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,35 @@ | ||
--- | ||
pull_request_rules: | ||
- name: Auto-squash dependabot updates when checks pass | ||
- name: Auto-merge dependabot updates when checks pass | ||
conditions: | ||
- and: | ||
- author~=^dependabot(|-preview)\[bot\]$ | ||
- label!=wontfix | ||
- check-success=SonarCloud Code Analysis | ||
- check-success=build | ||
- check-success=lint | ||
- author=dependabot[bot] | ||
- label!=wontfix | ||
actions: | ||
review: | ||
type: APPROVE | ||
message: Automatically approving dependabot | ||
merge: | ||
method: merge | ||
- name: Auto-squash when all checks pass and the PR has been approved | ||
- name: Auto-merge when all checks pass and the PR has been approved | ||
conditions: | ||
- and: | ||
- check-success=SonarCloud Code Analysis | ||
- check-success=build | ||
- check-success=lint | ||
- "#review-requested=0" | ||
- "#approved-reviews-by>=1" | ||
- "#review-requested=0" | ||
- "#approved-reviews-by>=1" | ||
actions: | ||
merge: | ||
method: merge | ||
- name: Ask an old fart to review the code | ||
- name: Ask for reviews | ||
conditions: | ||
- -closed | ||
- -draft | ||
- author~=!^dependabot(|-preview)\[bot\]$ | ||
- -author=dependabot[bot] | ||
actions: | ||
request_reviews: | ||
users: | ||
- JoshTheWanderer | ||
- DanWebb | ||
- gavmck | ||
random_count: 1 | ||
- name: Get some more eyes on it | ||
teams: | ||
- devs | ||
- name: Assign PR to its author | ||
conditions: | ||
- -closed | ||
- -draft | ||
- author~=!^dependabot(|-preview)\[bot\]$ | ||
- "#files=1" | ||
actions: | ||
request_reviews: | ||
users: | ||
- ella-etch | ||
- Carl-J-M | ||
random_count: 1 | ||
assign: | ||
add_users: | ||
- "{{author}}" |