pull_request_rules:
  - name: automatic merge when CI passes and 2 reviews
    conditions:
      - "#approved-reviews-by>=2"
      - "#review-requested=0"
      - "#changes-requested-reviews-by=0"
      - "#commented-reviews-by=0"
      - status-success=check_submodules
      - status-success=build.*
      - status-success=precommit
      - status-success=check_artemis
      - base=dev
      - label!=dot_not_merge
      - label!=wip
      - label!=waiting
      - label!=merge_after_release
      - author=@coreteam
    actions:
      merge:
        method: merge
        strict: smart   # To avoid multiple builds at once on the CI
        strict_method: rebase # We want Dev rebased onto the PR
  - name: delete head branch on merged pull requests
    conditions:
      - merged
    actions:
      delete_head_branch: {}

pull_request_rules:
  - name: automatic merge when CI passes and 2 reviews
    conditions:
      - "#approved-reviews-by>=2"
      - "#review-requested=0"
      - "#changes-requested-reviews-by=0"
      - "#commented-reviews-by=0"
      - status-success~=build
      - status-success=check_submodules
      - status-success=precommit
      - status-success=check_artemis
      - base=dev
      - label!=dot_not_merge
      - label!=wip
      - label!=waiting
      - label!=merge_after_release
      - author=@coreteam
    actions:
      merge:
        method: merge
        strict: smart   # To avoid multiple builds at once on the CI
        strict_method: rebase # We want Dev rebased onto the PR
  - name: delete head branch on merged pull requests
    conditions:
      - merged
    actions:
      delete_head_branch: {}

Change operator to match regular expression
Change operator to match regular expression
