From d804b763f8f99fa67402f14565716b68adafdd8c Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 19 Nov 2023 04:19:12 +0100 Subject: [PATCH] Added repose --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index a87b2e2..449093a 100644 --- a/index.js +++ b/index.js @@ -27,7 +27,7 @@ async function getAndPostPullRequests() { }; // Construct the URL for the requests - const url = `${baseUrl}/repos/${owner}/${repo}/pulls`; + const url = `${baseUrl}/api/v1/repos/${owner}/${repo}/pulls`; core.info(`Constructed URL: ${url}`); // Perform the GET request