-
Notifications
You must be signed in to change notification settings - Fork 260
ci(mergify): upgrade configuration to current format #686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
a27c3db
1d359bf
303e47e
aeb6bc5
8c205e1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
queue_rules: | ||
- name: default | ||
conditions: | ||
# Conditions to get out of the queue (= merged) | ||
- status-success=Run Unit Tests | ||
- status-success=Semantic Pull Request | ||
- status-success=Analyze (javascript) | ||
|
||
pull_request_rules: | ||
- name: Automatically merge on CI success and review approval | ||
conditions: | ||
- name: duplicated default from Automatically merge on CI success and review approval | ||
queue_conditions: | ||
- base~=master|integ-tests | ||
- "#approved-reviews-by>=1" | ||
- approved-reviews-by=@aws-actions/aws-ecs-devx | ||
|
@@ -21,11 +13,37 @@ pull_request_rules: | |
- -merged | ||
- -closed | ||
- author!=dependabot[bot] | ||
actions: | ||
queue: | ||
method: squash | ||
name: default | ||
merge_conditions: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
# Conditions to get out of the queue (= merged) | ||
- status-success=Run Unit Tests | ||
- status-success=Semantic Pull Request | ||
- status-success=Analyze (javascript) | ||
merge_method: squash | ||
- name: duplicated default from Automatically approve and merge Dependabot PRs | ||
queue_conditions: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. again, duplicated from |
||
- base=master | ||
- author=dependabot[bot] | ||
- status-success=Run Unit Tests | ||
- status-success=Semantic Pull Request | ||
- status-success=Analyze (javascript) | ||
- -title~=(WIP|wip) | ||
- -label~=(blocked|do-not-merge) | ||
- -merged | ||
- -closed | ||
merge_conditions: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. duplicated |
||
# Conditions to get out of the queue (= merged) | ||
- status-success=Run Unit Tests | ||
- status-success=Semantic Pull Request | ||
- status-success=Analyze (javascript) | ||
merge_method: squash | ||
- name: default | ||
conditions: | ||
# Conditions to get out of the queue (= merged) | ||
- status-success=Run Unit Tests | ||
- status-success=Semantic Pull Request | ||
- status-success=Analyze (javascript) | ||
|
||
pull_request_rules: | ||
- name: Automatically approve and merge Dependabot PRs | ||
conditions: | ||
- base=master | ||
|
@@ -40,6 +58,8 @@ pull_request_rules: | |
actions: | ||
review: | ||
type: APPROVE | ||
- name: Automatically approve and merge Dependabot PRs + Automatically merge on | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This step seems incomplete? |
||
CI success and review approval | ||
conditions: [] | ||
actions: | ||
queue: | ||
method: squash | ||
name: default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
queue_rules->queue_conditions
logic is duplicated from thepull_request_rules -> conditions
for the condition named "for "Automatically merge on CI success and review approval"