From e728d8bfb2d5aead10b465efdab0655d7856e918 Mon Sep 17 00:00:00 2001 From: Sajia Zafreen Date: Wed, 15 Nov 2023 08:50:25 -0800 Subject: [PATCH] Update verify_prowjob script --- templater/scripts/verify-prowjobs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templater/scripts/verify-prowjobs.sh b/templater/scripts/verify-prowjobs.sh index c51f9e15b..c695d3f3e 100755 --- a/templater/scripts/verify-prowjobs.sh +++ b/templater/scripts/verify-prowjobs.sh @@ -4,7 +4,7 @@ set -o pipefail REPO_ROOT=$(git rev-parse --show-toplevel) -DIFF_LINE_COUNT=$(git diff $REPO_ROOT/jobs ':(exclude)*-1-23-*' | wc -l) +DIFF_LINE_COUNT=$(git diff --name-only $REPO_ROOT/jobs ':(exclude)*-1-23-*' | wc -l) if [ $DIFF_LINE_COUNT -ne 0 ]; then CHANGED_FILES=$(git diff --name-only $REPO_ROOT/jobs ':(exclude)*-1-23-*') git diff $REPO_ROOT/jobs ':(exclude)*-1-23-*'