We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01db2d7 commit 8c91929Copy full SHA for 8c91929
.kokoro/common.sh
@@ -161,7 +161,8 @@ function generate_modified_modules_list() {
161
# grep returns 1 (error code) and exits the pipeline if there is no match
162
# If there is no match, it will return true so the rest of the commands can run
163
git config --global --add safe.directory $(realpath .)
164
- modified_files=$(git diff --name-only "${KOKORO_GITHUB_PULL_REQUEST_TARGET_BRANCH}...${KOKORO_GITHUB_PULL_REQUEST_COMMIT}")
+ modified_files=$(git diff --name-only \
165
+ "origin/${KOKORO_GITHUB_PULL_REQUEST_TARGET_BRANCH}...${KOKORO_GITHUB_PULL_REQUEST_COMMIT}" --)
166
printf "Modified files:\n%s\n" "${modified_files}"
167
168
# Generate the list of valid maven modules
0 commit comments