diff --git a/lib/ruboty/github/actions/merge_pull_request.rb b/lib/ruboty/github/actions/merge_pull_request.rb index 1c59def..3370b46 100644 --- a/lib/ruboty/github/actions/merge_pull_request.rb +++ b/lib/ruboty/github/actions/merge_pull_request.rb @@ -21,7 +21,7 @@ def after_merge_message custom_message = ENV.fetch('AFTER_MERGE_MESSAGE', nil) target_repository = ENV.fetch('AFTER_MERGE_MESSAGE_TARGET_REPOSITORY', '') - return unless (repository == target_repository) && custom_message + return true unless (repository == target_repository) && custom_message message.reply(custom_message) end