diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 29482c95..08daff64 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,7 +53,7 @@ jobs: GOARCH: ${{ matrix.arch }} - name: Configure private token run: | - git config --global url."https://${PAT}@github.com/".insteadOf "https://github.com/" + git config --global url."https://${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/" - name: Compile if: steps.cache-binaries.outputs.cache-hit != 'true' && env.GIT_DIFF run: | @@ -73,7 +73,7 @@ jobs: check-latest: true cache: true cache-dependency-path: go.sum - - run: git config --global url.https://${PAT}@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: @@ -105,6 +105,7 @@ jobs: with: go-version: "1.21" - uses: actions/checkout@v4 + - run: git config --global url.https://${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/ - uses: technote-space/get-diff-action@v6.0.1 with: PATTERNS: |