diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 6babc53b8..2dd38d1c6 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -8,4 +8,5 @@ jobs: uses: ThreeDotsLabs/watermill/.github/workflows/tests.yml@master with: stress-tests: true + secrets: codecov_token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 85fae72b4..14ff09838 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,9 +7,10 @@ on: required: false type: boolean default: false - codecov_token: - required: false - type: string + secrets: + codecov_token: + required: false + type: string jobs: build: runs-on: ubuntu-latest @@ -57,8 +58,8 @@ jobs: - run: make wait - run: make test_codecov - uses: codecov/codecov-action@v4 - if: ${{ inputs.codecov_token != '' }} + if: ${{ secrets.codecov_token != '' }} with: fail_ci_if_error: true files: ./coverage.out - token: ${{ inputs.codecov_token }} + token: ${{ secrets.codecov_token }}