Skip to content
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

ci(mergify): upgrade configuration to current format #345

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 27 additions & 15 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,13 +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

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
Expand All @@ -19,11 +12,28 @@ pull_request_rules:
- -merged
- -closed
- author!=dependabot[bot]
actions:
queue:
method: squash
name: default
merge_conditions:
# Conditions to get out of the queue (= merged)
- status-success=Run Unit Tests
- status-success=Semantic Pull Request
merge_method: squash
- name: duplicated default from Automatically approve and merge Dependabot PRs
queue_conditions:
- base=master
- author=dependabot[bot]
- status-success=Run Unit Tests
- status-success=Semantic Pull Request
- -title~=(WIP|wip)
- -label~=(blocked|do-not-merge)
- -merged
- -closed
merge_conditions:
# Conditions to get out of the queue (= merged)
- status-success=Run Unit Tests
- status-success=Semantic Pull Request
merge_method: squash

pull_request_rules:
- name: Automatically approve and merge Dependabot PRs
conditions:
- base=master
Expand All @@ -37,6 +47,8 @@ pull_request_rules:
actions:
review:
type: APPROVE
- name: Automatically approve and merge Dependabot PRs + Automatically merge on
CI success and review approval
conditions: []
actions:
queue:
method: squash
name: default
Loading