Added some debugging.
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 36s

This commit is contained in:
Philipp Horstenkamp 2023-11-19 13:38:18 +01:00
parent 1dd79dc05d
commit 8c18455f90
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4

View File

@ -55,8 +55,10 @@ 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); for (let pr in pulls) {
core.info(pulls[0].base.ref); core.info(pr.head.ref);
core.info(pr.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.`,