zulip/zerver/webhooks/github/fixtures
Aditya Kumar Kasaudhan d1ff871523 webhooks: Support filtering GitHub activity from private repositories.
Currently, the GitHub webhook sends activity from both public and private
repositories, which could lead to unintended disclosure of sensitive
information from private repositories.

This commit introduces a ignore_private_repositories parameter to the
webhook URL. When set to true, the webhook ignore processing activity from
private repositories, ensuring that such activities are not posted to
Zulip streams. By default, if the parameter is omitted or set to false,
activities from both public and private repositories are processed
normally. This provides users with the flexibility to control the
visibility of private repository activities without altering the default
behavior.

More importantly, this introduces a cleaner mechanism for individual
incoming webhooks to declare support for settings not common to all
webhook integrations.

Fixes #31638.
2024-10-31 10:40:28 -07:00
..
cancelled.json integrations: Create incoming webhook for GitHub Sponsors. 2024-02-07 09:52:03 -08:00
check_run__completed.json
check_run__in_progress.json
commit_comment.json
create.json
created.json integrations: Create incoming webhook for GitHub Sponsors. 2024-02-07 09:52:03 -08:00
delete.json
deployment_status.json
deployment.json
discussion_comment__edited.json integrations: Add GitHub discussion comment edit fixture. 2023-11-22 08:28:03 -08:00
discussion_comment.json integrations: Update GitHub discussion related fixtures. 2023-11-22 08:28:03 -08:00
discussion.json integrations: Update GitHub discussion related fixtures. 2023-11-22 08:28:03 -08:00
edited.json integrations: Create incoming webhook for GitHub Sponsors. 2024-02-07 09:52:03 -08:00
fork.json
gollum__wiki_pages.json
issue_comment__deleted.json
issue_comment__pull_request_comment.json integrations: Add pull request comment fixture to GitHub Integration. 2023-11-21 21:05:26 -08:00
issue_comment.json
issues__assigned.json integrations: Reformat Github issue assigned message body. 2023-11-22 08:26:09 -08:00
issues__demilestoned.json integrations: Add issue demilestoned fixture to GitHub Integration. 2023-07-11 08:58:31 -07:00
issues__labeled.json integrations: Add issue labeled fixture to GitHub Integration. 2023-06-26 11:04:32 -07:00
issues__milestoned.json integrations: Add issue milestoned fixture to GitHub Integration. 2023-07-11 08:58:31 -07:00
issues__unassigned.json webhooks: Add issue unassigned fixture to GitHub Integration. 2023-04-24 23:16:48 -07:00
issues__unlabeled.json integrations: Add issue unlabeled fixture to GitHub Integration. 2023-06-26 11:04:32 -07:00
issues.json
member.json
membership__removal.json
membership.json
page_build__errored.json github: Strengthen types using WildValue. 2022-05-10 13:50:20 -07:00
page_build.json
pending_cancellation.json integrations: Create incoming webhook for GitHub Sponsors. 2024-02-07 09:52:03 -08:00
pending_tier_change.json integrations: Create incoming webhook for GitHub Sponsors. 2024-02-07 09:52:03 -08:00
ping__organization.json
ping.json
public.json
pull_request__assigned.json
pull_request__auto_merge_disabled.json
pull_request__auto_merge_enabled.json
pull_request__closed.json
pull_request__edited_with_body_change.json
pull_request__edited.json
pull_request__locked.json
pull_request__merged_private_repository.json webhooks: Support filtering GitHub activity from private repositories. 2024-10-31 10:40:28 -07:00
pull_request__merged.json
pull_request__opened_with_preassigned_assignee.json
pull_request__opened.json
pull_request__ready_for_review.json
pull_request__review_requested_team_reviewer.json
pull_request__review_requested.json
pull_request__synchronized_with_body.json
pull_request__synchronized.json
pull_request__unassigned.json
pull_request__unlocked.json
pull_request_review__edited_empty_changes.json integrations: Prevent duplicate GitHub pull request review messages. 2024-07-31 10:42:41 -07:00
pull_request_review__empty_body.json integrations: Allow null pull request review body in GitHub Integration. 2023-06-26 11:35:14 -07:00
pull_request_review_comment.json
pull_request_review.json
push__1_commit_private_repository.json webhooks: Support filtering GitHub activity from private repositories. 2024-10-31 10:40:28 -07:00
push__1_commit_without_username.json
push__1_commit.json
push__50_commits.json
push__delete_branch.json
push__event.json
push__force_1_commit.json integrations: Add force push fixtures for GitHub Integration. 2023-05-04 14:31:25 -07:00
push__force_remove_commits.json integrations: Add force push fixtures for GitHub Integration. 2023-05-04 14:31:25 -07:00
push__local_branch_without_commits.json
push__merge_queue.json webhooks: Support filtering GitHub activity from private repositories. 2024-10-31 10:40:28 -07:00
push__multiple_committers_with_others.json
push__multiple_committers.json
push__tag.json
release__with_name.json github: Strengthen types using WildValue. 2022-05-10 13:50:20 -07:00
release.json
repository_private.json webhooks: Support filtering GitHub activity from private repositories. 2024-10-31 10:40:28 -07:00
repository_vulnerability_alert.json
repository.json webhooks: Support filtering GitHub activity from private repositories. 2024-10-31 10:40:28 -07:00
star.json
status__with_target_url.json
status.json
team__edited_description.json ci: Check that non-scripts aren’t marked executable. 2022-12-07 09:54:01 -08:00
team__edited_name.json ci: Check that non-scripts aren’t marked executable. 2022-12-07 09:54:01 -08:00
team__edited_privacy_closed.json ci: Check that non-scripts aren’t marked executable. 2022-12-07 09:54:01 -08:00
team__edited_privacy_secret.json ci: Check that non-scripts aren’t marked executable. 2022-12-07 09:54:01 -08:00
team_add.json
tier_changed.json integrations: Create incoming webhook for GitHub Sponsors. 2024-02-07 09:52:03 -08:00
watch__repository.json