Skip to content

Commit a5682c0

Browse files
authored
Pass the codecov token in CI to the uploader via the environment (#1737)
* trying with the env way now
1 parent c0e97b0 commit a5682c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/python-package.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,12 @@ jobs:
160160
if: matrix.python-version == env.GH_COV_PY && matrix.os == env.GH_COV_OS && github.actor != env.GH_DEPENDABOT
161161
uses: codecov/codecov-action@v4
162162
with:
163-
token: ${{ secrets.CODECOV_TOKEN }}
164163
flags: py-unittests
165164
name: py-opentimelineio-codecov
166165
fail_ci_if_error: true
166+
env:
167+
# based on: https://github.com/codecov/codecov-action?tab=readme-ov-file#usage
168+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
167169

168170
package_wheels:
169171
needs: py_build_test

0 commit comments

Comments
 (0)