zulip/zerver/webhooks/github/fixtures
Eeshan Garg 6afd02bef5 webhooks/github: Restrict membership event scope to teams.
According to GitHub's webhook docs, the scope of a membership
event can only be limited to 'teams', which holds true when a
new member is added to a team. However, we just found a payload
in our logs that indicates that when a user is removed from a
team, the scope of the membership is erroneously set to
'organization', not 'team'. This is most likely a bug on
GitHub's end because such behaviour is a direct violation of
their webhook API event specifications. We account for this
by restricting membership events to teams explicitly, at least
till GitHub's docs suggest otherwise.
2019-03-10 14:13:17 -07:00
..
assigned_pull_request.json
check_run_completed.json webhook/github: Support check_run events. 2019-02-20 16:32:39 -08:00
check_run_in_progress.json webhook/github: Support check_run events. 2019-02-20 16:32:39 -08:00
closed_pull_request.json
commit_comment.json
create.json
delete.json
deployment.json
deployment_status.json
edited_pull_request.json
fork.json
issue.json
issue_comment.json
issue_comment_deleted.json webhooks/github: Test and improve messages for issue comment deletion. 2018-10-04 12:16:06 -07:00
labeled_pull_request.json
member.json
membership.json
membership_removal.json webhooks/github: Restrict membership event scope to teams. 2019-03-10 14:13:17 -07:00
merged_pull_request.json
opened_pull_request.json
opened_pull_request_with_preassigned_assignee.json webhooks/github: Test pull requests with preassigned assignees. 2018-10-04 12:16:06 -07:00
page_build.json
ping.json
ping_organization.json
public.json
pull_request_review.json
pull_request_review_comment.json
pull_request_review_requested.json webhooks/github: Add support for PR review requests. 2018-07-01 12:40:45 -07:00
pull_request_review_requested_multiple_reviewers.json webhooks/github: Add support for PR review requests. 2018-07-01 12:40:45 -07:00
pull_request_review_requested_singular_key.json webhooks/github: Handle empty 'requested_reviewers' key. 2018-10-23 14:41:24 -07:00
push_1_commit.json
push_1_commit_without_username.json
push_50_commits.json
push_delete_branch.json
push_event.json
push_local_branch_without_commits.json
push_multiple_committers.json
push_multiple_committers_with_others.json
push_tag.json
release.json
repository.json
repository_vulnerability_alert.json webhooks/github: Ignore repository_vulnerability_alert event. 2019-02-19 18:01:05 -03:30
request_review_pull_request.json
request_review_removed_pull_request.json
status.json
status_with_target_url.json webhooks/github: Test commit status payloads with target_url. 2018-10-04 12:16:06 -07:00
synchronized_pull_request.json
team_add.json
unassigned_pull_request.json
unlabeled_pull_request.json
watch_repository.json
wiki_pages.json