From e334dd5812cab9ee3dbc3d733c5d794107d4dc85 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 19 Nov 2023 22:12:36 +0100 Subject: [PATCH] Reworked the post method a bit. --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 7048754..7c238c8 100644 --- a/index.js +++ b/index.js @@ -26,6 +26,7 @@ async function getAndPostPullRequests() { // Headers with Authorization const headers = { "Content-Type": "application/json", + accept: "application/json", }; core.info(`token ${token}`); // Logic for current branch