Skip to content

Commit 5859476

Browse files
kkaarreellansasaki
authored andcommitted
ci: use CODECOV_TOKEN when submitting coverage data
Signed-off-by: Karel Srot <[email protected]>
1 parent c195ef6 commit 5859476

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/submit-HEAD-coverage.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,15 @@ jobs:
2626
run: ls
2727
- name: Upload e2e_coverage report to Codecov with GitHub Action.
2828
uses: codecov/codecov-action@v4
29+
env:
30+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2931
with:
3032
files: e2e_coverage.txt
3133
flags: e2e-testsuite
3234
- name: Upload upstream_coverage report to Codecov with GitHub Action.
3335
uses: codecov/codecov-action@v4
36+
env:
37+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3438
with:
3539
files: upstream_coverage.xml
3640
flags: upstream-unit-tests

.github/workflows/submit-PR-coverage.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ jobs:
2121
run: ls
2222
- name: Upload e2e_coverage.txt report to Codecov with GitHub Action.
2323
uses: codecov/codecov-action@v4
24+
env:
25+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2426
with:
2527
files: scripts/e2e_coverage.txt
2628
flags: e2e-testsuite
2729
- name: Upload upstream_coverage.xml report to Codecov with GitHub Action.
2830
uses: codecov/codecov-action@v4
31+
env:
32+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2933
with:
3034
files: scripts/upstream_coverage.xml
3135
flags: upstream-unit-tests

0 commit comments

Comments
 (0)