Closed vikaskumr closed 1 year ago
If you're using this with a private repo, very likely this issue is relevant: https://github.com/nrwl/nx-orb/issues/5
Make sure you're providing a CIRCLE_API_TOKEN
environment variable, which contains a personal API Circle API token generated from your account settings. Project-scoped API permissions will not resolve the issue.
@vikaskumr did the suggestion from @chiubaka solve your issue?
@vikaskumr did the suggestion from @chiubaka solve your issue?
Hey @meeroslav, I've had the same issue as posted here and the suggestion from @chiubaka helped me :)
I've added CIRCLE_API_TOKEN
environment variable with my token and it worked 🎉
Orb version:
nrwl/nx@1.6.1
What happened:
I used
nx/set-shas
in my circleci deployment but by default by main branch ismaster
and in circleci I always getBase SHA
as null and the below error.Expected behavior:
Ideally it should return the
Base SHA
andHead SHA
Additional Information:
Here is the output of the Circleci
Any assistance you can provide is much appreciated. Thanks!