diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dba6104..cf51877 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,10 @@ name: integration on: workflow_call: + secrets: + CODECOV_TOKEN: + required: true + pull_request: branches: - "main" @@ -56,5 +60,4 @@ jobs: - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.5.0 with: - token: ${{ secrets.CODECOV_TOKEN }} - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index a69dbc0..c6aad60 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -10,6 +10,8 @@ concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: test: uses: ./.github/workflows/ci.yml + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} release: name: Release needs: test