Conversation
There was a problem hiding this comment.
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 Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #725 +/- ##
=======================================
Coverage 89.01% 89.01%
=======================================
Files 428 428
Lines 78294 78294
=======================================
+ Hits 69692 69697 +5
+ Misses 8602 8597 -5 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
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>
By default, Dependabot PRs appear to have read only permissions for their
GITHUB_TOKENand 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.actoris Dependabot.