Skip to content

Skip Codecov upload for dependabot PRs - #305

Merged
amrit110 merged 1 commit into
mainfrom
fix-unit-tests-codecov-dependabot
Aug 16, 2026
Merged

Skip Codecov upload for dependabot PRs#305
amrit110 merged 1 commit into
mainfrom
fix-unit-tests-codecov-dependabot

Conversation

@amrit110

Copy link
Copy Markdown
Member

Summary

Test plan

  • Confirm unit-tests job passes (Codecov steps skipped) on a rebase of an open dependabot PR after this merges
  • Confirm Codecov upload still runs normally on merge to main

Dependabot-triggered workflow runs never receive repository secrets,
so CODECOV_TOKEN is empty and the upload step fails with "Token
required because branch is protected" (fail_ci_if_error: true), taking
down the whole unit-tests job even though pytest itself passed. Same
root cause and fix pattern as the docker job in #304.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@amrit110
amrit110 merged commit cfbd3c2 into main Aug 16, 2026
4 checks passed
@amrit110
amrit110 deleted the fix-unit-tests-codecov-dependabot branch August 16, 2026 12:50
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.

1 participant