lib/ruboty/github/actions/merge_pull_request.rb in ruboty-qiita-github-0.3.3 vs lib/ruboty/github/actions/merge_pull_request.rb in ruboty-qiita-github-0.3.4
- old
+ new
@@ -19,10 +19,10 @@
message.reply("Merged #{issue.html_url}")
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
end
end