diff --git a/lib/voting_session.js b/lib/voting_session.js index bc6d4cae..f9c499b1 100644 --- a/lib/voting_session.js +++ b/lib/voting_session.js @@ -74,7 +74,13 @@ export default class VotingSession extends Session { const yamlString = await this.req.text( `/repos/${this.owner}/${this.repo}/contents/${ encodeURIComponent(subPath)}?ref=${prInfo.commits.nodes[0].commit.oid}`, - { agent: this.req.proxyAgent } + { + agent: this.req.proxyAgent, + headers: { + Accept: 'application/vnd.github.raw+json', + 'X-GitHub-Api-Version': '2026-03-10' + } + } ); this.cli.stopSpinner('Download complete');