Skip to content

Conversation

@tionis
Copy link

@tionis tionis commented Oct 21, 2025

GitHub gists under gist.github.com are just git repos that share the same auth infrastructure as the normal github.com instance, so we can just reuse the existing github.com configuration there.

I tested it by pushing to GitHub gist (cloning is free for all when you know the URL, but pushing is limited to the owner)
The implementation duplicates the magic numbers in the code, but they are right next to each other so it should still be easy to change if needed.

github gists under gist.github.com are just git repos that share
the same auth infrastructure as the normal github.com instance,
so we can just reuse the existing github.com configuration there
@google-cla
Copy link

google-cla bot commented Oct 21, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@tionis tionis changed the title Added support for gist.github.com (GitHub Gists) Added support for GitHub Gists (gist.github.com) Oct 21, 2025
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