Part of dotCMS/private-issues#673.
.github/workflows/cicd_4-nightly.yml:110 selects the build ref with git log --before=midnight -1. Under merge commits, intermediate branch commits are reachable from main, so the nightly can build a mid-branch tree that never existed as main's tip and never passed the merge queue.
Fix: add --first-parent (both the --before lookup and the fallback at line 115). Safe to land now.
Part of dotCMS/private-issues#673.
.github/workflows/cicd_4-nightly.yml:110selects the build ref withgit log --before=midnight -1. Under merge commits, intermediate branch commits are reachable frommain, so the nightly can build a mid-branch tree that never existed asmain's tip and never passed the merge queue.Fix: add
--first-parent(both the--beforelookup and the fallback at line 115). Safe to land now.