From 6a7de2d74ad0cc514dd5c1a8205e954d9626b412 Mon Sep 17 00:00:00 2001 From: desrosj Date: Sun, 5 Jun 2022 09:31:13 +0000 Subject: [PATCH] =?UTF-8?q?Build/Test=20Tools:=20Prevent=20inaccurate=20?= =?UTF-8?q?=E2=80=9Cfixed=E2=80=9D=20notifications=20in=20Slack.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When searching for previous workflow runs by branch, GitHub currently includes matches within forks. If a contributor opens a pull request from their fork with a `head_ref` matching a Core branch that triggers a workflow on `push` event, the outcomes of the workflows associated with that pull request are currently used to determine if the previous workflow run had failed. The result is a false “fixed” notifications when a commit immediately follows a failed workflow run from the pull request. This adds a check to skip any workflow runs not triggered by a `push` event to prevent these inaccurate notifications. Props SergeyBiryukov. See #55652. Built from https://develop.svn.wordpress.org/trunk@53466 git-svn-id: http://core.svn.wordpress.org/trunk@53055 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 59afd21b1f..ed1e7ba2d4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53465'; +$wp_version = '6.1-alpha-53466'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.