Skip to content

Commit cbd7f73

Browse files
committed
Adjust the global config for github.com in order to fetch the private modules.
This is a temporary workaround for golang. Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
1 parent 800dfed commit cbd7f73

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@v5
28+
# TODO: remove when this repo is made public
29+
- name: Configure Git for Private Modules
30+
run: |
31+
git config --global url."https://oauth2:${GITHUB_TOKEN}@github.com".insteadOf "https://github.com"
32+
# TODO: remove end
2833
- name: Unshallow clone for tags
2934
run: git fetch --prune --unshallow --tags
3035
- name: Install pulumictl

0 commit comments

Comments
 (0)