def METHOD_NAME(self):
    project = self.project  # force creation
    user = self.create_user(email="alberto@sentry.io")
    with assume_test_silo_mode(SiloMode.CONTROL):
        UserSocialAuth.objects.create(provider="github", user=user, uid=6752317)
    self.create_member(organization=project.organization, user=user, role="member")
    url = f"/plugins/github/organizations/{project.organization.id}/webhook/"
    secret = "b3002c3e321d4b7880360d397db2ccfd"
    OrganizationOption.objects.set_value(
        organization=project.organization, key="github:webhook_secret", value=secret
    )
    repo = Repository.objects.create(
        organization_id=project.organization.id,
        external_id="35129377",
        provider="github_apps",
        name="baxterthehacker/public-repo",
    )
    response = self.client.post(
        path=url,
        data=PULL_REQUEST_OPENED_EVENT_EXAMPLE,
        content_type="application/json",
        HTTP_X_GITHUB_EVENT="pull_request",
        HTTP_X_HUB_SIGNATURE="sha1=aa5b11bc52b9fac082cb59f9ee8667cb222c3aff",
        HTTP_X_GITHUB_DELIVERY=str(uuid4()),
    )
    assert response.status_code == 204
    prs = PullRequest.objects.filter(
        repository_id=repo.id, organization_id=project.organization.id
    )
    assert len(prs) == 1
    pr = prs[0]
    assert pr.key == "1"
    assert pr.message == "This is a pretty simple change that we need to pull into master."
    assert pr.title == "Update the README with new information"
    assert pr.author.name == "baxterthehacker"
    assert pr.author.email == "alberto@sentry.io"