<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yutailang0119</author_name>
  <author_url>https://blog.hatena.ne.jp/yutailang0119/</author_url>
  <blog_title>がんばってなんか書く</blog_title>
  <blog_url>https://yutailang0119.hatenablog.com/</blog_url>
  <categories>
    <anon>GitHub Actions</anon>
    <anon>Mackerel</anon>
  </categories>
  <description>リポジトリを管理していると、何かの拍子にリポジトリのコードベースの変遷を可視化したくなる場合があります。 例えば、以下の場面です。 ある時からのリポジトリの成長 実装言語を置き換える際のコードベースの遷移 iOSだと、Objective-CからSwiftへの移行 Androidだと、JavaからKotlinへの移行 etc. やり方はいろいろありますが、今回は GitHub Actions と GitHub API v3 、そして Mackerel API を使って、Mackerelのサービスメトリックに記録してみます。 実行サンプル Posting language lists to Mac…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyutailang0119.hatenablog.com%2Fentry%2Frepos-list-languages-with-action-mackerel-api&quot; title=&quot;リポジトリに含まれるコード量/比率をMackerelに記録する with GitHub Actions &amp;amp; action-mackerel-api - がんばってなんか書く&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>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yutailang0119/20200713/20200713021940.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-07-13 11:30:00</published>
  <title>リポジトリに含まれるコード量/比率をMackerelに記録する with GitHub Actions &amp; action-mackerel-api</title>
  <type>rich</type>
  <url>https://yutailang0119.hatenablog.com/entry/repos-list-languages-with-action-mackerel-api</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
