Skip to content

Commit

Permalink
Fix bug of merge_pull_request action return value
Browse files Browse the repository at this point in the history
  • Loading branch information
getty104 committed Dec 22, 2023
1 parent 46fb0a4 commit 9e668df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruboty/github/actions/merge_pull_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e668df

Please sign in to comment.