ci(release): drop private-module auth #25

Merged
thklein merged 1 commit from ci/drop-private-module-auth into main 2026-10-18 12:19:36 +00:00
Owner

All git.basepeak.dev Go module dependencies of gptscript (broadcaster,
chat-completion-client, cmd, tui, go-gptscript) are public now, so the
private-module auth added to the release workflow in #20 is no longer needed.

Changes:

  • .github/workflows/release.yaml: drop the job-level GOPRIVATE: git.basepeak.dev
    env and the "Configure git for private modules" step (token-based
    url.insteadOf rewrite using CI_BOT_REPO_READ_TOKEN).

No other workflow, .goreleaser.yml or Makefile used the GOPRIVATE / token /
insteadOf pattern.

Verified anonymously (no git credentials: GIT_CONFIG_GLOBAL=/dev/null,
GIT_TERMINAL_PROMPT=0, GOPRIVATE unset, GOPROXY=direct,
GONOSUMDB=git.basepeak.dev): go mod download of all five
git.basepeak.dev/basepeak-ai/* modules pinned in go.mod succeeds. The
integration (ubuntu) job on this PR also downloads the full module graph
without any token and passes.

Follow-up: the CI_BOT_REPO_READ_TOKEN repository secret is no longer
referenced by any workflow and can be removed (left in place by this PR).

All `git.basepeak.dev` Go module dependencies of gptscript (broadcaster, chat-completion-client, cmd, tui, go-gptscript) are public now, so the private-module auth added to the release workflow in #20 is no longer needed. Changes: - `.github/workflows/release.yaml`: drop the job-level `GOPRIVATE: git.basepeak.dev` env and the "Configure git for private modules" step (token-based `url.insteadOf` rewrite using `CI_BOT_REPO_READ_TOKEN`). No other workflow, `.goreleaser.yml` or `Makefile` used the GOPRIVATE / token / insteadOf pattern. Verified anonymously (no git credentials: `GIT_CONFIG_GLOBAL=/dev/null`, `GIT_TERMINAL_PROMPT=0`, GOPRIVATE unset, `GOPROXY=direct`, `GONOSUMDB=git.basepeak.dev`): `go mod download` of all five `git.basepeak.dev/basepeak-ai/*` modules pinned in `go.mod` succeeds. The `integration (ubuntu)` job on this PR also downloads the full module graph without any token and passes. Follow-up: the `CI_BOT_REPO_READ_TOKEN` repository secret is no longer referenced by any workflow and can be removed (left in place by this PR).
ci(release): drop private-module auth
Some checks failed
integration / integration (windows-latest) (pull_request) Waiting to run
test / test (windows-latest) (pull_request) Waiting to run
smoke / check-label (pull_request_target) Failing after 1s
smoke / gpt-4o-2024-08-06 (pull_request_target) Has been skipped
smoke / gpt-4o-mini-2024-07-18 (pull_request_target) Has been skipped
smoke / claude-3-7-sonnet-20250219 (pull_request_target) Has been skipped
Validate docs build / validate-docs (pull_request) Failing after 15s
integration / integration (ubuntu-22.04) (pull_request) Successful in 34s
test / test (ubuntu-22.04) (pull_request) Failing after 38s
0919c91ecf
All git.basepeak.dev module dependencies (broadcaster,
chat-completion-client, cmd, tui, go-gptscript) are public now, so the
release job no longer needs GOPRIVATE or the token-based git insteadOf
rewrite added in #20.
thklein deleted branch ci/drop-private-module-auth 2026-10-18 12:19:37 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
basepeak-ai/gptscript!25
No description provided.