Author: Ilija Tovilo (iluuu1994)
Committer: GitHub (web-flow)
Pusher: iluuu1994
Date: 2025-02-03T00:26:48+01:00
Commit: Ignore more GH webhook events · php/web-master@e10f0e1 · GitHub
Raw diff: https://github.com/php/web-master/commit/e10f0e1c4631ab911d0a0ca5558d7ea37f9f5694.diff
Ignore more GH webhook events
Changed paths:
M public/github-webhook.php
Diff:
diff --git a/public/github-webhook.php b/public/github-webhook.php
index 3eb93d4..3715d57 100644
--- a/public/github-webhook.php
+++ b/public/github-webhook.php
@@ -375,11 +375,20 @@ function handle_push_mail($payload) {
case 'unlabeled':
case 'edited':
case 'synchronize':
+ case 'converted_to_draft':
+ case 'locked':
+ case 'unlocked':
+ case 'enqueued':
+ case 'dequeued':
case 'milestoned':
case 'demilestoned':
case 'ready_for_review':
case 'review_requested':
case 'review_request_removed':
+ case 'auto_merge_enabled':
+ case 'auto_merge_disabled':
+ // Undocumented as of yet
+ case 'typed':
// Ignore these actions
break 2;
default: