Skip to content

Commit 334702c

Browse files
committed
ci: pass secrets to reusable CI workflow in publish pipeline
The Codecov upload fails on tag-triggered runs because secrets are not automatically inherited by reusable workflows called via workflow_call. Add `secrets: inherit` so CODECOV_TOKEN is available during coverage upload.
1 parent dae87b4 commit 334702c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
test:
1111
uses: ./.github/workflows/ci.yml
12+
secrets: inherit
1213

1314
build:
1415
needs: test

0 commit comments

Comments
 (0)