Skip to content

[CI] Skip coverage for Dependabot.#725

Merged
hildebrandmw merged 2 commits intomainfrom
users/mhildebr/dependabot
Feb 6, 2026
Merged

[CI] Skip coverage for Dependabot.#725
hildebrandmw merged 2 commits intomainfrom
users/mhildebr/dependabot

Conversation

@hildebrandmw
Copy link
Contributor

By default, Dependabot PRs appear to have read only permissions for their GITHUB_TOKEN and no secrets are available. Thus, code-coverage step fails.

Since we expect Depentabot to only update dependencies, we can disable coverage by checking if the github.actor is Dependabot.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a conditional check to skip the code coverage job when the GitHub actor is Dependabot. This addresses the issue where Dependabot PRs fail at the coverage step due to read-only token permissions and unavailable secrets.

Changes:

  • Add job-level conditional to skip coverage job for Dependabot PRs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov-commenter
Copy link

codecov-commenter commented Feb 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.01%. Comparing base (6515e59) to head (9a25b1c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #725   +/-   ##
=======================================
  Coverage   89.01%   89.01%           
=======================================
  Files         428      428           
  Lines       78294    78294           
=======================================
+ Hits        69692    69697    +5     
+ Misses       8602     8597    -5     

see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@hildebrandmw hildebrandmw merged commit c21d6bb into main Feb 6, 2026
20 checks passed
@hildebrandmw hildebrandmw deleted the users/mhildebr/dependabot branch February 6, 2026 01:43
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.

4 participants