Reworked the post method a bit.
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 31s
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 31s
This commit is contained in:
parent
1a139366a7
commit
e334dd5812
1
index.js
1
index.js
@ -26,6 +26,7 @@ async function getAndPostPullRequests() {
|
|||||||
// Headers with Authorization
|
// Headers with Authorization
|
||||||
const headers = {
|
const headers = {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
accept: "application/json",
|
||||||
};
|
};
|
||||||
core.info(`token ${token}`);
|
core.info(`token ${token}`);
|
||||||
// Logic for current branch
|
// Logic for current branch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user