We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 832af4c commit 5abc6a2Copy full SHA for 5abc6a2
1 file changed
.kokoro/common.sh
@@ -236,6 +236,7 @@ function generate_modified_modules_list() {
236
# grep returns 1 (error code) and exits the pipeline if there is no match
237
# If there is no match, it will return true so the rest of the commands can run
238
git config --global --add safe.directory $(realpath .)
239
+ git fetch origin "${KOKORO_GITHUB_PULL_REQUEST_TARGET_BRANCH}" || true
240
modified_files=$(git diff --name-only "${KOKORO_GITHUB_PULL_REQUEST_TARGET_BRANCH}...${KOKORO_GITHUB_PULL_REQUEST_COMMIT}")
241
printf "Modified files:\n%s\n" "${modified_files}"
242
0 commit comments