<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[55517] branches/5.8: Build/Test Tools: Backport updates to GitHub Actions.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/55517">55517</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/55517","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>desrosj</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2023-03-10 16:07:11 +0000 (Fri, 10 Mar 2023)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Build/Test Tools: Backport updates to GitHub Actions.

This backports several changesets to GitHub Actions workflows. These changesets:

- address the deprecated notices related to save-output and set-output to ensure the workflows continue to run after these are removed.
- adds support for automatically retrying a failed workflow once.
- removes workflow files that are not applicable to the branch.
- backports some Docker environment related tooling updates for the sake of consistency across branches. 

Merges <a href="https://core.trac.wordpress.org/changeset/53736">[53736]</a>, <a href="https://core.trac.wordpress.org/changeset/53737">[53737]</a>, <a href="https://core.trac.wordpress.org/changeset/53940">[53940]</a>, <a href="https://core.trac.wordpress.org/changeset/53947">[53947]</a>, <a href="https://core.trac.wordpress.org/changeset/54039">[54039]</a>, <a href="https://core.trac.wordpress.org/changeset/54096">[54096]</a>, <a href="https://core.trac.wordpress.org/changeset/54108">[54108]</a>, <a href="https://core.trac.wordpress.org/changeset/54293">[54293]</a>, <a href="https://core.trac.wordpress.org/changeset/54313">[54313]</a>, <a href="https://core.trac.wordpress.org/changeset/54342">[54342]</a>, <a href="https://core.trac.wordpress.org/changeset/54343">[54343]</a>, <a href="https://core.trac.wordpress.org/changeset/54373">[54373]</a>, <a href="https://core.trac.wordpress.org/changeset/54511">[54511]</a>, <a href="https://core.trac.wordpress.org/changeset/54649">[54649]</a
 >, <a href="https://core.trac.wordpress.org/changeset/54650">[54650]</a>, <a href="https://core.trac.wordpress.org/changeset/54651">[54651]</a>, <a href="https://core.trac.wordpress.org/changeset/54674">[54674]</a>, <a href="https://core.trac.wordpress.org/changeset/54750">[54750]</a>, <a href="https://core.trac.wordpress.org/changeset/54852">[54852]</a>, <a href="https://core.trac.wordpress.org/changeset/55152">[55152]</a>, <a href="https://core.trac.wordpress.org/changeset/55487">[55487]</a> to the 5.8 branch.
See <a href="https://core.trac.wordpress.org/ticket/55652">#55652</a>, <a href="https://core.trac.wordpress.org/ticket/56407">#56407</a>, <a href="https://core.trac.wordpress.org/ticket/56528">#56528</a>, <a href="https://core.trac.wordpress.org/ticket/54695">#54695</a>, <a href="https://core.trac.wordpress.org/ticket/56820">#56820</a>, <a href="https://core.trac.wordpress.org/ticket/56816">#56816</a>, <a href="https://core.trac.wordpress.org/ticket/56793">#56793</a>, <a href="https://core.trac.wordpress.org/ticket/56820">#56820</a>, <a href="https://core.trac.wordpress.org/ticket/57572">#57572</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branches58env">branches/5.8/.env</a></li>
<li><a href="#branches58githubworkflowscodingstandardsyml">branches/5.8/.github/workflows/coding-standards.yml</a></li>
<li><a href="#branches58githubworkflowsendtoendtestsyml">branches/5.8/.github/workflows/end-to-end-tests.yml</a></li>
<li><a href="#branches58githubworkflowsjavascripttestsyml">branches/5.8/.github/workflows/javascript-tests.yml</a></li>
<li><a href="#branches58githubworkflowsphpcompatibilityyml">branches/5.8/.github/workflows/php-compatibility.yml</a></li>
<li><a href="#branches58githubworkflowsphpunittestsyml">branches/5.8/.github/workflows/phpunit-tests.yml</a></li>
<li><a href="#branches58githubworkflowstestnpmyml">branches/5.8/.github/workflows/test-npm.yml</a></li>
<li><a href="#branches58githubworkflowswelcomenewcontributorsyml">branches/5.8/.github/workflows/welcome-new-contributors.yml</a></li>
<li><a href="#branches58dockercomposeyml">branches/5.8/docker-compose.yml</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#branches58githubworkflowstestcoverageyml">branches/5.8/.github/workflows/test-coverage.yml</a></li>
<li><a href="#branches58githubworkflowstestoldbranchesyml">branches/5.8/.github/workflows/test-old-branches.yml</a></li>
</ul>

