Skip to content
Snippets Groups Projects

Iss. #57 - Add check to skip validation if there are no new commits

Merged Iss. #57 - Add check to skip validation if there are no new commits
Merged Martin Lowe requested to merge (removed):malowe/master/57 into master
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
+ 6
0
@@ -100,6 +100,12 @@ else
end
diff_git_commits = diff_git_commits_raw.split(/\n/)
## Check if the are commits to validate. If there are none we can end processing here
if (diff_git_commits.empty?) then
puts "There are no commits to validate for current push, skipping validation step"
exit 0
end
processed_git_data = []
diff_git_commits.each do |commit|
processed_git_data.push(process_commit(commit))
Loading