Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pull_request_review_comment #14

Merged
merged 2 commits into from
Aug 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 7 additions & 26 deletions templates/pull_request_review_comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"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",
Expand All @@ -28,7 +28,7 @@
"path": ".github/workflows/main.yml",
"position": 14,
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need change

"pull_request_review_id": 1070930824,
"pull_request_url": "https://api.github.com/repos/srz-zumix/gh-act/pulls/3",
"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"
}
"url": "https://${GITHUB_API}/repos/${OWNER}/${REPO}/pulls/comments/944355616",
"user": ${HEAD_USER_JSON}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doing

},
"pull_request": ${PULL_REQUEST_JSON},
"repository": ${BASE_REPO_JSON},
Expand Down