Skip to content

Commit 7a50b94

Browse files
chore: add git configuration for Go private module in CI workflow
1 parent 6b706c2 commit 7a50b94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
needs:
3030
- prepare
3131
steps:
32+
- name: Add git config for Go private module
33+
run: git config --global url."https://${{ secrets.GH_PAT }}:x-oauth-basic@github.com/".insteadOf https://github.com/
3234
- name: Checkout
3335
uses: actions/checkout@v4
3436
- name: Install Go

0 commit comments

Comments
 (0)