Skip to content

Commit 8ca9e9d

Browse files
ifahimrezaclaude
andcommitted
ci: authenticate npm's private @plugpress/ui fetch in the release build
npm ci resolves @plugpress/ui from the private plugpressco/plugpress-ui repo, which the runner's default token cannot read — every tagged release build died before building a zip. Route github.com fetches through SADDLE_REPO_TOKEN (the same org PAT Pro's CI expects; add it as an org secret to fix both repos at once). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MdDtwAWL2u1oDKq5tNANT6
1 parent 23ae67f commit 8ca9e9d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
node-version: '20'
4141
cache: npm
4242

43+
- name: Grant access to private packages
44+
# @plugpress/ui resolves to the private plugpressco/plugpress-ui repo;
45+
# the default GITHUB_TOKEN cannot read it. SADDLE_REPO_TOKEN is the
46+
# same org PAT Pro's CI uses to check out private repos.
47+
run: git config --global url."https://x-access-token:${{ secrets.SADDLE_REPO_TOKEN }}@github.com/".insteadOf "https://github.com/"
48+
4349
- name: Install build tooling
4450
run: npm ci
4551

0 commit comments

Comments
 (0)