diff --git a/.github/workflows/go-build-and-release.yml b/.github/workflows/go-build-and-release.yml index 73d711e..f7d6ee3 100644 --- a/.github/workflows/go-build-and-release.yml +++ b/.github/workflows/go-build-and-release.yml @@ -27,6 +27,13 @@ jobs: with: # Allow goreleaser to access older tag information. fetch-depth: 0 + + - name: Set up private repo access for go get + run: | + git config --global url."https://$GITHUB_TOKEN:x-oauth-basic@github.com/".insteadOf "https://github.com/" + env: + GITHUB_TOKEN: ${{ secrets.V2BUILDTOKEN}} + - uses: keyfactor/setup-go@v5.0.1 with: go-version-file: 'go.mod' diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..3be47a6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,8 @@ + +# Changelog + +## v3.1.3 + +### Fixes + +- Configure `go` build process to use build token for private repository access. \ No newline at end of file