Skip to content

Commit c85a1a5

Browse files
committed
Add CODECOV_TOKEN to codecov action in CI workflow
1 parent 6624aeb commit c85a1a5

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

  • .github/workflows
  • {{cookiecutter.project_name}}/.github/workflows

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ jobs:
5353

5454
- name: πŸ“Š Upload coverage to Codecov
5555
uses: codecov/codecov-action@v4
56+
env:
57+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5658
if: ${{ env.ENABLE_COVERAGE == 'true' }}
5759
with:
5860
fail_ci_if_error: true

β€Ž{{cookiecutter.project_name}}/.github/workflows/ci.ymlβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050

5151
- name: πŸ“Š Upload coverage to Codecov
5252
uses: codecov/codecov-action@v4
53+
env:
54+
CODECOV_TOKEN: ${{ "${{" }} secrets.CODECOV_TOKEN }}
5355
if: ${{ "{{" }} env.ENABLE_COVERAGE == 'true' }}
5456
with:
5557
fail_ci_if_error: true

0 commit comments

Comments
Β (0)