Build/Test Tools: Use the correct workflow name in notifications on workflow_run.

When a workflow is triggered through a `workflow_run` event, the context is not the original workflow. The details about the original workflow are passed through the `github.event` context.

This also moves the conditional check controlling whether the Slack workflow is run into the calling workflows to prevent them from running for pull requests.

Follow up to [51921-51922,51924-51925,51934].

See #53363.
Built from https://develop.svn.wordpress.org/trunk@51937


git-svn-id: http://core.svn.wordpress.org/trunk@51526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-10-25 20:27:56 +00:00
parent fc06dda73e
commit 3867e66520

View File

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