What happened?
github/codeql-action#2117 (comment)
Error: codeql/upload-sarif action failed: Resource not accessible by integration
Versions
"@octokit/types": "^12.4.0"
Relevant log output
There basically wasn't any -- that's the problem.
Notes
According to:
https://docs.github.com/en/rest/using-the-rest-api/troubleshooting-the-rest-api?apiVersion=2022-11-28#resource-not-accessible
You can use the X-Accepted-GitHub-Permissions header to identify the permissions that are required to access the REST API endpoint.
The value of the X-Accepted-GitHub-Permissions header is a comma separated list of the permissions that are required to use the endpoint. Occasionally, you can choose from multiple permission sets. In these cases, multiple comma-separated lists will be separated by a semicolon.
That makes this header incredibly valuable to debugging misconfigured workflows. It would be really helpful if it was included in https://github.com/octokit/types.ts/blob/main/src/ResponseHeaders.ts
Code of Conduct
What happened?
github/codeql-action#2117 (comment)
Versions
"@octokit/types": "^12.4.0"
Relevant log output
There basically wasn't any -- that's the problem.
Notes
According to:
https://docs.github.com/en/rest/using-the-rest-api/troubleshooting-the-rest-api?apiVersion=2022-11-28#resource-not-accessible
That makes this header incredibly valuable to debugging misconfigured workflows. It would be really helpful if it was included in https://github.com/octokit/types.ts/blob/main/src/ResponseHeaders.ts
Code of Conduct