You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The check-links job often fails on pull requests due to unrelated changes because it is comparing the branch to origin/main, rather than to a common ancestor with origin/main. This means that changes made on recently merged PRs will be picked up as part of the diff, and therefore validation will run against those files as well. (example)
I believe the solution is to use git merge-base to identify the appropriate common ancestor between origin/main and HEAD.
The text was updated successfully, but these errors were encountered:
The
check-links
job often fails on pull requests due to unrelated changes because it is comparing the branch toorigin/main
, rather than to a common ancestor withorigin/main
. This means that changes made on recently merged PRs will be picked up as part of the diff, and therefore validation will run against those files as well. (example)I believe the solution is to use
git merge-base
to identify the appropriate common ancestor betweenorigin/main
andHEAD
.The text was updated successfully, but these errors were encountered: