diff --git a/scripts/lint_changelog.sh b/scripts/lint_changelog.sh
index 62df767edbf2ab00fcaffd44de34b8d853c59cfd..cd5278654805985acd427649c423bdc265dc2f09 100755
--- a/scripts/lint_changelog.sh
+++ b/scripts/lint_changelog.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 # diff the file silently, while still printing errors
-git diff --exit-code ${CI_DEFAULT_BRANCH}:${CHANGELOG_FILE} ${CHANGELOG_FILE} >/dev/null
+git diff --exit-code origin/${CI_DEFAULT_BRANCH}:${CHANGELOG_FILE} ${CHANGELOG_FILE} >/dev/null
 
 # exit code of 0 indicates non changed file
 if [ $? -eq 0 ]; then
diff --git a/scripts/lint_version.sh b/scripts/lint_version.sh
index 5a76fd21c7eb850b1fd0b258caf80435894adcc6..d4300ab6e5dce9180b5ecf40791f1d11610294fe 100755
--- a/scripts/lint_version.sh
+++ b/scripts/lint_version.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 # obtain the default version
-default_version=$(git show ${CI_DEFAULT_BRANCH}:${CHART_FILE} | grep -oP 'version: \K(.*)')
+default_version=$(git show origin/${CI_DEFAULT_BRANCH}:${CHART_FILE} | grep -oP 'version: \K(.*)')
 
 # check for command error
 if [ $? -ne 0 ]; then