Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send token in readJson if using raw github url as file-url #283

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

christulin
Copy link
Contributor

@christulin christulin commented Apr 17, 2024

Drawing inspiration from this issue #204 in addition to this comment #147 (comment).

We'd like to be able to enter the GitHub Raw URL in the file-url but have the token passed in the auth header to allow access to private repositories. In this manner we could compare the version of a feature branch against the remote main branch, and not have to rely Regular Expressions against commit messages or changes to the base branch between commits etc..

I agree the token shouldn't be passed to any website, so hopefully this hostname check suffices.

Thanks for you consideration!

@EndBug I'm happy to also make docs changes if you see fit.

@EndBug EndBug added good first issue Good for newcomers status: pinned Should not be labeled as stale type: fix Updates to existing functionalities labels Apr 18, 2024
@EndBug EndBug self-requested a review April 18, 2024 16:53
@EndBug
Copy link
Owner

EndBug commented Apr 18, 2024

Hey @christulin thanks for the PR! Your idea seems great! 🚀
I'm currently away, but I'll try to test this as soon as I get back!
Thanks for the patience

@EndBug EndBug linked an issue Oct 2, 2024 that may be closed by this pull request
@EndBug
Copy link
Owner

EndBug commented Oct 2, 2024

Heyy @christulin , sorry for the short (6 months 💀) wait. But I finally got around reviewing this one!
Going to merge, add you as contributor, and then publish <3

@EndBug EndBug merged commit e613878 into EndBug:main Oct 2, 2024
2 checks passed
@EndBug
Copy link
Owner

EndBug commented Oct 2, 2024

@all-contributors please add @christulin for their code contribution

Copy link
Contributor

@EndBug

I've put up a pull request to add @christulin! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers status: pinned Should not be labeled as stale type: fix Updates to existing functionalities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Token not being sent to GitHub's domain
2 participants