Skip to content

Commit 84e91cb

Browse files
author
Per Goncalves da Silva
committed
fetch origin before diff checks
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent f9bf2e6 commit 84e91cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/e2e_test_fixtures.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ function check_changes() {
6464
OPM_CHANGED=false
6565
FIXTURES_CHANGED=false
6666

67+
git fetch origin "${TARGET_BRANCH}" --depth=2
6768
if git diff "origin/${TARGET_BRANCH}" -- go.mod | grep -E '^\+[[:space:]]+github.com/operator-framework/operator-registry' > /dev/null; then
6869
OPM_CHANGED=true
6970
fi

0 commit comments

Comments
 (0)