動のGitHubワークフロー

上級

これはEngineering, DevOps, IT Ops分野の自動化ワークフローで、44個のノードを含みます。主にN8n, Set, Code, Html, Githubなどのノードを使用。 🔄 Workflow Repos8r:n8nワークフローのGitHubバージョン管理UI

前提条件
  • GitHub Personal Access Token
  • HTTP Webhookエンドポイント(n8nが自動生成)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "19zAOGWLxA9g9epQ",
  "meta": {
    "instanceId": "ba3fa76a571c35110ef5f67e5099c9a5c1768ef125c2f3b804ba20de75248c0b",
    "templateCredsSetupCompleted": true
  },
  "name": "Dynamic GitHub Workflows",
  "tags": [
    {
      "id": "n7iHVPoDy5TG4oVr",
      "name": "utility",
      "createdAt": "2025-01-14T14:58:44.872Z",
      "updatedAt": "2025-01-14T14:58:44.872Z"
    }
  ],
  "nodes": [
    {
      "id": "077b5015-2b26-44ac-aac7-a868a7ab9647",
      "name": "n8n | wf1取得",
      "type": "n8n-nodes-base.n8n",
      "position": [
        2240,
        1440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8b048484-3aba-4e7a-99f3-d11cd76a0fda",
      "name": "UIで応答",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3820,
        760
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "2fb30621-c1fc-4e2c-bd80-5aa19e95e1fe",
      "name": "HTML-UI",
      "type": "n8n-nodes-base.html",
      "position": [
        3540,
        760
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "eb55c132-b001-463c-bca7-7e7850f3dffb",
      "name": "Webhook-ideogener8r",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1680,
        760
      ],
      "webhookId": "e892f1af-d192-40e1-9c27-7fda6539d911",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9f89ec58-5f63-4358-82a8-8ee5263f09c3",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        660
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "121f6666-7731-40e0-93a4-4599197305c2",
      "name": "フロー設定",
      "type": "n8n-nodes-base.set",
      "position": [
        2920,
        760
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "eb1a073b-8353-494c-9711-1bc40d1b0ee3",
      "name": "集約",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        3260,
        760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6b40c70a-3592-4ecf-9311-99bc39b9ff63",
      "name": "GitHub",
      "type": "n8n-nodes-base.github",
      "position": [
        2640,
        760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4b4e4846-cbb6-4ab0-aad4-d7de542568e1",
      "name": "フォーム送信",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1680,
        1900
      ],
      "webhookId": "d541171c-731e-4104-ac30-6a32f2c0af03",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "da4b75e6-1cf0-43d6-8994-9c920669f7a7",
      "name": "Webhookへ応答",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3820,
        1100
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "87a1185f-9f9f-401d-818c-b4f52e12dd82",
      "name": "GitHub2",
      "type": "n8n-nodes-base.github",
      "position": [
        2140,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3fb50870-df6a-4e0c-b9e8-c1f94e86728f",
      "name": "GHリポジトリとパス設定3",
      "type": "n8n-nodes-base.set",
      "position": [
        1940,
        1100
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "85ed78b0-d257-4164-b8d1-753ebd1f2e3a",
      "name": "ファイルから抽出",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        2360,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9ebe75fe-3e9c-4a28-8d83-1054d6c703fa",
      "name": "GitワークフローID設定",
      "type": "n8n-nodes-base.set",
      "position": [
        2640,
        1100
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a803bd8f-809b-4955-9e89-1586abcbf00c",
      "name": "n8nワークフロー取得",
      "type": "n8n-nodes-base.n8n",
      "position": [
        2940,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a2f799b5-5325-4820-969f-be0949e563b8",
      "name": "n8nワークフロー設定",
      "type": "n8n-nodes-base.set",
      "position": [
        3260,
        1100
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "755eaa25-fb21-4df5-8cf9-36f4c530e5c9",
      "name": "ノード比較",
      "type": "n8n-nodes-base.code",
      "position": [
        3540,
        1100
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8d77291b-d517-4321-9c72-d0287fab1c52",
      "name": "Webhook1へ応答",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3820,
        1760
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c610bcb1-04c7-4b79-9fca-dd7bc5ad68f4",
      "name": "n8nワークフロー取得",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1680,
        1440
      ],
      "webhookId": "e892f1af-d192-40e1-9c27-7fda6539d911",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9b71c203-6c9a-4798-ae9e-c6f1ff14d633",
      "name": "Webhook2へ応答",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3820,
        1440
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "ebbd2611-27e9-48c4-8224-6e18a59cf5c3",
      "name": "ワークフロー変更取得",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1680,
        1100
      ],
      "webhookId": "e892f1af-d192-40e1-9c27-7fda6539d911",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f768d245-9f92-4232-9b8f-381cb18e609c",
      "name": "ワークフロー設定",
      "type": "n8n-nodes-base.set",
      "position": [
        2680,
        1440
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3facd854-5d61-468f-8a2a-f230ebade3ac",
      "name": "フィールド編集",
      "type": "n8n-nodes-base.set",
      "position": [
        3400,
        1440
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "39f4fbb3-fc33-4f12-8aee-a85f4ebd3ed7",
      "name": "集約1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        3020,
        1440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0bfa387a-0513-4239-af6f-6cde51d374db",
      "name": "スイッチ1",
      "type": "n8n-nodes-base.switch",
      "position": [
        2680,
        1900
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "33e97127-b0da-44d9-bcc4-43b033342c6d",
      "name": "GHリポジトリとパス設定4",
      "type": "n8n-nodes-base.set",
      "position": [
        2220,
        1900
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "921bfed2-52c0-4da5-a208-34d445175fdb",
      "name": "n8n",
      "type": "n8n-nodes-base.n8n",
      "position": [
        3020,
        1760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6a92ecd5-aa28-4224-8700-b9cd7ee82904",
      "name": "ワークフロー編集コミット",
      "type": "n8n-nodes-base.github",
      "position": [
        3400,
        1760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8f88c306-08df-4b8f-9c44-8936562901f3",
      "name": "n8n1",
      "type": "n8n-nodes-base.n8n",
      "position": [
        3020,
        1980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f15b37f4-a0c2-4c27-9b22-c586cd3636cd",
      "name": "新規ファイルコミット",
      "type": "n8n-nodes-base.github",
      "position": [
        3400,
        1980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d766a2fd-b05d-4a9d-a5f9-53009c5e198b",
      "name": "Webhook3へ応答",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3820,
        1980
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "712e2d80-f659-4d60-95c6-342883fc6eca",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        1000
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c569ff75-eb1b-4783-a65d-376069a43c50",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        1340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d6d223d5-67dd-419c-9e88-9762c51ce692",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        1680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b705cb50-b982-4d0e-ac4c-32556128fe53",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1900,
        700
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ea518e3e-274a-4b1a-b0ed-06408457c77d",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1880,
        1060
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b8017298-cefd-4126-8959-4515e18fb163",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        1840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "22cc7d73-c424-4ea3-bacb-0526222b1f81",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1400,
        740
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b25d9672-28cb-4c26-ac4a-7d259352de17",
      "name": "付箋8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1400,
        1080
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "82b3e0c7-5a7c-4cda-acc8-dc9de63ce9a3",
      "name": "付箋9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1400,
        1420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d8bbf686-0173-4863-948d-c5cdb1dc1b76",
      "name": "付箋10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        1880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "aa62e288-3628-40f6-ad38-54768d76dff9",
      "name": "ワークフロー変数設定",
      "type": "n8n-nodes-base.set",
      "position": [
        1940,
        760
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "73986aeb-c311-4acf-9427-dcfe65d6bc34",
      "name": "ワークフロー変数",
      "type": "n8n-nodes-base.set",
      "position": [
        1960,
        1900
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a8c438f1-be8c-4461-b83c-ffdc612f2a04",
      "name": "付箋11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "24bded7d-e0f5-4c66-b64f-f6324a5a2d35",
  "connections": {
    "921bfed2-52c0-4da5-a208-34d445175fdb": {
      "main": [
        [
          {
            "node": "6a92ecd5-aa28-4224-8700-b9cd7ee82904",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8f88c306-08df-4b8f-9c44-8936562901f3": {
      "main": [
        [
          {
            "node": "f15b37f4-a0c2-4c27-9b22-c586cd3636cd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6b40c70a-3592-4ecf-9311-99bc39b9ff63": {
      "main": [
        [
          {
            "node": "121f6666-7731-40e0-93a4-4599197305c2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "87a1185f-9f9f-401d-818c-b4f52e12dd82": {
      "main": [
        [
          {
            "node": "85ed78b0-d257-4164-b8d1-753ebd1f2e3a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2fb30621-c1fc-4e2c-bd80-5aa19e95e1fe": {
      "main": [
        [
          {
            "node": "8b048484-3aba-4e7a-99f3-d11cd76a0fda",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0bfa387a-0513-4239-af6f-6cde51d374db": {
      "main": [
        [
          {
            "node": "921bfed2-52c0-4da5-a208-34d445175fdb",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "8f88c306-08df-4b8f-9c44-8936562901f3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "eb1a073b-8353-494c-9711-1bc40d1b0ee3": {
      "main": [
        [
          {
            "node": "2fb30621-c1fc-4e2c-bd80-5aa19e95e1fe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "121f6666-7731-40e0-93a4-4599197305c2": {
      "main": [
        [
          {
            "node": "eb1a073b-8353-494c-9711-1bc40d1b0ee3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "39f4fbb3-fc33-4f12-8aee-a85f4ebd3ed7": {
      "main": [
        [
          {
            "node": "3facd854-5d61-468f-8a2a-f230ebade3ac",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3facd854-5d61-468f-8a2a-f230ebade3ac": {
      "main": [
        [
          {
            "node": "9b71c203-6c9a-4798-ae9e-c6f1ff14d633",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4b4e4846-cbb6-4ab0-aad4-d7de542568e1": {
      "main": [
        [
          {
            "node": "73986aeb-c311-4acf-9427-dcfe65d6bc34",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "755eaa25-fb21-4df5-8cf9-36f4c530e5c9": {
      "main": [
        [
          {
            "node": "da4b75e6-1cf0-43d6-8994-9c920669f7a7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f768d245-9f92-4232-9b8f-381cb18e609c": {
      "main": [
        [
          {
            "node": "39f4fbb3-fc33-4f12-8aee-a85f4ebd3ed7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "73986aeb-c311-4acf-9427-dcfe65d6bc34": {
      "main": [
        [
          {
            "node": "33e97127-b0da-44d9-bcc4-43b033342c6d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "077b5015-2b26-44ac-aac7-a868a7ab9647": {
      "main": [
        [
          {
            "node": "f768d245-9f92-4232-9b8f-381cb18e609c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f15b37f4-a0c2-4c27-9b22-c586cd3636cd": {
      "main": [
        [
          {
            "node": "d766a2fd-b05d-4a9d-a5f9-53009c5e198b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c610bcb1-04c7-4b79-9fca-dd7bc5ad68f4": {
      "main": [
        [
          {
            "node": "077b5015-2b26-44ac-aac7-a868a7ab9647",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a2f799b5-5325-4820-969f-be0949e563b8": {
      "main": [
        [
          {
            "node": "755eaa25-fb21-4df5-8cf9-36f4c530e5c9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "85ed78b0-d257-4164-b8d1-753ebd1f2e3a": {
      "main": [
        [
          {
            "node": "9ebe75fe-3e9c-4a28-8d83-1054d6c703fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9ebe75fe-3e9c-4a28-8d83-1054d6c703fa": {
      "main": [
        [
          {
            "node": "c610bcb1-04c7-4b79-9fca-dd7bc5ad68f4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "eb55c132-b001-463c-bca7-7e7850f3dffb": {
      "main": [
        [
          {
            "node": "aa62e288-3628-40f6-ad38-54768d76dff9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6a92ecd5-aa28-4224-8700-b9cd7ee82904": {
      "main": [
        [
          {
            "node": "8d77291b-d517-4321-9c72-d0287fab1c52",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ebbd2611-27e9-48c4-8224-6e18a59cf5c3": {
      "main": [
        [
          {
            "node": "3fb50870-df6a-4e0c-b9e8-c1f94e86728f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3fb50870-df6a-4e0c-b9e8-c1f94e86728f": {
      "main": [
        [
          {
            "node": "87a1185f-9f9f-401d-818c-b4f52e12dd82",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "33e97127-b0da-44d9-bcc4-43b033342c6d": {
      "main": [
        [
          {
            "node": "0bfa387a-0513-4239-af6f-6cde51d374db",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "aa62e288-3628-40f6-ad38-54768d76dff9": {
      "main": [
        [
          {
            "node": "6b40c70a-3592-4ecf-9311-99bc39b9ff63",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

上級 - エンジニアリング, DevOps, IT運用

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
上級
ノード数44
カテゴリー3
ノードタイプ11
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34