pull_request_rules:
  - name: Automatic approve on dependabot PR
    conditions:
      - author~=^dependabot(|-preview)\[bot\]$
    actions:
      review:
        type: APPROVE
  - name: Automatic merge on dependabot PR after success CI
    conditions:
      - author~=^dependabot(|-preview)\[bot\]$
      - check-success=DotNet Format
      - check-success=Release
      - check-success=Unit Test code (windows-latest, netcoreapp3.1)
      - check-success=Unit Test code (ubuntu-latest, netcoreapp3.1)
      - check-success=Unit Test code (macos-latest, netcoreapp3.1)
      - check-success=Unit Test code (windows-latest, net5.0)
      - check-success=Unit Test code (windows-latest, net5.0)
      - check-success=Unit Test code (windows-latest, net5.0)
    actions:
      merge:
        method: rebase
        strict: smart
  - name: Thank contributor
    conditions:
      - merged
      - -author~=^dependabot(|-preview)\[bot\]$
    actions:
      comment:
        message: "Thank you @{{author}} for your contribution!"

pull_request_rules:
  - name: Automatic approve on dependabot PR
    conditions:
      - author~=^dependabot(|-preview)\[bot\]$
    actions:
      review:
        type: APPROVE
  - name: Automatic merge on dependabot PR after success CI
    conditions:
      - author~=^dependabot(|-preview)\[bot\]$
      - '#commits-behind=0' # Only merge up to date pull requests
      - check-success=DotNet Format
      - check-success=Release
      - check-success=Unit Test code (windows-latest, netcoreapp3.1)
      - check-success=Unit Test code (ubuntu-latest, netcoreapp3.1)
      - check-success=Unit Test code (macos-latest, netcoreapp3.1)
      - check-success=Unit Test code (windows-latest, net5.0)
      - check-success=Unit Test code (windows-latest, net5.0)
      - check-success=Unit Test code (windows-latest, net5.0)
    actions:
      merge:
  - name: Thank contributor
    conditions:
      - merged
      - -author~=^dependabot(|-preview)\[bot\]$
    actions:
      comment:
        message: "Thank you @{{author}} for your contribution!"

Remove deprecated `merge: strict` from Mergify.yml
Remove deprecated `merge: strict` from Mergify.yml

Remove `merge: strict` from the Mergify configuration because it is
deprecated:

> The configuration uses the deprecated strict mode of the merge action.
> A brownout is planned for the whole December 6th, 2021 day.
> This option will be removed on January 10th, 2022.
> For more information: https://blog.mergify.com/strict-mode-deprecation/
