Skip to content

Commit

Permalink
add pull_request_review_comment (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix authored Aug 14, 2022
1 parent d0eed14 commit ec5c5ab
Showing 1 changed file with 20 additions and 39 deletions.
59 changes: 20 additions & 39 deletions templates/pull_request_review_comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,32 @@
"comment": {
"_links": {
"html": {
"href": "https://github.com/srz-zumix/gh-act/pull/3#discussion_r944355616"
"href": "https://${GITHUB_HOSTNAME}/${OWNER}/${REPO}/pull/3#discussion_r944355616"
},
"pull_request": {
"href": "https://api.github.com/repos/srz-zumix/gh-act/pulls/3"
"href": "${PR_URL}"
},
"self": {
"href": "https://api.github.com/repos/srz-zumix/gh-act/pulls/comments/944355616"
"href": "https://${GITHUB_API}/repos/${OWNER}/${REPO}/pulls/comments/944355616"
}
},
"author_association": "OWNER",
"body": "fix",
"commit_id": "6dafa719082029fec8035976e3be0aeef7549164",
"created_at": "2022-08-12T11:01:24Z",
"diff_hunk": "@@ -11,7 +13,7 @@ jobs:\n steps:\n - uses: actions/checkout@v3\n with:\n- ref: ${{ (github.event_name == 'pull_request' && github.head_ref) || github.ref }}\n+ ref: ${{ contains(github.event_name, 'pull_request') && github.head_ref) || github.ref }}",
"html_url": "https://github.com/srz-zumix/gh-act/pull/3#discussion_r944355616",
"body": "gh-act pull_request review comment",
"commit_id": "${HEAD}",
"created_at": "${PR_UPDATED_AT}",
"diff_hunk": "",
"html_url": "https://${GITHUB_HOSTNAME}/${OWNER}/${REPO}/pull/3#discussion_r944355616",
"id": 0,
"line": 16,
"node_id": "PRRC_kwDOHxe7Pc44Sbkg",
"original_commit_id": "6dafa719082029fec8035976e3be0aeef7549164",
"original_line": 16,
"original_position": 14,
"line": 1,
"node_id": "",
"original_commit_id": "${HEAD}",
"original_line": 1,
"original_position": 1,
"original_start_line": null,
"path": ".github/workflows/main.yml",
"position": 14,
"pull_request_review_id": 1070930824,
"pull_request_url": "https://api.github.com/repos/srz-zumix/gh-act/pulls/3",
"position": 1,
"pull_request_review_id": 0,
"pull_request_url": "${PR_URL}",
"reactions": {
"+1": 0,
"-1": 0,
Expand All @@ -39,33 +39,14 @@
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/srz-zumix/gh-act/pulls/comments/944355616/reactions"
"url": "https://${GITHUB_API}/repos/${OWNER}/${REPO}/pulls/comments/944355616/reactions"
},
"side": "RIGHT",
"start_line": null,
"start_side": null,
"updated_at": "2022-08-12T11:01:36Z",
"url": "https://api.github.com/repos/srz-zumix/gh-act/pulls/comments/944355616",
"user": {
"avatar_url": "https://avatars.githubusercontent.com/u/1439172?v=4",
"events_url": "https://api.github.com/users/srz-zumix/events{/privacy}",
"followers_url": "https://api.github.com/users/srz-zumix/followers",
"following_url": "https://api.github.com/users/srz-zumix/following{/other_user}",
"gists_url": "https://api.github.com/users/srz-zumix/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/srz-zumix",
"id": 1439172,
"login": "srz-zumix",
"node_id": "MDQ6VXNlcjE0MzkxNzI=",
"organizations_url": "https://api.github.com/users/srz-zumix/orgs",
"received_events_url": "https://api.github.com/users/srz-zumix/received_events",
"repos_url": "https://api.github.com/users/srz-zumix/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/srz-zumix/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/srz-zumix/subscriptions",
"type": "User",
"url": "https://api.github.com/users/srz-zumix"
}
"updated_at": "${PR_UPDATED_AT}",
"url": "https://${GITHUB_API}/repos/${OWNER}/${REPO}/pulls/comments/944355616",
"user": ${HEAD_USER_JSON}
},
"pull_request": ${PULL_REQUEST_JSON},
"repository": ${BASE_REPO_JSON},
Expand Down

0 comments on commit ec5c5ab

Please sign in to comment.