Skip to content

Give an entry for github.com the GitHub service under any name - #63

Merged
czpython merged 1 commit into
mainfrom
know-github-by-its-host
Oct 1, 2026
Merged

czpython merged 1 commit into
mainfrom
know-github-by-its-host

Conversation

@czpython

Copy link
Copy Markdown
Owner

A caller can now get git and gh for a secret without the handle github. A custom entry whose host is github.com resolves to the built-in github service: GH_TOKEN, the API and upload hosts with a bearer, and github.com with Basic.

  • catalog.service reads BUILT_IN_HOSTS before it builds a custom service. The entry's own auth_variable, auth_header, and auth_prefix are not used for such a host.
  • The Docker Sandboxes provider chooses the github secret of sbx from the resolved service, not from the entry's handle, so an entry under another handle also gets it.
  • An entry with the handle github and no host resolves as before.

@czpython
czpython force-pushed the know-github-by-its-host branch from e99dcbe to ea3af6e Compare October 1, 2026 09:26
@czpython
czpython merged commit 6aec473 into main Oct 1, 2026
6 checks passed
@czpython
czpython deleted the know-github-by-its-host branch October 1, 2026 09:28
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