`send-comment` PR for commit sha \"HEAD\" not found
See original GitHub issueIf I repeat the same workflow where the PR was done by cml pr
send-comment
seems to not found the PR for the given commit sha
{"level":"error","message":"PR for commit sha \"HEAD\" not found","stack":"Error: PR for commit sha \"HEAD\" not found\n at CML.commentCreate (/usr/local/lib/node_modules/@dvcorg/cml/src/cml.js:148:15)\n at async Object.exports.handler (/usr/local/lib/node_modules/@dvcorg/cml/bin/cml/send-comment.js:13:15)"}
Issue Analytics
- State:
- Created 2 years ago
- Reactions:8
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Find a Pull Request on GitHub where a commit was originally ...
You can just go to GitHub and enter the SHA into the search bar, make sure you select the "Issues" link on the...
Read more >A Git command to jump from a commit SHA to the PR on GitHub
I wanted a quick way to jump straight to a PR from a commit SHA by running a single command. Something like git...
Read more >Comments on individual commits made outside a pull request ...
A commit comment is associated with a commit. A commit comment cannot be added from the pull request page and cannot be replied...
Read more >Merge requests API - GitLab Docs
not, Hash, No, Returns merge requests that do not match the parameters supplied. ... It returns the HEAD commit of refs/merge-requests/:iid/merge in the ......
Read more >PR decoration fails due to commit "not found in pull request"
Despite the above, the PR does indeed have the commit hash referenced - I've double, triple checked. Sonar analyses the entire branch (rather ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for looking into this. This seems to be the answer! Probably worth adding this to the documentation somewhere?
🔔 @judahrand & @hlkcrcck