Github連携に関するアクション一覧です。
GithubCreateIssueは、Github上の指定のレポジトリに新規Issueを追加します。追加されたIssueのid, url, numberを返却します。
*は、必須パラメーター
名前 | 型 | 概要 | 例 |
provider* | 文字列 | Github連携に必要なプロバイダーID | github_e7502c3b8b8147410ce2 |
repository* | 文字列 | レポジトリーオーナー/レポジトリー名 | Tutorial-Inc/bugs |
title* | 文字列 | イシューのタイトル | "[Bug] バグの報告です。" |
body* | 文字列 | イシューの本文 | "# 見出し \n\n 本文" |
タイプ | 型 | 概要 | 例 |
JSON | オブジェクト | JSONレスポンス | *使用例を参照 |
action>: GithubCreateIssueprovider: github_xxxxxxxrepository: Tutorial-Inc/bugstitle: "バグと思われる挙動あり"body: "# テストID\n\n1221\n\n# バグの内容\n\nユーザー追加後のユーザー数\n\n期待値 5\n\n実際の数 4"# => {# "url": "https://github.com/Tutorial-Inc/bugs/issue/234",# "number": 234,# "id": "Mmdjgjeiterwhhgowhowghgowhh=="# }
GithubAddCommentは、Github上の指定のレポジトリの指定のIssueにコメントを追加します。Issueのid, url, numberを返却します。
*は、必須パラメーター
名前 | 型 | 概要 | 例 |
provider* | 文字列 | Github連携に必要なプロバイダーID | github_e7502c3b8b8147410ce2 |
repository* | 文字列 | レポジトリーオーナー/レポジトリー名 | Tutorial-Inc/bugs |
issue* | 文字列 | イシューの番号 | "234" |
body* | 文字列 | コメントの本文 | "こんにちは、この問題は解決していますか?" |
タイプ | 型 | 概要 | 例 |
JSON | オブジェクト | JSONレスポンス | *使用例を参照 |
action>: GithubAddCommentprovider: github_xxxxxxxrepository: Tutorial-Inc/bugsissue: "234"body: "この問題は解決していますか?"# => {# "url": "https://github.com/Tutorial-Inc/bugs/issue/234",# "number": 234,# "id": "Mmdjgjeiterwhhgowhowghgowhh=="# }