Conversation
…oken and related functions for better handling of pull requests
|
updated the description |
|
this should be the right way @mishig25 |
|
hmm maybe this should be taken into account in https://github.com/huggingface-internal/moon-landing/pull/14572 too |
Probably not.. To |
@seanses There are multiple cases in moon-landing's current behavior:
The JS lib has this snippet in their LFS call: huggingface.js/packages/hub/src/lib/commit.ts Lines 330 to 334 in bc98deb My guess if the user only has read access, eg they don't specify a ref, then the xet-write-token url the git-xet client needs to use to refresh the token needs to have a (will re-review https://github.com/huggingface-internal/moon-landing/pull/14572 monday) cc @Wauplin |
|
@coyotte508 I see. Thanks for explaining this! |
I was getting error when trying to create pull request on repos that I do not own:
I was using new API from #1718
Let me know if this PR is the right way to handle this issue