Closed
Description
What version of octokit is used in this action? I'm trying to get the contents of a file in a repository with:
github.rest.repos.getContent({
owner,
repo,
path,
mediaType: {
format: "raw+json"
}
});
but it doesn't work. I always get the default response as if mediaType isn't set. Maybe this is not yet supported in the octokit client used in this action?
I looked at the debug information of the request and the headers don't include an Accept
header. I expect the Accept
header to be set to application/vnd.github.v3.raw+json
Metadata
Metadata
Assignees
Labels
Something isn't workingSomething isn't working