While trying out this action, I'm encountering the error: "GraphQL: Resource not accessible by integration (addComment)".
I tried passing the GITHUB_TOKEN environment variable, setting the pull-requests: write permission on the workflow rather than only the job, and adding the issues: write permission, but so far no luck. My best guess is that the gh command is running in the context of your repository instead of my own.
Here's an example run: https://github.com/regclient/regclient/actions/runs/8484759635/job/23248287252?pr=706
(Note that I have continue-on-error: true defined on the job so that it always shows as successful.)
While trying out this action, I'm encountering the error: "GraphQL: Resource not accessible by integration (addComment)".
I tried passing the
GITHUB_TOKENenvironment variable, setting thepull-requests: writepermission on the workflow rather than only the job, and adding theissues: writepermission, but so far no luck. My best guess is that theghcommand is running in the context of your repository instead of my own.Here's an example run: https://github.com/regclient/regclient/actions/runs/8484759635/job/23248287252?pr=706
(Note that I have
continue-on-error: truedefined on the job so that it always shows as successful.)