Merge pull request #8827 from iMichka/tap

pr-pull: fix signoff for linuxbrew-core
This commit is contained in:
Michka Popoff 2020-10-01 13:26:08 +02:00 committed by GitHub
commit 2331927a34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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")