Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add support for github pull request comment webhook parsing#33

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
jstrachan wants to merge2 commits intodrone:master
base:master
Choose a base branch
Loading
fromjstrachan:pr-comments

Conversation

@jstrachan
Copy link

No description provided.

@CLAassistant
Copy link

CLAassistant commentedJul 4, 2019
edited
Loading

CLA assistant check
All committers have signed the CLA.

returnnil,err
}
dst:=convertPullRequestReviewCommentHook(src)
returndst,nil
Copy link
Contributor

@bradrydzewskibradrydzewskiJul 9, 2019
edited
Loading

Choose a reason for hiding this comment

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

I believe this function should set the action to one ofscm.ActionCreate,scm.ActionUpdate,scm.ActionDelete

}
}

funcconvertPullRequestReviewCommentHook(src*pullRequestReviewCommentHook)*scm.PullRequestCommentHook {
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe this should return aReviewCommentHook. The distinction is that a pull request comment is when you comment on the issue (although github treats pull requests the same as issues, other providers do not, so we abstract). The review comment is when you comment on code. TheReviewCommentHook also stores aReview information such as file name and line number.

jstrachan pushed a commit to jstrachan/go-scm that referenced this pull requestOct 2, 2019
fix: avoid failures on bitbucket cluster
@chhsia0
Copy link
Contributor

Is this going stale? I'm currently using go-github to parse issue comments for pull requests but considering to add such support for go-scm. Is the intention of this PR to support review comment or issue comments on pull requests? Should I wait for this PR? Thanks for an update :)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@bradrydzewskibradrydzewskibradrydzewski left review comments

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@jstrachan@CLAassistant@chhsia0@bradrydzewski

[8]ページ先頭

©2009-2025 Movatter.jp