pr-pull: fix signoff for linuxbrew-core

This commit is contained in:
Michka Popoff 2020-10-01 12:38:14 +02:00
parent cac8e7aac5
commit f01f3a9f56

View File

@ -104,7 +104,7 @@ module Homebrew
if pr
# This is a tap pull request and approving reviewers should also sign-off.
tap = Tap.from_path(path)
trailers += GitHub.approved_reviews(tap.user, "homebrew-#{tap.repo}", pr).map do |r|
trailers += GitHub.approved_reviews(tap.user, tap.full_name.split("/").last, pr).map do |r|
"Signed-off-by: #{r["name"]} <#{r["email"]}>"
end.join("\n")