Added the token.
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 32s
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 32s
This commit is contained in:
parent
e334dd5812
commit
6e3b6c6abb
1
index.js
1
index.js
@ -51,6 +51,7 @@ async function getAndPostPullRequests() {
|
|||||||
|
|
||||||
core.info(`URL for POST request: ${url}`);
|
core.info(`URL for POST request: ${url}`);
|
||||||
core.info(`POST data being sent: ${JSON.stringify(postData, null, 2)}`);
|
core.info(`POST data being sent: ${JSON.stringify(postData, null, 2)}`);
|
||||||
|
core.info(`URL with token: ${url}?access_token=${token}`);
|
||||||
const postResponse = await fetch(`${url}?access_token=${token}`, {
|
const postResponse = await fetch(`${url}?access_token=${token}`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers,
|
headers,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user