Closed lowecg closed 1 month ago
The issue is probably that when requesting the latest SHA the github token isn't passed along:
This was an issue with the token.
My mistake was to specify the token in terms of the GitHub user
; However, the repos are for an organisation
(to which my user is the owner, but that appears to be irrelevant).
The token has to specify the organisation not the user
neil looks to be a very useful tool for quickly updating my deps.edn. I'm currently using
liquidz/antq
which works well but is too slow from the CLI.A particular use case is not working as expected where a git reference (private repo) to a stale commit is not being upgraded in my
deps.edn
:The following command run has no effect:
The referenced repo is private, and I have set up private access token (fine grained):
It's not clear from the README as to which type of PAT is best and the required permissions, but I'm using fine grained access with the following accesses:
I even tried the following variations of expressing the dependency with the same result:
my_org/my-repo {:git/url "https://github.com/my_org/my-repo.git", :sha "b3759b17f6ec2b6c0c62b7412be12de7181d259c"}
Are git resources supported in private repos?
Am I missing something in my usage?