diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2025-10-03 23:29:56 -0700 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-10-03 23:30:34 -0700 |
| commit | 4ea84bf58b3690c3e7e61cbf30ad6252863ce133 (patch) | |
| tree | ea985298a125d94cc3e884f4909cc4a95e058f59 | |
| parent | e40d3c5bd8d8c1a26a75717aa7fbe39622a715bb (diff) | |
Fix a missing reference to config/email.yml
| -rw-r--r-- | tool/notes-github-pr.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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') |
