Skip to content

Commit

Permalink
fix: pass in Codecov token from caller workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
akikanellis committed Mar 31, 2024
1 parent 109ad08 commit a259566
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-main.yml
Expand Up @@ -30,6 +30,8 @@ jobs:
uses: ./.github/workflows/test.yml
with:
continue-on-error: true
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

release:
name: Release
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-pr.yml
Expand Up @@ -17,6 +17,8 @@ jobs:
test:
name: Test
uses: ./.github/workflows/test.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

validate-branch-name:
name: Validate branch name
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -9,6 +9,10 @@ name: Test
description: Allow a workflow run to pass when this workflow fails
required: false
default: false
secrets:
CODECOV_TOKEN:
description: The token used by Codecov
required: true

jobs:
test:
Expand Down

0 comments on commit a259566

Please sign in to comment.