iterative / iterative/setup-cml
Publishing Plot in PR Comments Not Working
Open
- Dominant language
- TypeScript
- Stars
- 34
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to publish the confusion matrix in the comments section of a PR, it seems that there is a problem with the permissions of the runner:
`{"code":"ERR_INVALID_URL","input":"\r\n400 Bad Request\r\n\r\n
400 Bad Request
\r\ncloudflare\r\n\r\n\r\n","level":"error","message":"Invalid URL","stack":"TypeError [ERR_INVALID_URL]: Invalid URL\n at new NodeError (node:internal/errors:405:5)\n at new URL (node:internal/url:676:13)\n at uriParam (/usr/local/lib/node_modules/@dvcorg/cml/src/utils.js:149:15)\n at watermarkUri (/usr/local/lib/node_modules/@dvcorg/cml/src/utils.js:140:10)\n at CML.publish (/usr/local/lib/node_modules/@dvcorg/cml/src/cml.js:351:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async visitor (/usr/local/lib/node_modules/@dvcorg/cml/src/cml.js:249:26)\n at async Promise.all (index 0)\n at async publishLocalFiles (/usr/local/lib/node_modules/@dvcorg/cml/src/cml.js:263:7)"}`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.