Repository navigation
feat: send x-sato-repo so Sato Hub can tell its own CI runs from yours - #5
Merged
Merged
Conversation
Every call to the Sato Hub API now carries x-sato-repo: <owner>/<repo> (from GITHUB_REPOSITORY). The server uses it only to flag Sato Hub's own CI runs of this Action as ours; it stores an own/not-own flag, never the repo name. Nothing is sent when GITHUB_REPOSITORY is absent or malformed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Each call to the Sato Hub API now carries
x-sato-repo: <owner>/<repo>fromGITHUB_REPOSITORY(only when it is a well-formed owner/repo).Sato Hub uses it for one thing: telling its own CI runs of this Action apart from yours, so outside use is never mislabelled as ours. The server stores only an own/not-own flag (plus the org name for Sato Hub's own orgs), never a repo name. Server side: amateokap/onchain-agent#220 (deployed).
Tests: custody/policy/drift suites pass, incl. new tests for the header helper and both fetch paths.
🤖 Generated with Claude Code