[web-master] iluuu1994-patch-2: Ignore more GH webhook events

From: Date: Sun, 02 Feb 2025 23:34:01 +0000
Subject: [web-master] iluuu1994-patch-2: Ignore more GH webhook events
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-32654@lists.php.net to get a copy of this message
Author: Ilija Tovilo (iluuu1994) Committer: GitHub (web-flow) Pusher: iluuu1994 Date: 2025-02-03T00:26:48+01:00 Commit: https://github.com/php/web-master/commit/e10f0e1c4631ab911d0a0ca5558d7ea37f9f5694 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:

« previous php.webmaster (#32654) next »