Markdownlint script not checking against fork branches properly
Sometimes the markdownlint
job doesn't scan the changed files because it's not capturing the branch name correctly.
Examples:
-
https://gitlab.com/archish27/handbook/-/jobs/7765170436#L55 likely because this is a fork
archish27/handbook:main
. It likely hadmain
as the source branch. -
https://gitlab.com/gitlab-com/content-sites/handbook/-/jobs/7757533870#L57
josephjose/handbook:josephjose-main-patch-6148
, most likely thinking the branch isjosephjose-main-patch-6148
.