Skip to content

Commit 78da84c

Browse files
committed
try x-access-token way
1 parent 5e74d9a commit 78da84c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate-go-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
- name: Configure git for private repository and install go doc generator
3333
env:
3434
GOPRIVATE: github.com/smartcontractkit/generate-go-function
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3635
run: |
37-
git config --global url."https://[email protected]/".insteadOf "https://github.com/"
36+
git config --global \
37+
url."https://x-access-token:${{ steps.setup-github-token-read.outputs.access-token }}@github.com/".insteadOf "https://github.com/"
3838
go install github.com/smartcontractkit/generate-go-function-docs@latest
3939
4040
- name: Install gopls

0 commit comments

Comments
 (0)