From e99909cbdbbc65a8703b5149c7625c8de3050f0a Mon Sep 17 00:00:00 2001 From: Shakar <5h4k4r.b4kr@gmail.com> Date: Mon, 18 Sep 2023 15:29:05 +0300 Subject: [PATCH] Update tree request headers Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com> --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index a4c5298..17c1cf2 100644 --- a/index.js +++ b/index.js @@ -125,6 +125,7 @@ async function commitChanges(filePath) { headers: { 'Accept': 'application/vnd.github+json', 'Authorization': `Bearer ${githubToken}`, + 'X-GitHub-Api-Version': '2022-11-28' }, } );