From 4991150ce2a418ab425ab07e28ab53dd8389ac64 Mon Sep 17 00:00:00 2001 From: Al Cutter Date: Mon, 2 Oct 2023 17:19:23 +0100 Subject: [PATCH] Fix diff in leaves action --- deploy/github/log/leaf_validator/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/github/log/leaf_validator/entrypoint.sh b/deploy/github/log/leaf_validator/entrypoint.sh index d588526..18708c7 100755 --- a/deploy/github/log/leaf_validator/entrypoint.sh +++ b/deploy/github/log/leaf_validator/entrypoint.sh @@ -23,7 +23,7 @@ function main { echo "::debug:Pending leaf directory is ${PENDING_DIR}" # Now grab a list of all the modified/added/removed files in the PR - FILES=$(git diff origin/master HEAD --name-only) + FILES=$(git diff --name-only ${GITHUB_BASE_REF}) local has_non_log_files=0 local has_log_pending_files=0