Skip to content

skip coverage regression check for dependabot prs#2116

Merged
lionello merged 1 commit into
mainfrom
jordan/skip-coverage-check-for-dependabot-prs
May 19, 2026
Merged

skip coverage regression check for dependabot prs#2116
lionello merged 1 commit into
mainfrom
jordan/skip-coverage-check-for-dependabot-prs

Conversation

@jordanstephens
Copy link
Copy Markdown
Member

@jordanstephens jordanstephens commented May 15, 2026

Description

dependabot automerge is tripping on coverage variability

Linked Issues

Checklist

  • I have performed a self-review of my code
  • I have added appropriate tests
  • I have updated the Defang CLI docs and/or README to reflect my changes, if necessary

Summary by CodeRabbit

Release Notes

  • Chores
    • Updated CI/CD workflow configuration to improve continuous integration processes.

Note: This release contains only internal infrastructure updates with no user-facing changes.

Review Change Stack

@jordanstephens jordanstephens requested a review from raphaeltm as a code owner May 15, 2026 16:43
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 15, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 67a1c645-15ab-44cf-872b-4493c7663b0a

📥 Commits

Reviewing files that changed from the base of the PR and between 5c42faa and cd514b7.

📒 Files selected for processing (1)
  • .github/workflows/go.yml

📝 Walkthrough

Walkthrough

The PR adds a condition to the GitHub Actions workflow that prevents coverage regression checks from running on Dependabot pull requests, complementing the existing conditions that gate the check to non-main, non-tag refs.

Changes

CI Coverage Check Gating

Layer / File(s) Summary
Dependabot coverage regression skip condition
.github/workflows/go.yml
The "Check coverage regression" step's if: condition is extended with github.actor != 'dependabot[bot]' to prevent coverage checks from running on Dependabot-automated PRs.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • DefangLabs/defang#1988: Both PRs modify the .github/workflows/go.yml "Check coverage regression" logic—the prior PR adds the coverage regression gate, and this PR further extends its skip conditions to exclude Dependabot runs.
  • DefangLabs/defang#2114: Both PRs adjust GitHub Actions behavior specifically for dependabot[bot] runs.

Suggested reviewers

  • raphaeltm
  • lionello

Poem

🐰 Dependabot sends pulls with care,
But coverage checks need not compare,
One line added, gating clean,
Skips the noise, just keeps the scene! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: skipping coverage regression checks for Dependabot PRs, which matches the file modification in .github/workflows/go.yml.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jordan/skip-coverage-check-for-dependabot-prs

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Comment @coderabbitai help to get the list of available commands and usage tips.

@lionello lionello merged commit 9c96c22 into main May 19, 2026
16 checks passed
@lionello lionello deleted the jordan/skip-coverage-check-for-dependabot-prs branch May 19, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants