Skip to content

Commit eb8c913

Browse files
authored
chore(ci): remove private repository workaround (#147)
Signed-off-by: Alexander Dahmen <[email protected]>
1 parent cb6109c commit eb8c913

File tree

3 files changed

+0
-29
lines changed

3 files changed

+0
-29
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ jobs:
2525
steps:
2626
- name: Checkout
2727
uses: actions/[email protected]
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
3328
- name: Unshallow clone for tags
3429
run: git fetch --prune --unshallow --tags
3530
- name: Install Go Tools

.github/workflows/release.yaml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ jobs:
3030
name: Publish provider
3131
runs-on: ubuntu-latest
3232
steps:
33-
# TODO: remove when this repo is made public
34-
- name: Configure Git for Private Modules
35-
run: |
36-
git config --global url."https://oauth2:${{ secrets.PR_TOKEN }}@github.com".insteadOf "https://github.com"
37-
# Sets GOPRIVATE and GONOSUMDB in order to use the git authentication for go mod.
38-
echo "GOPRIVATE=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
39-
echo "GONOSUMDB=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
40-
# TODO: remove end
4133
- name: Checkout Repo
4234
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # tag=v4.2.2
4335
- name: Unshallow clone for tags
@@ -67,14 +59,6 @@ jobs:
6759
runs-on: ubuntu-latest
6860
needs: publish_binary
6961
steps:
70-
# TODO: remove when this repo is made public
71-
- name: Configure Git for Private Modules
72-
run: |
73-
git config --global url."https://oauth2:${{ secrets.PR_TOKEN }}@github.com".insteadOf "https://github.com"
74-
# Sets GOPRIVATE and GONOSUMDB in order to use the git authentication for go mod.
75-
echo "GOPRIVATE=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
76-
echo "GONOSUMDB=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
77-
# TODO: remove end
7862
- name: Checkout Repo
7963
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # tag=v4.2.2
8064
- name: Unshallow clone for tags

.github/workflows/upgrade-provider.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@ jobs:
2222
steps:
2323
- name: Checkout
2424
uses: actions/[email protected]
25-
# TODO: remove when this repo is made public
26-
- name: Configure Git for Private Modules
27-
run: |
28-
git config --global url."https://oauth2:${{ secrets.PR_TOKEN }}@github.com".insteadOf "https://github.com"
29-
# Sets GOPRIVATE and GONOSUMDB in order to use the git authetnication for go mod.
30-
echo "GOPRIVATE=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
31-
echo "GONOSUMDB=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
32-
# TODO: remove end
3325
- name: Unshallow clone for tags
3426
run: git fetch --prune --unshallow --tags
3527
- name: Install Go Tools

0 commit comments

Comments
 (0)