Added another debug message.
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 37s
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 37s
This commit is contained in:
parent
223f34f254
commit
0da1631bbc
1
index.js
1
index.js
@ -41,6 +41,7 @@ async function getAndPostPullRequests() {
|
|||||||
|
|
||||||
const pulls = await getResponse.json();
|
const pulls = await getResponse.json();
|
||||||
core.info(`GET request completed. Number of pulls: ${pulls.length}`);
|
core.info(`GET request completed. Number of pulls: ${pulls.length}`);
|
||||||
|
core.info(`GET repsonse ${JSON.stringify(pulls, 2)}`);
|
||||||
|
|
||||||
// Logic to decide if a POST request is needed
|
// Logic to decide if a POST request is needed
|
||||||
if (pulls.length === 0) {
|
if (pulls.length === 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user