-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cml comment issue #1377
Comments
Hello, I had the same issue today and installing node.js fixed the problem, try adding
|
Thanks @hbenedek that worked. Node version in runner was 18.16.0. |
Related to #1382; probably needs fixing npcz/magic upstream. |
fix node version (see iterative/cml#1377)
Fix from iterative/cml#1377
After adding setup-node, the new error is "Resource not accessible by integration" |
Also having the same issue; I think it's not having Particularly, for me, I had set the workflow permissions in the actions permissions:
actions: write
contents: write
id-token: write
issues: write
pull-requests: write surely these aren't all necessary |
@anitagraser and @gegnew correct that message is coming the token not having enough permissions for some operation. if you are working on a forked repo I would check settings like in screenshots of the referenced issue. permissions:
contents: write
pull-requests: write If you are using Note: that the default token (if NO permissions are set) and your org/user has not changed any of the default actions/permission-related settings then the default token is enough for all operations minus However, if you include ANY permissions in your definition for example permissions:
id-token: write
contents: write
pull-requests: write should cover 95% of use cases outside of If you need any more help feel free to open a permissions-related issue, if you can link me to the GitHub workflow or provide a snippet and I can take a look and help further. |
Thank you, @dacbd. Enabling read and write permissions for actions did the trick. |
I had an action which generated database schema whenever .dbml file was changed.
action file
The above action (cml comment) was working properly but is now raising the following error:
I changed the GITHUB_TOKEN with a personal access token with read and actions privilege but it's still raising the same issue
Other configurations I've tried:
cml comment create report.md
cml comment update --publish report.md
The text was updated successfully, but these errors were encountered: