From 4ea84bf58b3690c3e7e61cbf30ad6252863ce133 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 3 Oct 2025 23:29:56 -0700 Subject: Fix a missing reference to config/email.yml --- tool/notes-github-pr.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/notes-github-pr.rb b/tool/notes-github-pr.rb index bc888f548e..2bea10575b 100644 --- a/tool/notes-github-pr.rb +++ b/tool/notes-github-pr.rb @@ -20,7 +20,8 @@ GITHUB_TO_SVN = { 'unak' => 'usa', } -SVN_TO_EMAILS = YAML.safe_load(File.read(File.expand_path('../config/email.yml', __dir__))) +EMAIL_YML_URL = 'https://raw.githubusercontent.com/ruby/git.ruby-lang.org/refs/heads/master/config/email.yml' +SVN_TO_EMAILS = YAML.safe_load(Net::HTTP.get_response(URI(EMAIL_YML_URL)).tap(&:value).body) class GitHub ENDPOINT = URI.parse('https://api.github.com') -- cgit v1.2.3