Closed tahirmt closed 2 years ago
Hello,
Maybe it's related to: https://github.com/yuzutech/annotations-action/issues/5
Usually this error indicates a permission issue. Check that your PAT has write access to the repository. Did you try with the built-in token repo-token:
${{ secrets.GITHUB_TOKEN }}
? Are you trying to create annotations from a fork?
@Mogztter thank you for the answer. My personal access token has write access to the repo. I use it to make pushes in other workflows. The repo is a private repo which is not forked.
Looks like using the GitHub token works. Not sure what’s wrong with my personal access token then.
@Mogztter can I use start_line
and end_line
instead of line
?
@tahirmt Yes, it should work
Hi I'm getting an error
cause: HttpError: You must authenticate via a GitHub App.
when using this action.My json file is like this
Here is the log from the run
Am I missing something?