<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Automation on OTTAN.JP</title>
    <link>https://ottan.jp/tags/automation/</link>
    <description>Recent content in Automation on OTTAN.JP</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Thu, 23 Apr 2026 00:00:00 +0900</lastBuildDate>
    <atom:link href="https://ottan.jp/tags/automation/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>【2026年版】GitHub のイベントを Discord に通知する（Webhook / GitHub Actions 経由）</title>
      <link>https://ottan.jp/posts/2020/04/github-discord-webhook-notification/</link>
      <pubDate>Sun, 26 Apr 2020 00:00:00 +0000</pubDate>
      <guid>https://ottan.jp/posts/2020/04/github-discord-webhook-notification/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;🔁 2026年リライト版&lt;/strong&gt;&#xA;この記事は2020年4月に公開した「GitHubのイベントをDiscordのチャンネルに通知する」を、&lt;strong&gt;Discord UI刷新（2023〜2024）&lt;/strong&gt;、&lt;strong&gt;GitHub Actions&lt;/strong&gt; 経由の通知、&lt;strong&gt;スレッド自動生成&lt;/strong&gt; を踏まえて全面書き換えしたものです。&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;2020年からの主な変化点&#34;&gt;2020年からの主な変化点&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Discord の UI が刷新&lt;/strong&gt;: 「サーバー設定 → 連携サービス → ウェブフック」という現行パス&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;&lt;code&gt;/github&lt;/code&gt;（&lt;code&gt;/api/v1/github&lt;/code&gt;）エンドポイント&lt;/strong&gt; は以前と同じく GitHub Webhook URL の末尾に追加する方式で動く&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;GitHub Actions が普及&lt;/strong&gt;: 柔軟な通知ペイロードなら Webhook 直結より Actions ワークフローから送る方が自由度が高い&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Discord Forum Channel / スレッド&lt;/strong&gt;: PR・Issue ごとにスレッドを自動作成する設計がチーム運用で一般的&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Slack 連携と同じ感覚で使える&lt;/strong&gt;: Discord の GitHub 連携は2020年当時より安定化&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;方法a-github-webhook-を直接-discord-に送る最速&#34;&gt;方法A: GitHub Webhook を直接 Discord に送る（最速）&lt;/h2&gt;&#xA;&lt;h3 id=&#34;1-discord-側でウェブフックを作成&#34;&gt;1. Discord 側でウェブフックを作成&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;通知したいチャンネルの &lt;strong&gt;歯車アイコン → 連携サービス → ウェブフック → 新しいウェブフック&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;名前・アイコン・チャンネルを指定して &lt;strong&gt;ウェブフックURLをコピー&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;2-url-末尾に-github-を付与&#34;&gt;2. URL 末尾に &lt;code&gt;/github&lt;/code&gt; を付与&lt;/h3&gt;&#xA;&lt;p&gt;Discord のウェブフック URL は以下の形式です。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
