Skip to content

fix: Add checkout step to coverage-report job#141

Merged
lykinsbd merged 1 commit intomasterfrom
fix/coverage-report-checkout
Mar 8, 2026
Merged

fix: Add checkout step to coverage-report job#141
lykinsbd merged 1 commit intomasterfrom
fix/coverage-report-checkout

Conversation

@lykinsbd
Copy link
Collaborator

@lykinsbd lykinsbd commented Mar 8, 2026

Problem

The coverage-report job in the test workflow was failing on fork PRs with:

The current working directory is not inside a git repository

This caused PR #140 (and potentially other external contributor PRs) to show failed checks even though tests passed.

Solution

Added actions/checkout@v4 step before the fgrosse/go-coverage-report action. The action requires the repository to be checked out to generate coverage reports.

Impact

  • Fixes coverage report failures on fork PRs
  • No impact on test execution (tests still run and pass)
  • Coverage reports will now post correctly to PRs from external contributors

Testing

This fix will be validated when CI runs on this PR itself.

The coverage-report job was failing on fork PRs with:
'The current working directory is not inside a git repository'

The fgrosse/go-coverage-report action needs the repository
checked out to function properly. Added checkout step before
the coverage report action.

Fixes workflow failures on external contributor PRs.
@lykinsbd lykinsbd merged commit b36cfb7 into master Mar 8, 2026
4 checks passed
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