You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to use github-script to post a comment to a PR during CI. Unfortunately it is failing with the error "Error: Unhandled error: HttpError: Resource not accessible by integration" when run on a PR to the main repository. When the same commit (72c2497) is run on my fork of the repository, CI passes and posts the comment without error. So far, I've tried adding the following permission settings, but none of them work for PR's against the main repository:
We've also checked that "Allow all actions and reusable workflows" and "Read and write permissions" is set for the main repository's action permission settings.
Is there another permission that we need to set? Any suggestions would be appreciated! Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm attempting to use
github-script
to post a comment to a PR during CI. Unfortunately it is failing with the error"Error: Unhandled error: HttpError: Resource not accessible by integration"
when run on a PR to the main repository. When the same commit (72c2497
) is run on my fork of the repository, CI passes and posts the comment without error. So far, I've tried adding the following permission settings, but none of them work for PR's against the main repository:We've also checked that "Allow all actions and reusable workflows" and "Read and write permissions" is set for the main repository's action permission settings.
Is there another permission that we need to set? Any suggestions would be appreciated! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions