From 3c2712e9a53fe89b6feb78e97836710dd65ddb88 Mon Sep 17 00:00:00 2001 From: aceforeverd Date: Thu, 28 Mar 2024 12:26:47 +0800 Subject: [PATCH] ci: fix codecov upload from main (#4) From codecov-actioin@v4: > Tokenless uploading is unsupported. However, PRs made from forks to the upstream public repos will support tokenless (e.g. contributors to OS projects do not need the upstream repo's Codecov token) --- .github/workflows/go.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index cc5f488..e90af20 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -45,3 +45,4 @@ jobs: files: go/coverage.out fail_ci_if_error: true verbose: true + token: ${{ secrets.CODECOV_TOKEN }}