* Returns the main branch parent of the merge commit (current HEAD) during CI * builds. This is not the same as origin/ (a moving target), since * new commits can be merged while a CI build is in progress. * @return {string}
()
| 37 | * @return {string} |
| 38 | */ |
| 39 | function gitCiMainBaseline() { |
| 40 | return getStdout('git merge-base origin/main HEAD').trim(); |
| 41 | } |
| 42 | |
| 43 | /** |
| 44 | * Shortens a commit SHA to 7 characters for human readability. |
no test coverage detected