Find the latest commit from `master` that is present in the PR codebase

4 posts were split to a new topic: Build stages get different codebase if the PR branch or the base branch changes in the meantime