Skip to content

ci: drop the edgecommons git-auth step (dependency repo is public)#14

Merged
mbreissi merged 1 commit into
mainfrom
chore/retire-read-token
Jul 23, 2026
Merged

ci: drop the edgecommons git-auth step (dependency repo is public)#14
mbreissi merged 1 commit into
mainfrom
chore/retire-read-token

Conversation

@mbreissi

Copy link
Copy Markdown
Contributor

Removes the coverage job's Authenticate to the private edgecommons git dependency step. edgecommons/edgecommons is public now, so cargo fetches the git dependency anonymously — the https-URL rewrite with x-access-token:${EDGECOMMONS_READ_TOKEN} is unnecessary.

It is also the one thing that would break once EDGECOMMONS_READ_TOKEN is retired: this step had no || github.token fallback, so an empty token would inject x-access-token:@github.com and 401 even against the public repo. Removing it lets the anonymous public fetch stand, clearing the way to delete the org-wide read-token secret.

The ci job's secrets: inherit is left in place — harmless, since the reusable workflow guards the token with if [ -n ] — and its stale comment is corrected.

Part of retiring the personal-PAT EDGECOMMONS_READ_TOKEN stopgap now that every consuming CI builds the core from the public source rather than any package registry.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LsX7cWVGLszurNYMVwMJGo

`edgecommons/edgecommons` is public, so cargo fetches the git dependency
anonymously. The coverage job's "Authenticate to the private edgecommons
git dependency" step rewrote the https URL with an x-access-token from
EDGECOMMONS_READ_TOKEN — now unnecessary, and actively harmful once that
secret is retired: it had no `|| github.token` fallback, so an empty token
would inject `x-access-token:@github.com` and 401 even against the public
repo. Removing the step lets the anonymous public fetch stand.

The `ci` job's `secrets: inherit` is left in place (harmless; the reusable
workflow guards the token with `if [ -n ]`), and its stale comment is
corrected to match.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LsX7cWVGLszurNYMVwMJGo
@mbreissi
mbreissi merged commit 70b497d into main Jul 23, 2026
4 checks passed
@mbreissi
mbreissi deleted the chore/retire-read-token branch July 23, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant