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

Pull Request Webhooks #726

Closed
wants to merge 10 commits into from
Closed

Pull Request Webhooks #726

wants to merge 10 commits into from

Conversation

mwerner
Copy link
Contributor

@mwerner mwerner commented Jan 23, 2016

WIP: First pass at accepting other types of github events. Would love some feedback on the approach.

I'm not totally convinced re-purposing Changeset::PullRequest is warranted, but I also didn't want to create a different PullRequest class or namespace for this stuff.

Todo:

  • Needs some work on sha selection for PR and issue comments.
  • No filtering setup yet on issue comment content.

@zendesk/samson

private

def pull_request
@pull_request ||= Changeset::PullRequest.find(repo, data['number'])
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the PR inlined? Can we avoid another outbound request?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

PR info isn't inline unfortunately.

@steved
Copy link
Contributor

steved commented Jan 25, 2016

Direction looks good

@mwerner
Copy link
Contributor Author

mwerner commented Feb 23, 2016

closed in favor of #746

@mwerner mwerner closed this Feb 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants