Skip to content

chore: add mergify auto-merge for dependabot PRs - #149

Merged
vbreuss merged 1 commit into
mainfrom
chore/mergify-auto-merge
Sep 5, 2026
Merged

chore: add mergify auto-merge for dependabot PRs#149
vbreuss merged 1 commit into
mainfrom
chore/mergify-auto-merge

Conversation

@vbreuss

@vbreuss vbreuss commented Sep 5, 2026

Copy link
Copy Markdown
Member

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.

@vbreuss vbreuss self-assigned this Sep 5, 2026
Copilot AI lite review requested due to automatic review settings September 5, 2026 06:09
@vbreuss vbreuss added the dependencies Pull requests that update a dependency file label Sep 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The Mergify rule omits gating on CI jobs that also run for Dependabot PRs (e.g., mutation tests/benchmarks), so it could merge even when those checks fail.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds a Mergify configuration to automatically squash-merge Dependabot PRs into main when the intended CI checks are green, avoiding skipped Dependabot-ineligible jobs as merge gates.

Changes:

  • Introduces a pull_request_rules entry to auto-merge dependabot[bot] PRs targeting main.
  • Defines required successful checks (unit tests per OS + API tests) before merging via squash.
File summaries
File Description
.github/mergify.yml Adds Mergify rule to squash-merge Dependabot PRs when selected CI checks succeed.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/mergify.yml
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.
@vbreuss
vbreuss force-pushed the chore/mergify-auto-merge branch from f5136da to 333283a Compare September 5, 2026 06:16
@vbreuss
vbreuss enabled auto-merge (squash) September 5, 2026 06:24
@sonarqubecloud

sonarqubecloud Bot commented Sep 5, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Test Results

   19 files  ±0     19 suites  ±0   17s ⏱️ -2s
  555 tests ±0    554 ✅ ±0  1 💤 ±0  0 ❌ ±0 
3 298 runs  ±0  3 297 ✅ ±0  1 💤 ±0  0 ❌ ±0 

Results for commit 333283a. ± Comparison against base commit d7de012.

@vbreuss
vbreuss merged commit ed41243 into main Sep 5, 2026
14 checks passed
@vbreuss
vbreuss deleted the chore/mergify-auto-merge branch September 5, 2026 06:47
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.303
[Host] : .NET 8.0.30 (8.0.30, 8.0.3026.36720), X64 RyuJIT x86-64-v4
DefaultJob : .NET 8.0.30 (8.0.30, 8.0.3026.36720), X64 RyuJIT x86-64-v4

Method Mean Error StdDev Gen0 Allocated
Content_aweXpect 415.1 ns 4.34 ns 3.84 ns 0.0129 1088 B
SuccessStatusCode_aweXpect 258.8 ns 4.26 ns 4.19 ns 0.0100 856 B

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

👽 Mutation Results

Mutation testing badge

aweXpect.Web

Details
File Score Killed Survived Timeout No Coverage Ignored Compile Errors Runtime Errors Total Detected Total Undetected Total Mutants

The final mutation score is NaN%

Coverage Thresholds: high:80 low:60 break:0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants