This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch feature/747-fix-codecov
in repository https://gitbox.apache.org/repos/asf/celix.git

commit cef04fc7aa3df02bbcb69835dca25011191774db
Author: Pepijn Noltes <[email protected]>
AuthorDate: Mon May 27 20:04:25 2024 +0200

    gh-747: Add upload token to codecov action
---
 .github/workflows/coverage.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 730ed750..d4663bc0 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -67,7 +67,9 @@ jobs:
           source deactivate_conanrun.sh
           lcx="lcov --output-file=coverage.info " && for i in `find . -name 
"*.info.cleaned"`; do lcx+=" --add-tracefile=$i"; done && $lcx
       - name: Codecov
-        uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457
+        uses: codecov/codecov-action@4
+        if: github.repository_owner == 'apache'
         with:
           files: build/coverage.info
           name: codecov-celix
+          token: ${{ secrets.CODECOV_TOKEN }}

Reply via email to