Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Nov 28, 2024
1 parent 469db59 commit e532606
Showing 1 changed file with 32 additions and 15 deletions.
47 changes: 32 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,33 @@ 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
- 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 approve and merge Dependabot PRs
conditions:
- base=master
Expand All @@ -37,6 +52,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

0 comments on commit e532606

Please sign in to comment.