Closed ibis-hdl closed 2 years ago
I think you need to go to Settings/Actions/General and give your Action write permission (it is required to post reviews)
I have heard that it will still fail for external PRs (coming from a fork), but I haven't verified that, yet.
Sorry, I don't have much time at the minute to investigate, but I agree with @FlorianReimold, it sounds like a permissions issue.
I have encountered the same error "Resource not accessible by integration"
, so I assume it is caused by the same issue. For me it was because I let the action run in a forked repo, where github apparently restricts the permissions for GH Actions to read-only by default.
Thanks for answers. As it's shown on project's example usage there aren't any permissions. Isn't it a copy & paste starter?
I guess not for forks at least. In all repos that I forked the Action Permissions are set to "Read only", while all repos that I have created initially have "Read-Write" Perissions.
In my case it's my own (not yet public) repo with this action. I would expect read/write permission by default.
I don't have many private repositories, but in mine the Action permissions are Read-Write by default, as well. Maybe it should be documented better what has to be done in that case.
Indeed, repo permission must be set from default to read/write.
Thanks, I'm closing the issue.
Hi,
the following part of my actions fails:
with
Changes to my action to:
results also into failure with
Do I miss something?