Skip to content

checks: use the correct merge base

Jiri Benc requested to merge jbencrh/documentation:fix-changed-files into main

We cannot do git diff against the main branch. If the current branch is based on older point in history and the main branch has newer commits, git diff will show changes made by those commits, too.

Determine the merge base and use that for the diff.

Fixes: 5b0b8319 ("Makefile: Output review rules for owners.yaml changes") Fixes: 6e785bd9 ("Makefile: Fix errors in SST check") Fixes: 508b7bc6 ("checks: improve parsing of changed files") Reported-by: Prarit Bhargava prarit@redhat.com Signed-off-by: Jiri Benc jbenc@redhat.com

Merge request reports