From e4ba034f967106c909835c1428b40fa3480dcbe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Breu=C3=9F?= Date: Sat, 5 Sep 2026 08:14:11 +0200 Subject: [PATCH] chore: add mergify auto-merge for dependabot PRs Squash-merge Dependabot PRs into main once the CI checks that actually run for dependabot[bot] are green. Jobs guarded by `if: github.actor != 'dependabot[bot]'` are deliberately not used as gates: they are skipped on these PRs, and mergify counts a skipped check as skipped rather than successful, which would block the merge forever. --- .github/mergify.yml | 11 +++++++++++ Testably.Abstractions.Migration.slnx | 5 ++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/mergify.yml diff --git a/.github/mergify.yml b/.github/mergify.yml new file mode 100644 index 0000000..b6dd0b3 --- /dev/null +++ b/.github/mergify.yml @@ -0,0 +1,11 @@ +pull_request_rules: + - name: Auto-merge Dependabot PRs into main + conditions: + - base = main + - author = dependabot[bot] + - check-success = Unit tests (ubuntu-latest) + - check-success = Unit tests (windows-latest) + - check-success = Unit tests (macos-latest) + actions: + merge: + method: squash diff --git a/Testably.Abstractions.Migration.slnx b/Testably.Abstractions.Migration.slnx index 3fc000c..6401d35 100644 --- a/Testably.Abstractions.Migration.slnx +++ b/Testably.Abstractions.Migration.slnx @@ -22,7 +22,10 @@ - + + + +