Wrong token use #5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@matrss reports:
netloc=f'{environ["INPUT_TOKEN"]}@{serverurl_p.netloc}'if environ.get("INPUT_TOKEN") else serverurl_p.netloc,I think that should be using auth_token, which is set right above, instead of INPUT_TOKEN. The datalad-clone-action fails on a private repository, at least when not explicitly setting a token.
That wasn't sufficient.
I think the test for
is Noneis wrong and prevent GITHUB_TOKEN from being used. The env var is defined INPUT_TOKEN appears to be defined always, but is set to an empty string.