Skip to content

Authenticate the upstream sync's fetch of the private API spec - #19

Merged
Adron merged 1 commit into
mainfrom
fix/upstream-sync-auth
Nov 30, 2026
Merged

Adron merged 1 commit into
mainfrom
fix/upstream-sync-auth

Conversation

@Adron

@Adron Adron commented Nov 30, 2026

Copy link
Copy Markdown
Member

Every scheduled Upstream sync run has failed since Nov 25: scripts/sync-openapi.sh fetches openapi.yaml from the private CompositeCode/substratalapps.com repo without credentials, and raw.githubusercontent.com answers 404.

  • sync-openapi.sh sends GH_TOKEN/GITHUB_TOKEN as a bearer token, only to raw.githubusercontent.com URLs.
  • upstream-sync.yml passes secrets.SYNC_TOKEN to the sync step and fails with a clear error when it's missing.

Requires the SYNC_TOKEN secret to have Contents: read on substratalapps.com.

🤖 Generated with Claude Code

The API repo is private, so the unauthenticated curl in sync-openapi.sh
got a 404 and every scheduled Upstream sync run failed. Send SYNC_TOKEN
(only to raw.githubusercontent.com) and fail early with a clear error
when the secret is missing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Adron
Adron merged commit d17eeb7 into main Nov 30, 2026
5 of 7 checks passed
@Adron
Adron deleted the fix/upstream-sync-auth branch November 30, 2026 21:26
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