Added some debugging outputs.
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 39s

This commit is contained in:
Philipp Horstenkamp 2023-11-19 13:33:53 +01:00
parent 0f3c9b3f90
commit 1dd79dc05d
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4

View File

@ -55,6 +55,8 @@ async function getAndPostPullRequests() {
pulls, pulls,
(pr) => pr.head.ref === branch && pr.base.ref === base_branch, (pr) => pr.head.ref === branch && pr.base.ref === base_branch,
); );
core.info(pulls[0].head.ref);
core.info(pulls[0].base.ref);
if (targetPRFound) { if (targetPRFound) {
core.info( core.info(
`No open pulls found, to merge ${branch} into ${base_branch}. Trying to create a new PR.`, `No open pulls found, to merge ${branch} into ${base_branch}. Trying to create a new PR.`,