From c3af24131873bba4b926efd02cf2c5c6decba139 Mon Sep 17 00:00:00 2001 From: Alexander Dahmen Date: Mon, 8 Dec 2025 11:44:13 +0100 Subject: [PATCH] chore(ci): remove private repository workaround Signed-off-by: Alexander Dahmen --- .github/workflows/ci.yaml | 5 ----- .github/workflows/release.yaml | 16 ---------------- .github/workflows/upgrade-provider.yaml | 8 -------- 3 files changed, 29 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c497ba0..8853c2b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,11 +25,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6.0.1 - # TODO: remove when this repo is made public - - name: Configure Git for Private Modules - run: | - git config --global url."https://oauth2:${GITHUB_TOKEN}@github.com".insteadOf "https://github.com" - # TODO: remove end - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go Tools diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fc0b9a2..3e3bbdf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,14 +30,6 @@ jobs: name: Publish provider runs-on: ubuntu-latest steps: - # TODO: remove when this repo is made public - - name: Configure Git for Private Modules - run: | - git config --global url."https://oauth2:${{ secrets.PR_TOKEN }}@github.com".insteadOf "https://github.com" - # Sets GOPRIVATE and GONOSUMDB in order to use the git authentication for go mod. - echo "GOPRIVATE=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV - echo "GONOSUMDB=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV - # TODO: remove end - name: Checkout Repo uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # tag=v4.2.2 - name: Unshallow clone for tags @@ -67,14 +59,6 @@ jobs: runs-on: ubuntu-latest needs: publish_binary steps: - # TODO: remove when this repo is made public - - name: Configure Git for Private Modules - run: | - git config --global url."https://oauth2:${{ secrets.PR_TOKEN }}@github.com".insteadOf "https://github.com" - # Sets GOPRIVATE and GONOSUMDB in order to use the git authentication for go mod. - echo "GOPRIVATE=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV - echo "GONOSUMDB=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV - # TODO: remove end - name: Checkout Repo uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # tag=v4.2.2 - name: Unshallow clone for tags diff --git a/.github/workflows/upgrade-provider.yaml b/.github/workflows/upgrade-provider.yaml index 654f52d..dbf0091 100644 --- a/.github/workflows/upgrade-provider.yaml +++ b/.github/workflows/upgrade-provider.yaml @@ -22,14 +22,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6.0.1 - # TODO: remove when this repo is made public - - name: Configure Git for Private Modules - run: | - git config --global url."https://oauth2:${{ secrets.PR_TOKEN }}@github.com".insteadOf "https://github.com" - # Sets GOPRIVATE and GONOSUMDB in order to use the git authetnication for go mod. - echo "GOPRIVATE=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV - echo "GONOSUMDB=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV - # TODO: remove end - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go Tools