diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8875b6d6..b4e223cc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,11 +54,8 @@ jobs: GOOS: ${{ matrix.targetos }} GOARCH: ${{ matrix.arch }} - name: Configure private token - env: - GITHUB_USERNAME: ${{ github.actor }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git config --global url."https://${GITHUB_USERNAME}:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/" + git config --global url."https://${USERNAME}:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/" - name: Compile if: steps.cache-binaries.outputs.cache-hit != 'true' && env.GIT_DIFF run: | @@ -69,7 +66,7 @@ jobs: runs-on: ubuntu-latest env: GOPRIVATE: github.com/sedaprotocol/vrf-go - GITHUB_USERNAME: ${{ github.actor }} + # GITHUB_USERNAME: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v4 @@ -79,7 +76,7 @@ jobs: check-latest: true cache: true cache-dependency-path: go.sum - - run: git config --global url.https://$${GITHUB_USERNAME}:{GITHUB_TOKEN}@github.com/.insteadOf https://github.com/ + - run: git config --global url.https://${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/ - uses: technote-space/get-diff-action@v6.1.2 id: git_diff with: