Skip to content

Commit 3153f6b

Browse files
committed
ci: test coverage badges
update go-test-coverage action to create badges in local branch
1 parent 9e230af commit 3153f6b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/codeChecks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ jobs:
8585
uses: vladopajic/go-test-coverage@v2
8686
with:
8787
config: ./.testcoverage.yml
88+
git-token: ${{ github.ref_name == 'main' && secrets.GITHUB_TOKEN || '' }}
89+
git-branch: badges
8890

8991
goreleaser_test:
9092
needs: devenv_test

0 commit comments

Comments
 (0)