Build/Test Tools: Post a message to #core in Slack when a workflow fails.

This adds an additional step to each GitHub Action workflow file that posts a message to #core in Slack every time a workflow run fails.

A minor test and spacing change is included in this commit in order to that messages are posted correctly and will be reverted after testing.

See #52644.
Built from https://develop.svn.wordpress.org/trunk@51511


git-svn-id: http://core.svn.wordpress.org/trunk@51122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-07-29 19:48:58 +00:00
parent ec25d0aad3
commit b5d09ecd99
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ function _get_cron_lock() {
global $wpdb; global $wpdb;
$value = 0; $value = 0;
if ( wp_using_ext_object_cache() ) { if (wp_using_ext_object_cache()) {
/* /*
* Skip local cache and force re-fetch of doing_cron transient * Skip local cache and force re-fetch of doing_cron transient
* in case another process updated the cache. * in case another process updated the cache.

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.9-alpha-51510'; $wp_version = '5.9-alpha-51511';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.