Skip to content

Commit 565d439

Browse files
committed
Dangerfile: show message about success when all tests passed.
Addressed to #537
1 parent c7f2c9d commit 565d439

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: Dangerfile

+8
Original file line numberDiff line numberDiff line change
@@ -667,3 +667,11 @@ else
667667
print_errors_summary 'maven-failsafe-plugin', errors_count, 'https://github.com/php-coder/mystamps/wiki/integration-tests'
668668
end
669669
end
670+
671+
all_checks_passed = violation_report[:errors].empty? && violation_report[:warnings].empty? && violation_report[:messages].empty?
672+
if all_checks_passed
673+
message(
674+
"@#{github.pr_author} thank you for the PR! All quality checks have been passed! "\
675+
"Next step is to wait when @php-coder will review this code"
676+
)
677+
end

0 commit comments

Comments
 (0)