From 7ccebfbdc81a7b676ebbdeca1288182f18f68ce6 Mon Sep 17 00:00:00 2001 From: Edie Lemoine Date: Mon, 15 Apr 2024 17:50:53 +0200 Subject: [PATCH] build(gha): add codecov token to env for @codecov/vite-plugin --- .github/workflows/bundlewatch.yml | 3 +++ .github/workflows/release.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 51e37199..1a95540d 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -3,6 +3,9 @@ name: 'Run bundlewatch' on: workflow_call: +env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + jobs: bundlewatch: runs-on: ubuntu-22.04 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28e21bb0..75a83d00 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,9 @@ concurrency: group: '${{ github.workflow }}-${{ github.ref }}' cancel-in-progress: true +env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + jobs: bundlewatch: uses: ./.github/workflows/bundlewatch.yml