Skip to content

Commit b1ed3db

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

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
@@ -63,6 +63,8 @@ jobs:
6363
needs:
6464
- prepare
6565
steps:
66+
- name: Add git config for Go private module
67+
run: git config --global url."https://${{ secrets.GH_PAT }}:x-oauth-basic@github.com/".insteadOf https://github.com/
6668
- name: Checkout
6769
uses: actions/checkout@v4
6870
- name: Install Go

0 commit comments

Comments
 (0)