mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 02:49:04 +01:00
Build/Test Tools: Prevent inaccurate “fixed” notifications in Slack.
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
This commit is contained in:
parent
5a2b984cc0
commit
6a7de2d74a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user