aboutsummaryrefslogtreecommitdiff
path: root/contrib/cirrus/check_go_changes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cirrus/check_go_changes.sh')
-rwxr-xr-xcontrib/cirrus/check_go_changes.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/cirrus/check_go_changes.sh b/contrib/cirrus/check_go_changes.sh
index 3c35ce51a..a92ab03af 100755
--- a/contrib/cirrus/check_go_changes.sh
+++ b/contrib/cirrus/check_go_changes.sh
@@ -36,6 +36,8 @@ then
exit 0
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/')