Created a first draft of this action. #14
4
index.js
4
index.js
@ -54,10 +54,6 @@ async function getAndPostPullRequests() {
|
||||
body: JSON.stringify(postData),
|
||||
});
|
||||
|
||||
const postResponseText = await postResponse.text();
|
||||
core.info(`POST request status: ${postResponse.status}`);
|
||||
core.info(`POST response body: ${postResponseText}`);
|
||||
|
||||
if (!postResponse.ok) {
|
||||
throw new Error(
|
||||
`HTTP error! status on creating a new PR: ${postResponse.status}`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user