From 195ac707266e7ee708ba9ad50f4789c845afe1a8 Mon Sep 17 00:00:00 2001 From: Grigory Efimov Date: Wed, 11 Jan 2023 16:25:52 +0300 Subject: [PATCH] fix .github/workflows/coverage.yml --- .github/workflows/coverage.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 6b4590ca..39ea7629 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -13,10 +13,12 @@ jobs: go-version: '^1.19.0' - name: Vet + env: + GITHUB_TOKEN: ${{ github.token }} run: | - git config --global http.extraheader "PRIVATE-TOKEN: ${{ secrets.GITHUB_TOKEN }}" - git config --global url."https://${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/" - export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} + #git config --global http.extraheader "PRIVATE-TOKEN: ${{ github.token }}" + #git config --global url."https://${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/" + #export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make vet - name: Unit tests run: |