-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
2 changed files
with
62 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: 'npm' | ||
directory: '/' | ||
schedule: | ||
interval: 'daily' | ||
allow: | ||
- dependency-type: "all" | ||
open-pull-requests-limit: 15 | ||
labels: | ||
- "waiting" | ||
- "dependencies" |
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
pull_request_rules: | ||
- name: automatic merge | ||
conditions: | ||
- and: &base_checks | ||
- base=main | ||
- -label~=^acceptance-tests-needed|not-ready | ||
- "#check-failure=0" | ||
- "#check-pending=0" | ||
- linear-history | ||
- and: | ||
- "#approved-reviews-by>=2" | ||
- "#changes-requested-reviews-by=0" | ||
- "#review-requested=0" | ||
actions: &merge | ||
merge: | ||
method: merge | ||
- name: automatic merge on special label | ||
conditions: | ||
- and: *base_checks | ||
- and: | ||
- base=main | ||
- "label=merge-fast" | ||
actions: *merge | ||
- name: automatic merge for dependabot updates | ||
conditions: | ||
- and: *base_checks | ||
- and: | ||
- base=main | ||
- author=dependabot[bot] | ||
- "label=waited" | ||
actions: | ||
merge: | ||
method: squash | ||
- name: ask to resolve conflict | ||
conditions: | ||
- conflict | ||
actions: | ||
comment: | ||
message: This pull request is now in conflicts. Could you fix it? 🙏 | ||
- name: Wait for 2 days before validating merge | ||
actions: | ||
label: | ||
add: | ||
- waited | ||
remove: | ||
- waiting | ||
conditions: | ||
- and: | ||
- updated-at<2 days ago | ||
- author=dependabot[bot] |