Closed cgatian closed 2 months ago
According to the Octokit docs, checks:write
is required. 🤷
Disabled only-pr-files
and same results.
I do think this is a permission error though I don't have anything on GitHub Enterprise to test.
Maybe there is an enterprise setting/restriction not allowing checks:write
on GITHUB_TOKEN
I've seen a similar error when the action runs on pull requests from a fork and lack write
permission
@cgatian not sure if you are still interested in self-hosted GitHub Enterprise support. If so, 3.0.0
has been released. I welcome pull requests to the v3
branch if you want to try and add support.
Closing as a duplicate of #69. Even though this PR came first that one has a more appropriate title in that GHE support would be a new feature
On GHE 3.5 and experiencing the following error:
Other GitHub Actions that take the GITHUB_TOKEN are working. Perhaps the token lacks the specific permission the action needs?
Here are my token permissions:
Maybe it has something to do with setting
antiope
preview? Looks like that's been merged into the official for some time now.https://github.com/ataylorme/eslint-annotate-action/blob/v2/src/constants.ts#L18