Skip to content

Commit 85804cc

Browse files
fix: Explicitly set repository slug for Codecov
The Codecov action was failing with a "Repository not found" error. This commit resolves the issue by explicitly providing the repository slug to the `codecov/codecov-action` using the `github.repository` context variable. This ensures that the action can always correctly identify the repository.
1 parent 50d1078 commit 85804cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7
6868
with:
6969
token: ${{ secrets.CODECOV_TOKEN }}
70+
slug: ${{ github.repository }}
7071
fail_ci_if_error: true
7172

7273
release:

0 commit comments

Comments
 (0)