{"id":2396,"date":"2019-10-18T12:00:47","date_gmt":"2019-10-18T03:00:47","guid":{"rendered":"https:\/\/virtualcast.jp\/blog\/?p=2396"},"modified":"2019-10-17T16:01:34","modified_gmt":"2019-10-17T07:01:34","slug":"releaseflowbot","status":"publish","type":"post","link":"https:\/\/blog.virtualcast.jp\/blog\/2019\/10\/releaseflowbot\/","title":{"rendered":"\u30dc\u30c3\u30c8\u306b\u3088\u308b\u30ea\u30ea\u30fc\u30b9\u30d5\u30ed\u30fc\u6539\u5584"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"830\" height=\"202\" src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/caption.png\" alt=\"\" class=\"wp-image-2425\" srcset=\"https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/caption.png 830w, https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/caption-300x73.png 300w, https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/caption-768x187.png 768w\" sizes=\"(max-width: 830px) 100vw, 830px\" \/><\/figure>\n\n\n\n<p>\u3053\u3093\u306b\u3061\u306f\u3002\u30d0\u30fc\u30c1\u30e3\u30eb\u30ad\u30e3\u30b9\u30c8\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u958b\u767a\u306ekakunpc(\u304b\u30fc\u304f\u3093)\u3067\u3059\u3002<br>\u4eca\u56de\u306e\u5185\u5bb9\u306f\u3061\u3087\u3063\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u958b\u767a\u304b\u3089\u96e2\u308c\u305f\u30dc\u30c3\u30c8\u306e\u8a71\u3067\u3059\u3002<\/p>\n\n\n\n<h2>\u30ea\u30ea\u30fc\u30b9\u30d5\u30ed\u30fc\u3092\u898b\u76f4\u3059<\/h2>\n\n\n\n<p> \u3055\u3066\u3001\u307f\u306a\u3055\u3093\u306f\u30a2\u30d7\u30ea\u3068\u304b\u30c4\u30fc\u30eb\u3092\u958b\u767a\u3057\u305f\u3068\u304d\u3001\u30ea\u30ea\u30fc\u30b9\u624b\u9806\u306f\u3069\u306e\u3088\u3046\u306b\u3084\u3063\u3066\u3044\u307e\u3059\u304b\uff1f<br>\u30ea\u30ea\u30fc\u30b9\u624b\u9806\u66f8\u3068\u66f8\u304b\u308c\u305f\u624b\u9806\u306b\u5f93\u3063\u3066\uff11\u4eba\u306e\u4eba\u9593\u304c\u624b\u4f5c\u696d\u3067\u4f5c\u696d\u3057\u3066\u3044\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<br>\u305d\u308c\u3068\u3082\u305d\u306e\u3088\u3046\u306a\u624b\u9806\u66f8\u306f\u306a\u304f\u3001\uff11\u4eba\u306e\u4eba\u9593\u304c\u30a2\u30d7\u30ea\u306e\u30d3\u30eb\u30c9\u304b\u3089\u30ea\u30ea\u30fc\u30b9\u307e\u3067\u624b\u4f5c\u696d\u3067\u884c\u3063\u3066\u3044\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f <\/p>\n\n\n\n<p>\u521d\u3081\u3066\u306e\u30ea\u30ea\u30fc\u30b9\u3067\u306f\u307e\u3060\u624b\u9806\u66f8\u3092\u6b8b\u3057\u3066\u304a\u304f\u4f59\u88d5\u306f\u306a\u304f\u3001\uff12\uff5e\uff13\u56de\u76ee\u3082\u6700\u521d\u306b\u30ea\u30ea\u30fc\u30b9\u4f5c\u696d\u3057\u305f\u304b\u3089\u3068\u3044\u3046\u7406\u7531\u3067\uff11\u4eba\u304c\u305a\u3063\u3068\u30ea\u30ea\u30fc\u30b9\u4f5c\u696d\u3092\u3059\u308b\u30fb\u30fb\u30fb<br>\u305d\u306e\u3088\u3046\u306b\u3057\u3066\u6c17\u304c\u3064\u3051\u3070\u5c5e\u4eba\u5316\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u8907\u6570\u4eba\u304c\u4e00\u6c17\u306b\u30a2\u30d7\u30ea\u3092\u3088\u308a\u826f\u304f\u306a\u308b\u3088\u3046\u958b\u767a\u3057\u3001\u66f4\u65b0\u5185\u5bb9\u304c\u80a5\u5927\u5316\u3057\u305f\u3068\u304d\u3001<br>\u30ea\u30ea\u30fc\u30b9\u62c5\u5f53\u8005\u304b\u3089\u300c\u3055\u3066\u3001\u4eca\u56de\u306e\u30ea\u30ea\u30fc\u30b9\u306e\u5185\u5bb9\u3092\u30d6\u30ed\u30b0\u306b\u307e\u3068\u3081\u308b\u304b\u3089\u524d\u306e\u30ea\u30ea\u30fc\u30b9\u304b\u3089\u3084\u3063\u305f\u3053\u3068\u5168\u90e8\u66f8\u3044\u3066\u300d<br>\u3068\u8a00\u308f\u308c\u305f\u6642\u3001\uff11\u9031\u9593\u30fb\u30fb\u30fb\u3044\u3084\u3082\u3063\u3068\u524d\u306e\uff11\u30f6\u6708\u524d\u304b\u3089\u306e\u4f5c\u696d\u5185\u5bb9\u3092\u30ea\u30ea\u30fc\u30b9\u62c5\u5f53\u8005\u306b\u4f1d\u3048\u308b\u4f5c\u696d\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u3001\u5e38\u65e5\u9803\u304b\u3089\u30e1\u30e2\u3063\u3066\u306a\u3044\u4eba\u306f\u904e\u53bb\u306e\u30ed\u30b0\u304b\u3089\u8ffd\u3044\u304b\u3051\u305f\u308a\u3068\u3001<br>\u3068\u3066\u3082\u3058\u3083\u3042\u308a\u307e\u305b\u3093\u304c\u624b\u4f5c\u696d\u3067\u3084\u3063\u3066\u3044\u305f\u3089\u30df\u30b9\u3084\u629c\u3051\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u30011\u30f6\u6708\u524d\u4f5c\u696d\u3057\u305f\u6642\u306b\u78ba\u8a8d\u3057\u305f\u6642\u306f\u30d0\u30b0\u304c\u767a\u751f\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u3082\u306e\u3082\u3001\u30ea\u30ea\u30fc\u30b9\u76f4\u524d\u306b\u306a\u3063\u3066\u30d0\u30b0\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u305d\u308c\u304c\u6c17\u3065\u304b\u305a\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3057\u307e\u3046\u306a\u3069<br>\u3053\u3046\u3044\u3063\u305f\u78ba\u8a8d\u4f5c\u696d\u3067\u3055\u3048\u3082\u629c\u3051\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u554f\u984c\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3046\u306e\u3092\u9632\u3050\u305f\u3081\u306b\u30d0\u30fc\u30c1\u30e3\u30eb\u30ad\u30e3\u30b9\u30c8\u3067\u306f\u30ea\u30ea\u30fc\u30b9\u306e\u4f5c\u696d\u306e\u4e00\u90e8\u306f\u30dc\u30c3\u30c8\u304c\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u30d0\u30fc\u30c1\u30e3\u30eb\u30ad\u30e3\u30b9\u30c8\u306e\u30ea\u30ea\u30fc\u30b9\u30d5\u30ed\u30fc\u3092\u56f3\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h3> \u30d0\u30fc\u30c1\u30e3\u30eb\u30ad\u30e3\u30b9\u30c8\u306e\u30ea\u30ea\u30fc\u30b9\u30d5\u30ed\u30fc<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"423\" height=\"1024\" src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/3a4f695a458cb0ac0aceaa2eb13ac2dd-423x1024.png\" alt=\"\" class=\"wp-image-2423\" srcset=\"https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/3a4f695a458cb0ac0aceaa2eb13ac2dd-423x1024.png 423w, https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/3a4f695a458cb0ac0aceaa2eb13ac2dd-124x300.png 124w, https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/3a4f695a458cb0ac0aceaa2eb13ac2dd.png 465w\" sizes=\"(max-width: 423px) 100vw, 423px\" \/><\/figure><\/div>\n\n\n\n<p>\u3053\u306e\u56f3\u3067\u306f\u3001<br>\u7070\u8272\u306e\u67a0\u306f\u30dc\u30c3\u30c8\u304c\u884c\u3046\u4f5c\u696d<br>\u7dd1\u8272\u306e\u67a0\u306f\u4eba\u304c\u884c\u3046\u4f5c\u696d\u3068\u8272\u5206\u3051\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u300c\u30dc\u30c3\u30c8\u3078\u30ea\u30ea\u30fc\u30b9\u4f5c\u696d\u306e\u304a\u9858\u3044\u300d\u3059\u308b\u306e\u306fSlack\u4e0a\u3067\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u958b\u767a\u30e1\u30f3\u30d0\u30fc\u304c\u5168\u54e1\u5c45\u308b\u516c\u958b\u30c1\u30e3\u30f3\u30cd\u30eb\u3067\u306e\u307f\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u8ab0\u3067\u3082\u30ea\u30ea\u30fc\u30b9\u4f5c\u696d\u306f\u3067\u304d\u307e\u3059\u304c\u52dd\u624b\u306b\u30ea\u30ea\u30fc\u30b9\u4f5c\u696d\u3092\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3092\u9632\u3044\u3067\u3044\u307e\u3059\u3002<br><\/p>\n\n\n\n<p>\u305d\u3057\u3066\u91cd\u8981\u306a\u306e\u304c\u3001\u30ea\u30ea\u30fc\u30b9\u30d6\u30e9\u30f3\u30c1\u304b\u3089\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u4f5c\u308b\u624b\u9806\u3067\u3059\u3002<br>\u3053\u306e\u6642\u30dc\u30c3\u30c8\u306f\u4eca\u56de\u9069\u5fdc\u3055\u308c\u308b\u3059\u3079\u3066\u306e\u5dee\u5206\u3092\u53d6\u5f97\u3057\u5909\u66f4\u5185\u5bb9\u3092\u62bd\u51fa\u3057\u307e\u3059\u3002<br>\u6a5f\u68b0\u7684\u306b\u30ab\u30c6\u30b4\u30ea\u6bce\u306b\u62bd\u51fa\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3001\u4eca\u307e\u3067\u5404\u4eba\u304c\u30ea\u30ea\u30fc\u30b9\u5185\u5bb9\u3092\u5831\u544a\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u30dc\u30c3\u30c8\u304c\u307e\u3068\u3081\u3066\u304f\u308c\u308b\u305f\u3081\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8\u3082\u66f8\u304d\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"760\" height=\"873\" src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/SnapCrab_NoName_2019-10-15_12-32-46_No-00.png\" alt=\"\" class=\"wp-image-2399\" srcset=\"https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/SnapCrab_NoName_2019-10-15_12-32-46_No-00.png 760w, https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/SnapCrab_NoName_2019-10-15_12-32-46_No-00-261x300.png 261w\" sizes=\"(max-width: 760px) 100vw, 760px\" \/><figcaption>\u5b9f\u969b\u306b\u30dc\u30c3\u30c8\u304c\u4f5c\u6210\u3057\u305fPull Request<\/figcaption><\/figure>\n\n\n\n<p>\u307e\u305f\u5404\u4f5c\u696d\u306ePull Request\u306b\u306f\u305d\u306e\u6642\u5fc5\u8981\u306a\u52d5\u4f5c\u78ba\u8a8d\u9805\u76ee\u3092\u66f8\u304f\u9805\u76ee\u304c\u3042\u308a\u307e\u3059\u3002<br>\u4f5c\u696d\u8005\u306f\u4f5c\u696d\u3057\u305f\u6642\u5fc5\u8981\u306a\u30c6\u30b9\u30c8\u3092\u4e88\u3081\u66f8\u3044\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u30ea\u30ea\u30fc\u30b9\u524d\u306e\u52d5\u4f5c\u78ba\u8a8d\u3067\u5fc5\u8981\u306a\u30c6\u30b9\u30c8\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br>\u30c6\u30b9\u30c8\u304c\u5fc5\u8981\u306a\u3044\u5834\u5408\u306f\u9805\u76ee\u306a\u3057\u306b\u3082\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"759\" height=\"820\" src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/SnapCrab_NoName_2019-10-15_13-15-11_No-00.png\" alt=\"\" class=\"wp-image-2407\" srcset=\"https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/SnapCrab_NoName_2019-10-15_13-15-11_No-00.png 759w, https:\/\/blog.virtualcast.jp\/blog\/wp-content\/uploads\/2019\/10\/SnapCrab_NoName_2019-10-15_13-15-11_No-00-278x300.png 278w\" sizes=\"(max-width: 759px) 100vw, 759px\" \/><figcaption>\u5b9f\u969b\u306b\u4f7f\u308f\u308c\u305f\u52d5\u4f5c\u78ba\u8a8d\u9805\u76ee<\/figcaption><\/figure>\n\n\n\n<p>GitHubIssue\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u5168\u54e1\u304c\u4e00\u6589\u306b\u52d5\u4f5c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3057\u3001\u30ea\u30ea\u30fc\u30b9\u62c5\u5f53\u8005\u306f\u3069\u3053\u307e\u3067\u7d42\u308f\u3063\u3066\u3044\u308b\u304b\u3072\u3068\u76ee\u3067\u5206\u304b\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u52d5\u4f5c\u30c6\u30b9\u30c8\u304c\u5b8c\u4e86\u3057\u30ea\u30ea\u30fc\u30b9\u304c\u554f\u984c\u306a\u3044\u3068\u5224\u65ad\u3055\u308c\u305f\u3089\u3001\u30ea\u30ea\u30fc\u30b9\u62c5\u5f53\u8005\u306f\u30ea\u30ea\u30fc\u30b9\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u30ea\u30ea\u30fc\u30b9\u5b8c\u4e86\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2>\u30dc\u30c3\u30c8\u306e\u5b9f\u88c5\u306b\u3064\u3044\u3066<\/h2>\n\n\n\n<p>\u3067\u306f\u3053\u306e\u30dc\u30c3\u30c8\u306f\u3069\u306e\u3088\u3046\u306b\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u7c21\u5358\u306b\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30dc\u30c3\u30c8\u306f <code>.NET Core<\/code> \u3068 <a rel=\"noreferrer noopener\" aria-label=\"SlackAPI (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/github.com\/Inumedia\/SlackAPI\" target=\"_blank\">SlackAPI<\/a> \u3092\u4f7f\u3063\u3066Slack\u3092\u76e3\u8996\u3057\u3001<br>\u7279\u5b9a\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u547c\u3070\u308c\u305f\u3089 <code>GitHubAPI<\/code> \u3084 <code>git\u30b3\u30de\u30f3\u30c9<\/code> \u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002<br>\u30dc\u30c3\u30c8\u306fGCP\u3067\u52d5\u304b\u3057\u3066\u3044\u306624\u6642\u9593\u305a\u3063\u3068\u5f85\u6a5f\u3055\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3>Git\u3092\u64cd\u4f5c\u3059\u308b<\/h3>\n\n\n\n<p>\u30dc\u30c3\u30c8\u306f\u30ea\u30ea\u30fc\u30b9\u7528\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u30ed\u30fc\u30ab\u30eb\u3067Git\u3092\u64cd\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br><code>Process.Start<\/code> \u3067Git\u30b3\u30de\u30f3\u30c9\u3092\u9010\u4e00\u767a\u884c\u3057\u3066\u3082\u826f\u3055\u305d\u3046\u3067\u3059\u304c\u3001<a href=\"https:\/\/github.com\/libgit2\/libgit2sharp\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">LibGit2Sharp<\/a> \u304c\u826f\u3055\u305d\u3046\u306a\u306e\u3067\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3>Pull Request\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n\n\n\n<p>Pull Request\u306fGitHubAPI\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u30ea\u30ea\u30fc\u30b9\u7528\u30d6\u30e9\u30f3\u30c1\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br>\u30d0\u30fc\u30c1\u30e3\u30eb\u30ad\u30e3\u30b9\u30c8\u3067\u306f <code>origin\/develop<\/code> \u304b\u3089\u305d\u306e\u307e\u307e\u30ea\u30ea\u30fc\u30b9\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001develop\u306eSHA\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"aaaaaaa\" data-enlighter-group=\"\">var repository = new Repository(\"REPOSITORY_PATH_HERE\");\nvar developBranch = repository.Branches.FirstOrDefault(x => x.FriendlyName == \"develop\");\ndevelopBranch.Commits.FirstOrDefault()?.Sha;<\/pre>\n\n\n\n<p>SHA\u3092\u53d6\u5f97\u3057\u3066\u304d\u305f\u3089\u3001GitHub\u306eAPI\u3092\u547c\u3073\u51fa\u3057\u3066\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br><a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/developer.github.com\/v3\/git\/refs\/#create-a-reference\" target=\"_blank\">Create a reference<\/a> \u304c\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308bAPI\u306a\u306e\u3067\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">var url = $\"{BaseUrl}\/repos\/{repository}\/git\/refs\";\nvar json = $\"{{ \\\"ref\\\": \\\"heads\/release\/1.0.0\\\",   \\\"sha\\\": \\\"{sha}\\\" }}\";\nvar client = new HttpClient();\nvar content = new StringContent(json, Encoding.UTF8, \"application\/json\");\nvar response = await client.PostAsync(url, content);<\/pre>\n\n\n\n<p>GitHub\u306b\u30ea\u30ea\u30fc\u30b9\u7528\u30d6\u30e9\u30f3\u30c1\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>Pull Request\u306e\u5185\u5bb9\u306b\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8\u3092\u66f8\u304d\u307e\u3059\u306e\u3067\u3001\u5148\u306b\u4eca\u307e\u3067\u306e\u5dee\u5206\u3092\u3059\u3079\u3066\u53d6\u5f97\u3057\u307e\u3059\u3002<br>\u3053\u308c\u306fgit\u306elog\u30b3\u30de\u30f3\u30c9\u304c\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">git log 887d10..a6dbc44<\/pre>\n\n\n\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067 887d10 \u4ee5\u964d \uff5e a6dbc44 \u307e\u3067\u306e\u30b3\u30df\u30c3\u30c8\u306e\u30ed\u30b0\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<br>LibGit2Sharp\u306e\u5834\u5408\u306f\u3053\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">var commitFilter = new CommitFilter {IncludeReachableFrom = toSha, ExcludeReachableFrom = fromSha};\nvar logs = repository.Commits.QueryBy(commitFilter).ToList();<\/pre>\n\n\n\n<p>GitHub\u3067Pull Request\u3092\u30de\u30fc\u30b8\u3057\u305f\u30ed\u30b0\u306b\u306f\u5fc5\u305a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Merge pull request #XXXX from ....<\/pre>\n\n\n\n<p>\u3068\u66f8\u304b\u308c\u3066\u304a\u308a\u3001\u3053\u306e <strong>#XXXX<\/strong> \u306e\u6570\u5b57\u3092\u53d6\u308a\u51fa\u3059\u3053\u3068\u3067\u4eca\u307e\u3067\u306ePull Request\u304c\u53c2\u7167\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u53d6\u5f97\u3057\u3066\u304d\u305fPull Request\u306e\u8a73\u7d30\u306f <a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/developer.github.com\/v3\/pulls\/#get-a-single-pull-request\" target=\"_blank\">Get a single pull request<\/a> \u3092\u4f7f\u3046\u3053\u3068\u3067\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<br>\u3053\u308c\u3092\u4f7f\u3063\u3066\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>Pull Request\u3092\u4f5c\u308b\u6e96\u5099\u304c\u6574\u3063\u305f\u306e\u3067\u3001GitHubAPI\u3092\u4f7f\u3063\u3066\u4f5c\u308a\u307e\u3059\u3002<br>Pull Request\u3092\u4f5c\u308bAPI\u306f <a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/developer.github.com\/v3\/pulls\/#create-a-pull-request\" target=\"_blank\">Create a pull request<\/a> <br>\u3053\u308c\u3092\u30dc\u30c3\u30c8\u304b\u3089\u53e9\u304f\u3053\u3068\u3067Pull Request\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3> \u52d5\u4f5c\u78ba\u8a8d\u9805\u76ee\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n\n\n\n<p>Pull Request\u3068\u540c\u3058\u3067Issue\u3082GitHubAPI\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6d17\u3044\u51fa\u3057\u305fPull Request\u304b\u3089\u52d5\u4f5c\u78ba\u8a8d\u9805\u76ee\u3092\u6d17\u3044\u51fa\u3057\u3001Issue\u306b\u8ee2\u8a18\u3057\u307e\u3059\u3002<br>\u3053\u306e\u6642\u3059\u3067\u306b \u2714\u304c\u5165\u3063\u3066\u3044\u308b\u9805\u76ee\u306f\u518d\u5ea6\u78ba\u8a8d\u3092\u8981\u6c42\u3059\u308b\u305f\u3081\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f5c\u696d\u8005\u306f\u3053\u306eIssue\u3092\u958b\u304d\u3001\u52d5\u4f5c\u304c\u3067\u304d\u305f\u3089 \u2714 \u3092\u3064\u3051\u307e\u3059\u3002<br>\u3059\u3079\u3066\u7d42\u308f\u3063\u305f\u304b\u3069\u3046\u304b\u306fSlack\u3067\u30dc\u30c3\u30c8\u306b\u805e\u304f\u3053\u3068\u3067\u3001\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u3082\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2>\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u666e\u6bb5\u306f\u8907\u96d1\u3067\u30df\u30b9\u3082\u591a\u304f\u306a\u308a\u304c\u3061\u306a\u30ea\u30ea\u30fc\u30b9\u4f5c\u696d\u306e\u4e00\u90e8\u3092\u30dc\u30c3\u30c8\u306b\u304a\u9858\u3044\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u4f5c\u696d\u81ea\u4f53\u3092\u697d\u306b\u3057\u305f\u308a\u30df\u30b9\u3092\u6e1b\u3089\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>.NET&nbsp;Core<\/code> \u3068 <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/Inumedia\/SlackAPI\" target=\"_blank\">SlackAPI<\/a> \u3092\u4f7f\u3046\u3053\u3068\u3067C#\u3067SlackBot\u3092\u4f5c\u308c\u3001\u8907\u96d1\u306a\u30ea\u30ea\u30fc\u30b9\u30d5\u30ed\u30fc\u3082\u7d44\u3081\u308b\u306e\u3067\u666e\u6bb5\u306e\u30ea\u30ea\u30fc\u30b9\u4f5c\u696d\u304c\u5927\u5909\u3068\u601d\u3063\u3066\u3044\u308b\u65b9<br>\u307e\u305f\u306f\u3053\u308c\u304b\u3089\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u305e\u3063\u3066\u601d\u3063\u3066\u3044\u308b\u304b\u305f\u3001\u305c\u3072\u4e00\u5ea6\u305d\u306e\u30d5\u30ed\u30fc\u3092\u30dc\u30c3\u30c8\u3067\u4f5c\u696d\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u3066\u306f\u3069\u3046\u3067\u3057\u3087\u3046\u304b\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002\u30d0\u30fc\u30c1\u30e3\u30eb\u30ad\u30e3\u30b9\u30c8\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u958b\u767a\u306ekakunpc(\u304b\u30fc\u304f\u3093)\u3067\u3059\u3002\u4eca\u56de\u306e\u5185\u5bb9\u306f\u3061\u3087\u3063\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u958b\u767a\u304b\u3089\u96e2\u308c\u305f\u30dc\u30c3\u30c8\u306e\u8a71\u3067\u3059\u3002 \u30ea\u30ea\u30fc\u30b9\u30d5\u30ed\u30fc\u3092\u898b\u76f4\u3059 \u3055\u3066\u3001\u307f\u306a\u3055\u3093\u306f\u30a2\u30d7\u30ea\u3068\u304b\u30c4\u30fc\u30eb\u3092\u958b\u767a\u3057\u305f\u3068\u304d\u3001\u30ea\u30ea...<\/p>\n","protected":false},"author":31,"featured_media":2425,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[85,26],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts\/2396"}],"collection":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/comments?post=2396"}],"version-history":[{"count":35,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts\/2396\/revisions"}],"predecessor-version":[{"id":2452,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts\/2396\/revisions\/2452"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/media\/2425"}],"wp:attachment":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/media?parent=2396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/categories?post=2396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/tags?post=2396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}