contrib/cirrus/check_go_changes.sh: ignore test/tools/vendor
To avoid false positives if dependencies get bumped in test/tools. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
parent
9f9bf6fb4a
commit
4408072108
|
@ -47,7 +47,7 @@ fi
|
|||
# Defined by/in Cirrus-CI config.
|
||||
# shellcheck disable=SC2154
|
||||
base=$(git merge-base $DEST_BRANCH $CIRRUS_CHANGE_IN_REPO)
|
||||
diffs=$(git diff $base $CIRRUS_CHANGE_IN_REPO -- '*.go' ':^vendor/')
|
||||
diffs=$(git diff $base $CIRRUS_CHANGE_IN_REPO -- '*.go' ':^vendor/' ':^test/tools/vendor/')
|
||||
|
||||
if [[ -z "$diffs" ]]; then
|
||||
check_msg "There are no golang diffs to check between $base...$CIRRUS_CHANGE_IN_REPO"
|
||||
|
|
Loading…
Reference in New Issue