Skip to content

Commit

Permalink
chore: fix git config in test-e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
jim380 committed Jan 4, 2024
1 parent b8642c4 commit 10d5239
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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/[email protected]
id: git_diff
with:
Expand Down Expand Up @@ -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/[email protected]
with:
PATTERNS: |
Expand Down

0 comments on commit 10d5239

Please sign in to comment.