--- title: "GitHub Botのテスト" url: https://docs.catalyst.zoho.com/ja/tutorials/githubbot/java/test-github-bot/ description: "Catalyst Integration Functionsを使用してZoho Cliq上にエクステンションを構築し、Cliqボットを通じてGitHubリポジトリにアクセスして操作できるようにします。" last_updated: 2026-08-17T12:16:04Z service: All Services type: tutorial related_links: - name: "Integration Functions" url: /ja/serverless/help/functions/integration-functions --- # GitHub Botのテスト GitHub Botのコマンドと機能をテストできます。 Cliqアカウントを開き、**GitHub Bot**を開きます。まず_issues_コマンドをテストしましょう。すべてのCliqコマンドは、先頭に「/」バックスラッシュを付けて入力する必要があります。 ボットのチャットに「/issues」と入力します。これによりIntegration Functionがトリガーされ、コマンドハンドラーがGitアカウントのリポジトリを取得できるようになります。リポジトリがチャットに表示されます。 ![catalyst_gitbot_cliq_bot_test_1](https://catalyst-docs-development.zohostratus.in/images/tutorials/githubbot/catalyst_gitbot_cliq_bot_test_1.webp) 矢印ボタンを使用してリポジトリを選択し、**Enter**キーを押します。そのリポジトリに対して発生した直近10件のIssueの詳細が表示されます(存在する場合)。各Issueのリンクをクリックすると、GitHub上で確認できます。 ![catalyst_gitbot_cliq_bot_test_2](https://catalyst-docs-development.zohostratus.in/images/tutorials/githubbot/catalyst_gitbot_cliq_bot_test_2.webp) **Post here**をクリックすると、ボットによるメッセージとして詳細を投稿できます。**Close**をクリックすると、埋め込みビューが閉じます。 次に、チャットで「/commits」と入力し、一覧からリポジトリを1つ選択します。そのリポジトリにプッシュされた直近10件のコミットの詳細が表示されます(存在する場合)。 ![catalyst_gitbot_cliq_bot_test_3](https://catalyst-docs-development.zohostratus.in/images/tutorials/githubbot/catalyst_gitbot_cliq_bot_test_3.webp) GitHub Bot用に設定したボットメニューアクションもテストできます。チャットで「Repos」と入力し、**Enter**キーを押します。GitHubアカウント内のすべてのリポジトリの詳細が一覧表示されます。 ![catalyst_gitbot_cliq_bot_test_4](https://catalyst-docs-development.zohostratus.in/images/tutorials/githubbot/catalyst_gitbot_cliq_bot_test_4.webp) webhookを設定したリポジトリにコミットがプッシュされた際に、Cliqボットがアラートを送信するかどうかを確認できます。そのリポジトリでコミットを行ってください。Cliqボットがコミットの詳細とリポジトリへのアクセスリンクを含むアラートを送信します。 ![catalyst_gitbot_commit_alert](https://catalyst-docs-development.zohostratus.in/images/tutorials/githubbot/catalyst_gitbot_commit_alert.webp) すべてのアクションが正常に動作すれば、GitHub Botは正しく設定されています。