Author: Ilija Tovilo (iluuu1994)
Committer: GitHub (web-flow)
Pusher: iluuu1994
Date: 2025-02-05T12:52:40+01:00

Commit: 
https://github.com/php/web-master/commit/efd0cc6c1489a62b0dfc5ba98f8be479cbc55be2
Raw diff: 
https://github.com/php/web-master/commit/efd0cc6c1489a62b0dfc5ba98f8be479cbc55be2.diff

Ignore more GH webhook events (#31)

Changed paths:
  M  public/github-webhook.php


Diff:

diff --git a/public/github-webhook.php b/public/github-webhook.php
index 3eb93d4..6224ae6 100644
--- a/public/github-webhook.php
+++ b/public/github-webhook.php
@@ -375,11 +375,21 @@ 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':
+            case 'untyped':
                 // Ignore these actions
                 break 2;
             default:

Reply via email to