<h3>Property Changed</h3>
<ul>
<li><a href="#branches58">branches/5.8/</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<span class="cx" style="display: block; padding: 0 10px">Index: branches/5.8
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- branches/5.8 2023-03-10 15:52:41 UTC (rev 55516)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ branches/5.8  2023-03-10 16:07:11 UTC (rev 55517)
</ins><a id="branches58"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: branches/5.8</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnmergeinfo"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: svn:mergeinfo</h4></div>
<span class="cx" style="display: block; padding: 0 10px"> /branches/4.9:43557,43622
</span><span class="cx" style="display: block; padding: 0 10px"> /branches/5.0:43681-43682,43684-43688,43719-43720,43723,43726-43727,43729-43731,43734-43744,43747,43751-43754,43758,43760-43765,43767-43770,43772,43774-43781,43783,43785,43790-43806,43808-43821,43825,43828,43830-43834,43836-43843,43846-43863,43867-43889,43891-43894,43897-43905,43908-43909,43911-43929,43931-43942,43946-43947,43949-43956,43959-43964,43967-43969,43988,43994,44014,44017,44047,44183,44185,44187-44206,44208-44213,44231-44232,44235,44248,44284,44287-44288
</span><span class="cx" style="display: block; padding: 0 10px"> /branches/5.5:49373-49379,49381
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/trunk:51274,51277,51279-51284,51286-51289,51292-51294,51296,51304,51307,51309,51321-51324,51332,51343-51344,51348-51349,51351-51353,51355-51356,51359,51362,51369-51371,51375,51377,51380,51383,51387-51388,51390,51400,51402,51408-51410,51413-51414,51418,51421,51423,51426,51431-51432,51435,51440,51442-51443,51455,51459,51467-51469,51471-51474,51482-51483,51485-51486,51497-51498,51510,51525,51538-51540,51559-51560,51595,51611,51631-51632,51637,51649,51653,51673-51674,51682-51683,51686,51688-51689,51693,51700-51701,51703-51704,51713,51716-51717,51719,51740,51748,51768,51810-51813,51828,51883,51921,51924-51925,51937,51941,51982,52002,52130,52183,52233,52240,52412,52454-52457,52844,53112,53581-53582,53592,53665,53958-53960,54217,54322,54397,54521-54530,54541,54968,55350
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/trunk:51274,51277,51279-51284,51286-51289,51292-51294,51296,51304,51307,51309,51321-51324,51332,51343-51344,51348-51349,51351-51353,51355-51356,51359,51362,51369-51371,51375,51377,51380,51383,51387-51388,51390,51400,51402,51408-51410,51413-51414,51418,51421,51423,51426,51431-51432,51435,51440,51442-51443,51455,51459,51467-51469,51471-51474,51482-51483,51485-51486,51497-51498,51510,51525,51538-51540,51559-51560,51595,51611,51631-51632,51637,51649,51653,51673-51674,51682-51683,51686,51688-51689,51693,51700-51701,51703-51704,51713,51716-51717,51719,51740,51748,51768,51810-51813,51828,51883,51921,51924-51925,51937,51941,51982,52002,52130,52183,52233,52240,52412,52454-52457,52844,53112,53581-53582,53592,53665,53736-53737,53940,53947,53958-53960,54039,54096,54108,54217,54293,54313,54322,54342-54343,54373,54397,54511,54521-54530,54541,54649-54651,54674,54750,54852,54968,55152,55350,55487
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="branches58env"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.8/.env</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.8/.env 2023-03-10 15:52:41 UTC (rev 55516)
+++ branches/5.8/.env   2023-03-10 16:07:11 UTC (rev 55517)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -57,8 +57,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> #
</span><span class="cx" style="display: block; padding: 0 10px"> # Defaults to 5.7 with the assumption that LOCAL_DB_TYPE is set to `mysql` above.
</span><span class="cx" style="display: block; padding: 0 10px"> #
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-# When using `mysql`, see https://hub.docker.com/_/mysql/ for valid versions.
-# When using `mariadb`, see https://hub.docker.com/_/mariadb for valid versions.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+# When using `mysql`, see https://hub.docker.com/r/amd64/mysql for valid versions.
+# When using `mariadb`, see https://hub.docker.com/r/amd64/mariadb for valid versions.
</ins><span class="cx" style="display: block; padding: 0 10px"> ##
</span><span class="cx" style="display: block; padding: 0 10px"> LOCAL_DB_VERSION=5.7
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="branches58githubworkflowscodingstandardsyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.8/.github/workflows/coding-standards.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.8/.github/workflows/coding-standards.yml       2023-03-10 15:52:41 UTC (rev 55516)
+++ branches/5.8/.github/workflows/coding-standards.yml 2023-03-10 16:07:11 UTC (rev 55517)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,8 +9,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">       - '3.[89]'
</span><span class="cx" style="display: block; padding: 0 10px">       - '[4-9].[0-9]'
</span><span class="cx" style="display: block; padding: 0 10px">     tags:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - '3.[89]*'
-      - '[4-9].[0-9]*'
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - '[0-9]+.[0-9]'
+      - '[0-9]+.[0-9].[0-9]+'
+      - '!3.7.[0-9]+'
</ins><span class="cx" style="display: block; padding: 0 10px">   pull_request:
</span><span class="cx" style="display: block; padding: 0 10px">     branches:
</span><span class="cx" style="display: block; padding: 0 10px">       - trunk
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,7 +21,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">       # Any change to a PHP or JavaScript file should run checks.
</span><span class="cx" style="display: block; padding: 0 10px">       - '**.js'
</span><span class="cx" style="display: block; padding: 0 10px">       - '**.php'
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      # These files configure NPM. Changes could affect the outcome.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      # These files configure npm. Changes could affect the outcome.
</ins><span class="cx" style="display: block; padding: 0 10px">       - 'package*.json'
</span><span class="cx" style="display: block; padding: 0 10px">       # These files configure Composer. Changes could affect the outcome.
</span><span class="cx" style="display: block; padding: 0 10px">       - 'composer.*'
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -63,10 +64,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">     steps:
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Checkout repository
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Set up PHP
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: shivammathur/setup-php@3eda58347216592f618bb1dff277810b6698e4ca # v2.19.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><span class="cx" style="display: block; padding: 0 10px">           php-version: '7.4'
</span><span class="cx" style="display: block; padding: 0 10px">           coverage: none
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -78,9 +79,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">           composer --version
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Install Composer dependencies
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: ramsey/composer-install@f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.0
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # v2.2.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-          composer-options: "--no-progress --no-ansi --no-interaction"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          composer-options: "--no-progress --no-ansi"
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Make Composer packages available globally
</span><span class="cx" style="display: block; padding: 0 10px">         run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -104,10 +105,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Performs the following steps:
</span><span class="cx" style="display: block; padding: 0 10px">   # - Checks out the repository.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Logs debug information about the GitHub Action runner.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  # - Installs NodeJS.
-  # - Sets up caching for NPM.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # - Installs Node.js.
</ins><span class="cx" style="display: block; padding: 0 10px">   # - Logs updated debug information.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  # _ Installs NPM dependencies.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # _ Installs npm dependencies.
</ins><span class="cx" style="display: block; padding: 0 10px">   # - Run the WordPress JSHint checks.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Ensures version-controlled files are not modified or deleted.
</span><span class="cx" style="display: block; padding: 0 10px">   jshint:
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -120,7 +120,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">     steps:
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Checkout repository
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Log debug information
</span><span class="cx" style="display: block; padding: 0 10px">         run: |
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -129,8 +129,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">           git --version
</span><span class="cx" style="display: block; padding: 0 10px">           svn --version
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - name: Install NodeJS
-        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - name: Install Node.js
+        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><span class="cx" style="display: block; padding: 0 10px">           node-version-file: '.nvmrc'
</span><span class="cx" style="display: block; padding: 0 10px">           cache: npm
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -161,3 +161,34 @@
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+  failed-workflow:
+    name: Failed workflow tasks
+    runs-on: ubuntu-latest
+    needs: [ phpcs, jshint, slack-notifications ]
+    if: |
+      always() &&
+      github.repository == 'WordPress/wordpress-develop' &&
+      github.event_name != 'pull_request' &&
+      github.run_attempt < 2 &&
+      (
+        needs.phpcs.result == 'cancelled' || needs.phpcs.result == 'failure' ||
+        needs.jshint.result == 'cancelled' || needs.jshint.result == 'failure'
+      )
+
+    steps:
+      - name: Dispatch workflow run
+        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
+        with:
+          retries: 2
+          retry-exempt-status-codes: 418
+          script: |
+            github.rest.actions.createWorkflowDispatch({
+              owner: context.repo.owner,
+              repo: context.repo.repo,
+              workflow_id: 'failed-workflow.yml',
+              ref: 'trunk',
+              inputs: {
+                run_id: '${{ github.run_id }}'
+              }
+            });
</ins></span></pre></div>
<a id="branches58githubworkflowsendtoendtestsyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.8/.github/workflows/end-to-end-tests.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.8/.github/workflows/end-to-end-tests.yml       2023-03-10 15:52:41 UTC (rev 55516)
+++ branches/5.8/.github/workflows/end-to-end-tests.yml 2023-03-10 16:07:11 UTC (rev 55517)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,8 +8,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">       - '5.[3-9]'
</span><span class="cx" style="display: block; padding: 0 10px">       - '[6-9].[0-9]'
</span><span class="cx" style="display: block; padding: 0 10px">     tags:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - '5.[3-9]*'
-      - '[6-9].[0-9]*'
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - '[0-9]+.[0-9]'
+      - '[0-9]+.[0-9].[0-9]+'
+      - '![34].[0-9].[0-9]+'
+      - '!5.[0-2].[0-9]+'
</ins><span class="cx" style="display: block; padding: 0 10px">   pull_request:
</span><span class="cx" style="display: block; padding: 0 10px">     branches:
</span><span class="cx" style="display: block; padding: 0 10px">       - trunk
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,9 +36,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # - Sets environment variables.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Checks out the repository.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Logs debug information about the GitHub Action runner.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  # - Installs NodeJS.
-  # - Sets up caching for NPM.
-  # _ Installs NPM dependencies.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # - Installs Node.js.
+  # _ Installs npm dependencies.
</ins><span class="cx" style="display: block; padding: 0 10px">   # - Builds WordPress to run from the `build` directory.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Starts the WordPress Docker container.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Logs general debug information.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -58,7 +59,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">           echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Checkout repository
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Log debug information
</span><span class="cx" style="display: block; padding: 0 10px">         run: |
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -71,8 +72,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">           php -i
</span><span class="cx" style="display: block; padding: 0 10px">           locale -a
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - name: Install NodeJS
-        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - name: Install Node.js
+        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><span class="cx" style="display: block; padding: 0 10px">           node-version-file: '.nvmrc'
</span><span class="cx" style="display: block; padding: 0 10px">           cache: npm
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -129,3 +130,33 @@
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+  failed-workflow:
+    name: Failed workflow tasks
+    runs-on: ubuntu-latest
+    needs: [ e2e-tests, slack-notifications ]
+    if: |
+      always() &&
+      github.repository == 'WordPress/wordpress-develop' &&
+      github.event_name != 'pull_request' &&
+      github.run_attempt < 2 &&
+      (
+        needs.e2e-tests.result == 'cancelled' || needs.e2e-tests.result == 'failure'
+      )
+
+    steps:
+      - name: Dispatch workflow run
+        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
+        with:
+          retries: 2
+          retry-exempt-status-codes: 418
+          script: |
+            github.rest.actions.createWorkflowDispatch({
+              owner: context.repo.owner,
+              repo: context.repo.repo,
+              workflow_id: 'failed-workflow.yml',
+              ref: 'trunk',
+              inputs: {
+                run_id: '${{ github.run_id }}'
+              }
+            });
</ins></span></pre></div>
<a id="branches58githubworkflowsjavascripttestsyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.8/.github/workflows/javascript-tests.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.8/.github/workflows/javascript-tests.yml       2023-03-10 15:52:41 UTC (rev 55516)
+++ branches/5.8/.github/workflows/javascript-tests.yml 2023-03-10 16:07:11 UTC (rev 55517)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,8 +8,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">       - '3.[89]'
</span><span class="cx" style="display: block; padding: 0 10px">       - '[4-9].[0-9]'
</span><span class="cx" style="display: block; padding: 0 10px">     tags:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - '3.[89]*'
-      - '[4-9].[0-9]*'
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - '[0-9]+.[0-9]'
+      - '[0-9]+.[0-9].[0-9]+'
+      - '!3.7.[0-9]+'
</ins><span class="cx" style="display: block; padding: 0 10px">   pull_request:
</span><span class="cx" style="display: block; padding: 0 10px">     branches:
</span><span class="cx" style="display: block; padding: 0 10px">       - trunk
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,7 +19,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">     paths:
</span><span class="cx" style="display: block; padding: 0 10px">       # Any change to a JavaScript file should run tests.
</span><span class="cx" style="display: block; padding: 0 10px">       - '**.js'
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      # These files configure NPM. Changes could affect the outcome.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      # These files configure npm. Changes could affect the outcome.
</ins><span class="cx" style="display: block; padding: 0 10px">       - 'package*.json'
</span><span class="cx" style="display: block; padding: 0 10px">       # This file configures ESLint. Changes could affect the outcome.
</span><span class="cx" style="display: block; padding: 0 10px">       - '.eslintignore'
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -43,10 +44,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Performs the following steps:
</span><span class="cx" style="display: block; padding: 0 10px">   # - Checks out the repository.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Logs debug information about the GitHub Action runner.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  # - Installs NodeJS.
-  # - Sets up caching for NPM.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # - Installs Node.js.
</ins><span class="cx" style="display: block; padding: 0 10px">   # - Logs updated debug information.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  # _ Installs NPM dependencies.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # _ Installs npm dependencies.
</ins><span class="cx" style="display: block; padding: 0 10px">   # - Run the WordPress QUnit tests.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Ensures version-controlled files are not modified or deleted.
</span><span class="cx" style="display: block; padding: 0 10px">   test-js:
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -57,7 +57,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">     steps:
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Checkout repository
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Log debug information
</span><span class="cx" style="display: block; padding: 0 10px">         run: |
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -66,8 +66,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">           git --version
</span><span class="cx" style="display: block; padding: 0 10px">           svn --version
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - name: Install NodeJS
-        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - name: Install Node.js
+        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><span class="cx" style="display: block; padding: 0 10px">           node-version-file: '.nvmrc'
</span><span class="cx" style="display: block; padding: 0 10px">           cache: npm
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -98,3 +98,33 @@
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+  failed-workflow:
+    name: Failed workflow tasks
+    runs-on: ubuntu-latest
+    needs: [ test-js, slack-notifications ]
+    if: |
+      always() &&
+      github.repository == 'WordPress/wordpress-develop' &&
+      github.event_name != 'pull_request' &&
+      github.run_attempt < 2 &&
+      (
+        needs.test-js.result == 'cancelled' || needs.test-js.result == 'failure'
+      )
+
+    steps:
+      - name: Dispatch workflow run
+        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
+        with:
+          retries: 2
+          retry-exempt-status-codes: 418
+          script: |
+            github.rest.actions.createWorkflowDispatch({
+              owner: context.repo.owner,
+              repo: context.repo.repo,
+              workflow_id: 'failed-workflow.yml',
+              ref: 'trunk',
+              inputs: {
+                run_id: '${{ github.run_id }}'
+              }
+            });
</ins></span></pre></div>
<a id="branches58githubworkflowsphpcompatibilityyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.8/.github/workflows/php-compatibility.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.8/.github/workflows/php-compatibility.yml      2023-03-10 15:52:41 UTC (rev 55516)
+++ branches/5.8/.github/workflows/php-compatibility.yml        2023-03-10 16:07:11 UTC (rev 55517)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,8 +8,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">       - '5.[5-9]'
</span><span class="cx" style="display: block; padding: 0 10px">       - '[6-9].[0-9]'
</span><span class="cx" style="display: block; padding: 0 10px">     tags:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - '5.[5-9]*'
-      - '[6-9].[0-9]*'
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - '[0-9]+.[0-9]'
+      - '[0-9]+.[0-9].[0-9]+'
+      - '![34].[0-9].[0-9]+'
+      - '!5.[0-4].[0-9]+'
</ins><span class="cx" style="display: block; padding: 0 10px">   pull_request:
</span><span class="cx" style="display: block; padding: 0 10px">     branches:
</span><span class="cx" style="display: block; padding: 0 10px">       - trunk
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -57,10 +59,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">     steps:
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Checkout repository
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Set up PHP
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: shivammathur/setup-php@3eda58347216592f618bb1dff277810b6698e4ca # v2.19.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><span class="cx" style="display: block; padding: 0 10px">           php-version: '7.4'
</span><span class="cx" style="display: block; padding: 0 10px">           coverage: none
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -71,10 +73,22 @@
</span><span class="cx" style="display: block; padding: 0 10px">           php --version
</span><span class="cx" style="display: block; padding: 0 10px">           composer --version
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      # This date is used to ensure that the PHP compatibility cache is cleared at least once every week.
+      # http://man7.org/linux/man-pages/man1/date.1.html
+      - name: "Get last Monday's date"
+        id: get-date
+        run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> $GITHUB_OUTPUT
+
+      - name: Cache PHP compatibility scan cache
+        uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3.2.6
+        with:
+          path: .cache/phpcompat.json
+          key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcompat-cache-${{ hashFiles('**/composer.json', 'phpcompat.xml.dist') }}
+
</ins><span class="cx" style="display: block; padding: 0 10px">       - name: Install Composer dependencies
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: ramsey/composer-install@f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.0
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # v2.2.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-          composer-options: "--no-progress --no-ansi --no-interaction"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          composer-options: "--no-progress --no-ansi"
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Make Composer packages available globally
</span><span class="cx" style="display: block; padding: 0 10px">         run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -100,3 +114,33 @@
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+  failed-workflow:
+    name: Failed workflow tasks
+    runs-on: ubuntu-latest
+    needs: [ php-compatibility, slack-notifications ]
+    if: |
+      always() &&
+      github.repository == 'WordPress/wordpress-develop' &&
+      github.event_name != 'pull_request' &&
+      github.run_attempt < 2 &&
+      (
+        needs.php-compatibility.result == 'cancelled' || needs.php-compatibility.result == 'failure'
+      )
+
+    steps:
+      - name: Dispatch workflow run
+        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
+        with:
+          retries: 2
+          retry-exempt-status-codes: 418
+          script: |
+            github.rest.actions.createWorkflowDispatch({
+              owner: context.repo.owner,
+              repo: context.repo.repo,
+              workflow_id: 'failed-workflow.yml',
+              ref: 'trunk',
+              inputs: {
+                run_id: '${{ github.run_id }}'
+              }
+            });
</ins></span></pre></div>
<a id="branches58githubworkflowsphpunittestsyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.8/.github/workflows/phpunit-tests.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.8/.github/workflows/phpunit-tests.yml  2023-03-10 15:52:41 UTC (rev 55516)
+++ branches/5.8/.github/workflows/phpunit-tests.yml    2023-03-10 16:07:11 UTC (rev 55517)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,8 +7,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">       - '3.[7-9]'
</span><span class="cx" style="display: block; padding: 0 10px">       - '[4-9].[0-9]'
</span><span class="cx" style="display: block; padding: 0 10px">     tags:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - '3.[7-9]*'
-      - '[4-9].[0-9]*'
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - '[0-9]+.[0-9]'
+      - '[0-9]+.[0-9].[0-9]+'
</ins><span class="cx" style="display: block; padding: 0 10px">   pull_request:
</span><span class="cx" style="display: block; padding: 0 10px">     branches:
</span><span class="cx" style="display: block; padding: 0 10px">       - trunk
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,7 +28,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> env:
</span><span class="cx" style="display: block; padding: 0 10px">   PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  # Controls which NPM script to use for running PHPUnit tests. Options ar `php` and `php-composer`.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # Controls which npm script to use for running PHPUnit tests. Options ar `php` and `php-composer`.
</ins><span class="cx" style="display: block; padding: 0 10px">   PHPUNIT_SCRIPT: php
</span><span class="cx" style="display: block; padding: 0 10px">   LOCAL_PHP_MEMCACHED: ${{ false }}
</span><span class="cx" style="display: block; padding: 0 10px">   SLOW_TESTS: 'external-http,media,restapi'
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39,9 +39,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Performs the following steps:
</span><span class="cx" style="display: block; padding: 0 10px">   # - Sets environment variables.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Sets up the environment variables needed for testing with memcached (if desired).
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  # - Installs NodeJS.
-  # - Sets up caching for NPM.
-  # - Installs NPM dependencies
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # - Installs Node.js.
+  # - Installs npm dependencies
</ins><span class="cx" style="display: block; padding: 0 10px">   # - Configures caching for Composer.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Installs Composer dependencies.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Logs Docker debug information (about the Docker installation within the runner).
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -109,27 +108,27 @@
</span><span class="cx" style="display: block; padding: 0 10px">           echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Checkout repository
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - name: Install NodeJS
-        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - name: Install Node.js
+        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><span class="cx" style="display: block; padding: 0 10px">           node-version-file: '.nvmrc'
</span><span class="cx" style="display: block; padding: 0 10px">           cache: npm
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - name: Install Dependencies
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - name: Install npm dependencies
</ins><span class="cx" style="display: block; padding: 0 10px">         run: npm ci
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Get composer cache directory
</span><span class="cx" style="display: block; padding: 0 10px">         id: composer-cache
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        run: echo "::set-output name=dir::$(composer config cache-files-dir)"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        run: echo "composer_dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Cache Composer dependencies
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # v3.0.4
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
</ins><span class="cx" style="display: block; padding: 0 10px">         env:
</span><span class="cx" style="display: block; padding: 0 10px">           cache-name: cache-composer-dependencies
</span><span class="cx" style="display: block; padding: 0 10px">         with:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-          path: ${{ steps.composer-cache.outputs.dir }}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+          path: ${{ steps.composer-cache.outputs.composer_dir }}
</ins><span class="cx" style="display: block; padding: 0 10px">           key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Install Composer dependencies
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -228,7 +227,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Checkout the WordPress Test Reporter
</span><span class="cx" style="display: block; padding: 0 10px">         if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && matrix.report }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><span class="cx" style="display: block; padding: 0 10px">           repository: 'WordPress/phpunit-test-runner'
</span><span class="cx" style="display: block; padding: 0 10px">           path: 'test-runner'
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -251,3 +250,33 @@
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+  failed-workflow:
+    name: Failed workflow tasks
+    runs-on: ubuntu-latest
+    needs: [ test-php, slack-notifications ]
+    if: |
+      always() &&
+      github.repository == 'WordPress/wordpress-develop' &&
+      github.event_name != 'pull_request' &&
+      github.run_attempt < 2 &&
+      (
+        needs.test-php.result == 'cancelled' || needs.test-php.result == 'failure'
+      )
+
+    steps:
+      - name: Dispatch workflow run
+        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
+        with:
+          retries: 2
+          retry-exempt-status-codes: 418
+          script: |
+            github.rest.actions.createWorkflowDispatch({
+              owner: context.repo.owner,
+              repo: context.repo.repo,
+              workflow_id: 'failed-workflow.yml',
+              ref: 'trunk',
+              inputs: {
+                run_id: '${{ github.run_id }}'
+              }
+            });
</ins></span></pre></div>
<a id="branches58githubworkflowstestcoverageyml"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: branches/5.8/.github/workflows/test-coverage.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.8/.github/workflows/test-coverage.yml  2023-03-10 15:52:41 UTC (rev 55516)
+++ branches/5.8/.github/workflows/test-coverage.yml    2023-03-10 16:07:11 UTC (rev 55517)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,173 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-name: Code Coverage Report
-
-on:
-  # Verify
-  push:
-    branches:
-      - master
-      - trunk
-    paths:
-      - '.github/workflows/test-coverage.yml'
-      - 'phpunit.xml.dist'
-      - 'tests/phpunit/multisite.xml'
-  # Once daily at 00:00 UTC.
-  schedule:
-    - cron: '0 0 * * *'
-  # Allow manually triggering the workflow.
-  workflow_dispatch:
-
-env:
-  PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }}
-  # Controls which NPM script to use for running PHPUnit tests. Options ar `php` and `php-composer`.
-  PHPUNIT_SCRIPT: php
-  LOCAL_PHP: '7.4-fpm'
-  LOCAL_PHP_XDEBUG: true
-  LOCAL_PHP_MEMCACHED: ${{ false }}
-
-jobs:
-  # Sets up WordPress for testing or development use.
-  #
-  # Performs the following steps:
-  # - Set environment variables.
-  # - Checks out the repository.
-  # - Checks out the WordPress Importer plugin (needed for the Core PHPUnit tests).
-  # - Logs debug information about the runner container.
-  # - Installs NodeJS 14.
-  # - Sets up caching for NPM.
-  # _ Installs NPM dependencies using install-changed to hash the `package.json` file.
-  # - Logs Docker debug information (about the Docker installation within the runner).
-  # - Starts the WordPress Docker container.
-  # - Logs debug general information.
-  # - Logs the running Docker containers.
-  # - Logs WordPress Docker container debug information.
-  # - Logs debug information about what's installed within the WordPress Docker containers.
-  # - Install WordPress within the Docker container.
-  # - Run the PHPUnit tests as a single site.
-  # - Ensures version-controlled files are not modified or deleted.
-  # - Upload the single site code coverage report to Codecov.io.
-  # - Run the PHPUnit tests as a multisite.
-  # - Ensures version-controlled files are not modified or deleted.
-  # - Upload the multisite code coverage report to Codecov.io.
-  test-coverage-report:
-    name: ${{ matrix.multisite && 'Multisite' || 'Single site' }} report
-    runs-on: ubuntu-latest
-    if: ${{ github.repository == 'WordPress/wordpress-develop' }}
-    strategy:
-      fail-fast: false
-      matrix:
-        multisite: [ false, true ]
-
-    steps:
-      - name: Configure environment variables
-        run: |
-          echo "PHP_FPM_UID=$(id -u)" >> $GITHUB_ENV
-          echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
-
-      - name: Checkout repository
-        uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
-
-      - name: Log debug information
-        run: |
-          echo "$GITHUB_REF"
-          echo "$GITHUB_EVENT_NAME"
-          npm --version
-          node --version
-          curl --version
-          git --version
-          svn --version
-          php --version
-          php -i
-          locale -a
-
-      - name: Install NodeJS
-        uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.5
-        with:
-          node-version: 14
-
-      - name: Cache NodeJS modules
-        uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4
-        env:
-          cache-name: cache-node-modules
-        with:
-          # npm cache files are stored in `~/.npm` on Linux/macOS
-          path: ~/.npm
-          key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
-
-      - name: Install Dependencies
-        run: npm ci
-
-      - name: Get composer cache directory
-        id: composer-cache
-        run: echo "::set-output name=dir::$(composer config cache-files-dir)"
-
-      - name: Cache Composer dependencies
-        uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4
-        env:
-          cache-name: cache-composer-dependencies
-        with:
-          path: ${{ steps.composer-cache.outputs.dir }}
-          key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
-
-      - name: Install Composer dependencies
-        run: |
-          docker-compose run --rm php composer --version
-          docker-compose run --rm php composer install
-
-      - name: Docker debug information
-        run: |
-          docker -v
-          docker-compose -v
-
-      - name: Start Docker environment
-        run: |
-          npm run env:start
-
-      - name: General debug information
-        run: |
-          npm --version
-          node --version
-          curl --version
-          git --version
-          svn --version
-
-      - name: Log running Docker containers
-        run: docker ps -a
-
-      - name: WordPress Docker container debug information
-        run: |
-          docker-compose run --rm mysql mysql --version
-          docker-compose run --rm php php --version
-          docker-compose run --rm php php -m
-          docker-compose run --rm php php -i
-          docker-compose run --rm php locale -a
-
-      - name: Install WordPress
-        run: npm run env:install
-
-      - name: Run tests as a single site
-        if: ${{ ! matrix.multisite }}
-        run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c phpunit.xml.dist --coverage-clover wp-code-coverage-single-clover-${{ github.sha }}.xml
-
-      - name: Ensure version-controlled files are not modified during the tests
-        run: git diff --exit-code
-
-      - name: Upload single site report to Codecov
-        if: ${{ ! matrix.multisite }}
-        uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 # v1.2.1
-        with:
-          file: wp-code-coverage-single-clover-${{ github.sha }}.xml
-          flags: single,php
-
-      - name: Run tests as a multisite install
-        if: ${{ matrix.multisite }}
-        run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c tests/phpunit/multisite.xml --coverage-clover wp-code-coverage-multisite-clover-${{ github.sha }}.xml
-
-      - name: Ensure version-controlled files are not modified during the tests
-        run: git diff --exit-code
-
-      - name: Upload multisite report to Codecov
-        if: ${{ matrix.multisite }}
-        uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 # v1.2.1
-        with:
-          file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml
-          flags: multisite,php
</del></span></pre></div>
<a id="branches58githubworkflowstestnpmyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.8/.github/workflows/test-npm.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.8/.github/workflows/test-npm.yml       2023-03-10 15:52:41 UTC (rev 55516)
+++ branches/5.8/.github/workflows/test-npm.yml 2023-03-10 16:07:11 UTC (rev 55517)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,4 +1,4 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-name: Test NPM
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+name: Test npm
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> on:
</span><span class="cx" style="display: block; padding: 0 10px">   push:
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,6 +6,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">       - trunk
</span><span class="cx" style="display: block; padding: 0 10px">       - '3.[7-9]'
</span><span class="cx" style="display: block; padding: 0 10px">       - '[4-9].[0-9]'
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    tags:
+      - '[0-9]+.[0-9]'
+      - '[0-9]+.[0-9].[0-9]+'
</ins><span class="cx" style="display: block; padding: 0 10px">   pull_request:
</span><span class="cx" style="display: block; padding: 0 10px">     branches:
</span><span class="cx" style="display: block; padding: 0 10px">       - trunk
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,11 +15,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">       - '3.[7-9]'
</span><span class="cx" style="display: block; padding: 0 10px">       - '[4-9].[0-9]'
</span><span class="cx" style="display: block; padding: 0 10px">     paths:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      # These files configure NPM. Changes could affect the outcome.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      # These files configure npm. Changes could affect the outcome.
</ins><span class="cx" style="display: block; padding: 0 10px">       - 'package*.json'
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      # JavaScript files are built using NPM.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      # JavaScript files are built using npm.
</ins><span class="cx" style="display: block; padding: 0 10px">       - '**.js'
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      # CSS and SCSS files are built using NPM.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      # CSS and SCSS files are built using npm.
</ins><span class="cx" style="display: block; padding: 0 10px">       - '**.scss'
</span><span class="cx" style="display: block; padding: 0 10px">       - '**.css'
</span><span class="cx" style="display: block; padding: 0 10px">       # Changes to workflow files should always verify all workflows are successful.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,14 +37,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">   PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }}
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> jobs:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  # Verifies that installing NPM dependencies and building WordPress works as expected.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # Verifies that installing npm dependencies and building WordPress works as expected.
</ins><span class="cx" style="display: block; padding: 0 10px">   #
</span><span class="cx" style="display: block; padding: 0 10px">   # Performs the following steps:
</span><span class="cx" style="display: block; padding: 0 10px">   # - Checks out the repository.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Logs debug information about the GitHub Action runner.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  # - Installs NodeJS.
-  # - Sets up caching for NPM.
-  # _ Installs NPM dependencies.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # - Installs Node.js.
+  # _ Installs npm dependencies.
</ins><span class="cx" style="display: block; padding: 0 10px">   # - Builds WordPress to run from the `build` directory.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Cleans up after building WordPress to the `build` directory.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Ensures version-controlled files are not modified or deleted.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -49,7 +51,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # - Cleans up after building WordPress to the `src` directory.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Ensures version-controlled files are not modified or deleted.
</span><span class="cx" style="display: block; padding: 0 10px">   test-npm:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    name: Test NPM on ${{ matrix.os }}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    name: Test npm on ${{ matrix.os }}
</ins><span class="cx" style="display: block; padding: 0 10px">     runs-on: ${{ matrix.os }}
</span><span class="cx" style="display: block; padding: 0 10px">     timeout-minutes: 20
</span><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -60,7 +62,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">     steps:
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Checkout repository
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Log debug information
</span><span class="cx" style="display: block; padding: 0 10px">         run: |
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -70,8 +72,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">           git --version
</span><span class="cx" style="display: block; padding: 0 10px">           svn --version
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - name: Install NodeJS
-        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - name: Install Node.js
+        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><span class="cx" style="display: block; padding: 0 10px">           node-version-file: '.nvmrc'
</span><span class="cx" style="display: block; padding: 0 10px">           cache: npm
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -88,26 +90,20 @@
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Ensure version-controlled files are not modified or deleted during building and cleaning
</span><span class="cx" style="display: block; padding: 0 10px">         run: git diff --exit-code
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - name: Build WordPress in /src
-        run: npm run build:dev
-
-      - name: Clean after building in /src
-        run: npm run grunt clean -- --dev
-
-      - name: Ensure version-controlled files are not modified or deleted during building and cleaning
-        run: git diff --exit-code
-
-  # Verifies that installing NPM dependencies and building WordPress works as expected on MacOS.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # Verifies that installing npm dependencies and building WordPress works as expected on MacOS.
</ins><span class="cx" style="display: block; padding: 0 10px">   #
</span><span class="cx" style="display: block; padding: 0 10px">   # This is separate from the job above in order to use stricter conditions about when to run.
</span><span class="cx" style="display: block; padding: 0 10px">   # This avoids unintentionally consuming excessive minutes, as MacOS jobs consume minutes at a 10x rate.
</span><span class="cx" style="display: block; padding: 0 10px">   #
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # The `matrix` and `runner` contexts are not available for use within `if` expressions. So there is
+  # currently no way to determine the OS being used on a given job.
+  # See https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability.
+  #
</ins><span class="cx" style="display: block; padding: 0 10px">   # Performs the following steps:
</span><span class="cx" style="display: block; padding: 0 10px">   # - Checks out the repository.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Logs debug information about the GitHub Action runner.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  # - Installs NodeJS.
-  # - Sets up caching for NPM.
-  # _ Installs NPM dependencies.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  # - Installs Node.js.
+  # _ Installs npm dependencies.
</ins><span class="cx" style="display: block; padding: 0 10px">   # - Builds WordPress to run from the `build` directory.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Cleans up after building WordPress to the `build` directory.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Ensures version-controlled files are not modified or deleted.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -115,13 +111,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # - Cleans up after building WordPress to the `src` directory.
</span><span class="cx" style="display: block; padding: 0 10px">   # - Ensures version-controlled files are not modified or deleted.
</span><span class="cx" style="display: block; padding: 0 10px">   test-npm-macos:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    name: Test NPM on MacOS
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    name: Test npm on MacOS
</ins><span class="cx" style="display: block; padding: 0 10px">     runs-on: macos-latest
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    timeout-minutes: 20
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    timeout-minutes: 30
</ins><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' }}
</span><span class="cx" style="display: block; padding: 0 10px">     steps:
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Checkout repository
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">       - name: Log debug information
</span><span class="cx" style="display: block; padding: 0 10px">         run: |
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -131,8 +127,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">           git --version
</span><span class="cx" style="display: block; padding: 0 10px">           svn --version
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - name: Install NodeJS
-        uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - name: Install Node.js
+        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><span class="cx" style="display: block; padding: 0 10px">           node-version-file: '.nvmrc'
</span><span class="cx" style="display: block; padding: 0 10px">           cache: npm
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -170,3 +166,34 @@
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
</span><span class="cx" style="display: block; padding: 0 10px">       SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+  failed-workflow:
+    name: Failed workflow tasks
+    runs-on: ubuntu-latest
+    needs: [ test-npm, test-npm-macos, slack-notifications ]
+    if: |
+      always() &&
+      github.repository == 'WordPress/wordpress-develop' &&
+      github.event_name != 'pull_request' &&
+      github.run_attempt < 2 &&
+      (
+        needs.test-npm.result == 'cancelled' || needs.test-npm.result == 'failure' ||
+        needs.test-npm-macos.result == 'cancelled' || needs.test-npm-macos.result == 'failure'
+      )
+
+    steps:
+      - name: Dispatch workflow run
+        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
+        with:
+          retries: 2
+          retry-exempt-status-codes: 418
+          script: |
+            github.rest.actions.createWorkflowDispatch({
+              owner: context.repo.owner,
+              repo: context.repo.repo,
+              workflow_id: 'failed-workflow.yml',
+              ref: 'trunk',
+              inputs: {
+                run_id: '${{ github.run_id }}'
+              }
+            });
</ins></span></pre></div>
<a id="branches58githubworkflowstestoldbranchesyml"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: branches/5.8/.github/workflows/test-old-branches.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.8/.github/workflows/test-old-branches.yml      2023-03-10 15:52:41 UTC (rev 55516)
+++ branches/5.8/.github/workflows/test-old-branches.yml        2023-03-10 16:07:11 UTC (rev 55517)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,69 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-name: Test old branches
-
-on:
-  # Verify the workflow is successful when this file is updated.
-  push:
-    branches:
-      - master
-      - trunk
-    paths:
-      - '.github/workflows/test-old-branches.yml'
-  # Run twice a month on the 1st and 15th at 00:00 UTC.
-  schedule:
-    - cron: '0 0 1 * *'
-    - cron: '0 0 15 * *'
-
-jobs:
-  dispatch-workflows-for-old-branches:
-    name: ${{ matrix.workflow }} for ${{ matrix.branch }}
-    runs-on: ubuntu-latest
-    if: ${{ github.repository == 'WordPress/wordpress-develop' }}
-    strategy:
-      fail-fast: false
-      matrix:
-        workflow: [
-            'coding-standards.yml',
-            'javascript-tests.yml',
-            'phpunit-tests.yml',
-            'test-npm.yml'
-        ]
-        branch: [
-            '5.7', '5.6', '5.5', '5.4', '5.3', '5.2', '5.1', '5.0',
-            '4.9', '4.8', '4.7', '4.6', '4.5', '4.4', '4.3', '4.2', '4.1', '4.0',
-            '3.9', '3.8', '3.7'
-        ]
-        include:
-          # PHP Compatibility testing was introduced in 5.5.
-          - branch: '5.7'
-            workflow: 'php-compatibility.yml'
-          - branch: '5.6'
-            workflow: 'php-compatibility.yml'
-          - branch: '5.5'
-            workflow: 'php-compatibility.yml'
-
-          # End to End testing was introduced in 5.3 but later removed as there were no meaningful assertions.
-          # Only the officially supported major branch runs E2E tests so that more assertions can be added, and the
-          # workflow does not continue to run needlessly on old branches.
-          - branch: '5.7'
-            workflow: 'end-to-end-tests.yml'
-        exclude:
-          # Coding standards and JavaScript testing did not take place in 3.7.
-          - branch: '3.7'
-            workflow: 'coding-standards.yml'
-          - branch: '3.7'
-            workflow: 'javascript-tests.yml'
-
-    # Run all branches monthly, but only the currently supported one twice per month.
-    steps:
-      - name: Dispatch workflow run
-        uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7 # v3.1.0
-        if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '5.7' }}
-        with:
-          github-token: ${{ secrets.GHA_OLD_BRANCH_DISPATCH }}
-          script: |
-            github.actions.createWorkflowDispatch({
-              owner: context.repo.owner,
-              repo: context.repo.repo,
-              workflow_id: '${{ matrix.workflow }}',
-              ref: '${{ matrix.branch }}'
-            });
</del></span></pre></div>
<a id="branches58githubworkflowswelcomenewcontributorsyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.8/.github/workflows/welcome-new-contributors.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.8/.github/workflows/welcome-new-contributors.yml       2023-03-10 15:52:41 UTC (rev 55516)
+++ branches/5.8/.github/workflows/welcome-new-contributors.yml 2023-03-10 16:07:11 UTC (rev 55517)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,9 +12,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' }}
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">     steps:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-      - uses: bubkoo/welcome-action@8dbbac2540d155744c90e4e37da6b05ffc9c5e2c # v1.0.3
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+      - uses: wow-actions/welcome@72817eb31cda1de60f51893d80e2e82ce57f7e76 # v1.3.0
</ins><span class="cx" style="display: block; padding: 0 10px">         with:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
</del><span class="cx" style="display: block; padding: 0 10px">           FIRST_PR_COMMENT: >
</span><span class="cx" style="display: block; padding: 0 10px">             Hi @{{ author }}! ðŸ‘‹
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="branches58dockercomposeyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.8/docker-compose.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.8/docker-compose.yml   2023-03-10 15:52:41 UTC (rev 55516)
+++ branches/5.8/docker-compose.yml     2023-03-10 16:07:11 UTC (rev 55517)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -53,7 +53,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # The MySQL container.
</span><span class="cx" style="display: block; padding: 0 10px">   ##
</span><span class="cx" style="display: block; padding: 0 10px">   mysql:
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-latest}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    image: amd64/${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-latest}
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">     networks:
</span><span class="cx" style="display: block; padding: 0 10px">       - wpdevnet
</span></span></pre>
</div>
</div>

</body>
</html>