From 7a576cb6497469d814c81fd691e3f4c30f093652 Mon Sep 17 00:00:00 2001 From: Pawel Kosiec Date: Sun, 12 May 2024 01:11:53 +0200 Subject: [PATCH] Use global Codecov token for code coverage report upload --- .github/workflows/branch.yaml | 3 +++ .github/workflows/pull-request.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/branch.yaml b/.github/workflows/branch.yaml index d4475d6..514f637 100644 --- a/.github/workflows/branch.yaml +++ b/.github/workflows/branch.yaml @@ -5,6 +5,9 @@ on: branches: - main +env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + jobs: build-node-apps: name: Build and test Node.js apps diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 9cb02bd..3923e44 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -6,6 +6,9 @@ on: branches: - main +env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + jobs: build-node-apps: name: Build and test Node.js apps