From 60343f637d30effdccc8fddb183cfeba81f602a1 Mon Sep 17 00:00:00 2001 From: Hyoung-yoon Kim Date: Thu, 7 Dec 2023 11:04:21 -0500 Subject: [PATCH] fix: workflow fix --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 902b8970..974d84fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,7 @@ on: permissions: contents: read + repository-projects: read concurrency: group: ci-${{ github.ref }}-tests @@ -50,7 +51,7 @@ jobs: env: GOOS: ${{ matrix.targetos }} GOARCH: ${{ matrix.arch }} - - run: git config --global url.https://oauth2:${GITHUB_TOKEN}@github.com/.insteadOf https://github.com/ + - run: 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: | @@ -71,7 +72,7 @@ jobs: check-latest: true cache: true cache-dependency-path: go.sum - - run: git config --global url.https://oauth2:${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: @@ -104,7 +105,7 @@ jobs: with: go-version: "1.21" - uses: actions/checkout@v4 - - run: git config --global url.https://oauth2:${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.0.1 with: PATTERNS: |