<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Tomato-360</author_name>
  <author_url>https://blog.hatena.ne.jp/Tomato-360/</author_url>
  <blog_title>チラシ裏日記上等！！新館</blog_title>
  <blog_url>https://www.chirashiura.com/</blog_url>
  <categories>
    <anon>GitHub</anon>
    <anon>golang</anon>
  </categories>
  <description>表題のとおりなんですが、関連PullRequestを本文に書き込んだPullRequestを作るCLIをgolangで作りました。 github.com 仕事でdevelopブランチをstagingやmasterブランチにマージするPRを作るとき、リリースするPRをまとめたドキュメントを作るんですが、それをいちいち手書きしないといけないのが面倒でした。 なのでGitHubのAPIを叩くライブラリを使ってマージコミットのコメントを取得し、そこから各PRを探しタイトルを本文に埋め込む処理を書き、一旦コマンドラインツールにしました。ゆくゆくはSlackBotにこのコードをimportしChat Op…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.chirashiura.com%2Fentry%2F2021%2F05%2F09%2F003711&quot; title=&quot;golangで関連PullRequestを本文に書き込んだPullRequestを作るCLIを作りました - チラシ裏日記上等！！新館&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-09 00:37:11</published>
  <title>golangで関連PullRequestを本文に書き込んだPullRequestを作るCLIを作りました</title>
  <type>rich</type>
  <url>https://www.chirashiura.com/entry/2021/05/09/003711</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
