diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 702212c82..bda3e7be5 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -13,6 +13,8 @@ permissions: read-all jobs: call_test_cli: uses: ./.github/workflows/e2e-cli.yml + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} call_test_e2e_basic: name: "run e2e on basic matrix" diff --git a/.github/workflows/e2e-cli.yml b/.github/workflows/e2e-cli.yml index 8d666aeb4..732a2affd 100644 --- a/.github/workflows/e2e-cli.yml +++ b/.github/workflows/e2e-cli.yml @@ -2,6 +2,9 @@ name: e2e-cli on: workflow_call: + secrets: + CODECOV_TOKEN: + required: true permissions: contents: read @@ -50,8 +53,8 @@ jobs: run: bin/ratify version - name: Upload coverage to codecov.io uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + with: + token: $${{ secrets.CODECOV_TOKEN }} - name: Run helm lint run: helm lint charts/ratify build_test_cli: @@ -83,8 +86,8 @@ jobs: make test-e2e-cli GOCOVERDIR=${GITHUB_WORKSPACE}/test/e2e/.cover - name: Upload coverage to codecov.io uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + with: + token: $${{ secrets.CODECOV_TOKEN }} markdown-link-check: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/run-full-validation.yml b/.github/workflows/run-full-validation.yml index 017944f75..fa43e9560 100644 --- a/.github/workflows/run-full-validation.yml +++ b/.github/workflows/run-full-validation.yml @@ -16,6 +16,8 @@ permissions: read-all jobs: call-e2e-cli: uses: ./.github/workflows/e2e-cli.yml + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} call_test_e2e_full: name: "Build and run e2e on full test matrix"