diff --git a/index.js b/index.js index d393a84..639d9f5 100644 --- a/index.js +++ b/index.js @@ -140,6 +140,12 @@ async function commitChanges(filePath) { message: commitMessage, tree: newTreeSha, parents: [baseTreeSha], + }, + { + headers: { + 'Accept': 'application/vnd.github.v3+json', + 'Authorization': `Bearer ${githubToken}`, + }, } );