Skip to content

Commit d20c1fa

Browse files
committed
Spacing
1 parent 42bbb09 commit d20c1fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dockerfile-image-update/src/main/java/com/salesforce/dockerfileimageupdate/utils/DockerfileGitHubUtil.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ public void changeDockerfiles(Namespace ns,
546546
if (content == null) {
547547
log.info("No Dockerfile found at path: '{}'", pathToDockerfile);
548548
} else {
549-
if(modifyOnGithub(content, gitForkBranch.getBranchName(),
549+
if (modifyOnGithub(content, gitForkBranch.getBranchName(),
550550
gitForkBranch.getImageName(), gitForkBranch.getImageTag(),
551551
ns.get(Constants.GIT_ADDITIONAL_COMMIT_MESSAGE),
552552
ns.get(Constants.IGNORE_IMAGE_STRING))) {
@@ -574,6 +574,8 @@ public void changeDockerfiles(Namespace ns,
574574
forkedRepo,
575575
pullRequestInfo,
576576
rateLimiter);
577+
} else {
578+
log.info("No files changed in repo {}. Skipping PR creation attempt.", parentName);
577579
}
578580
}
579581

0 commit comments

Comments
 (0)