<!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>[59673] trunk: Build/Test Tools: Switch to using local references for reusable workflows.</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/59673">59673</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/59673","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>johnbillion</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2025-01-21 15:40:51 +0000 (Tue, 21 Jan 2025)</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: Switch to using local references for reusable workflows.

The benefit of this is that when PRs are made to make changes to a reusable workflow, the references doesn't need to be updated to point to the fork in order for the changed workflow to run.

A `npm run grunt replace:workflow-references-local-to-remote` command has also been introduced in order to convert these local references back to remote ones. This command can be used to switch release branches over to using remote workflows, as they are currently, so they continue to benefit from workflow changes in trunk without the need for continual backporting to all the branches.

Props desrosj, johnbillion

Fixes <a href="https://core.trac.wordpress.org/ticket/62416">#62416</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkgithubworkflowscodingstandardsyml">trunk/.github/workflows/coding-standards.yml</a></li>
<li><a href="#trunkgithubworkflowsendtoendtestsyml">trunk/.github/workflows/end-to-end-tests.yml</a></li>
<li><a href="#trunkgithubworkflowsinstalltestingyml">trunk/.github/workflows/install-testing.yml</a></li>
<li><a href="#trunkgithubworkflowsjavascripttestsyml">trunk/.github/workflows/javascript-tests.yml</a></li>
<li><a href="#trunkgithubworkflowslocaldockerenvironmentyml">trunk/.github/workflows/local-docker-environment.yml</a></li>
<li><a href="#trunkgithubworkflowsperformanceyml">trunk/.github/workflows/performance.yml</a></li>
<li><a href="#trunkgithubworkflowsphpcompatibilityyml">trunk/.github/workflows/php-compatibility.yml</a></li>
<li><a href="#trunkgithubworkflowsphpunittestsyml">trunk/.github/workflows/phpunit-tests.yml</a></li>
<li><a href="#trunkgithubworkflowstestandzipdefaultthemesyml">trunk/.github/workflows/test-and-zip-default-themes.yml</a></li>
<li><a href="#trunkgithubworkflowstestbuildprocessesyml">trunk/.github/workflows/test-build-processes.yml</a></li>
<li><a href="#trunkgithubworkflowstestcoverageyml">trunk/.github/workflows/test-coverage.yml</a></li>
<li><a href="#trunkgithubworkflowstestoldbranchesyml">trunk/.github/workflows/test-old-branches.yml</a></li>
<li><a href="#trunkgithubworkflowsupgradetestingyml">trunk/.github/workflows/upgrade-testing.yml</a></li>
<li><a href="#trunkGruntfilejs">trunk/Gruntfile.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkgithubworkflowscodingstandardsyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/coding-standards.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/coding-standards.yml      2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/coding-standards.yml        2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -49,7 +49,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Runs the PHP coding standards checks.
</span><span class="cx" style="display: block; padding: 0 10px">   phpcs:
</span><span class="cx" style="display: block; padding: 0 10px">     name: PHP coding standards
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-coding-standards-php.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-coding-standards-php.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</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">@@ -57,7 +57,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Runs the JavaScript coding standards checks.
</span><span class="cx" style="display: block; padding: 0 10px">   jshint:
</span><span class="cx" style="display: block; padding: 0 10px">     name: JavaScript coding standards
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-coding-standards-javascript.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-coding-standards-javascript.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</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">@@ -64,7 +64,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowsendtoendtestsyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/end-to-end-tests.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/end-to-end-tests.yml      2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/end-to-end-tests.yml        2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -38,7 +38,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Runs the end-to-end test suite.
</span><span class="cx" style="display: block; padding: 0 10px">   e2e-tests:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Test with SCRIPT_DEBUG ${{ matrix.LOCAL_SCRIPT_DEBUG && 'enabled' || 'disabled' }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-end-to-end-tests.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-end-to-end-tests.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</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">@@ -51,7 +51,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowsinstalltestingyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/install-testing.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/install-testing.yml       2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/install-testing.yml 2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -43,7 +43,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Determines the supported values for PHP and database versions based on the WordPress version being tested.
</span><span class="cx" style="display: block; padding: 0 10px">   build-test-matrix:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Build Test Matrix
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-support-json-reader-v1.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-support-json-reader-v1.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span><span class="cx" style="display: block; padding: 0 10px">     secrets: inherit
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -132,7 +132,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowsjavascripttestsyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/javascript-tests.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/javascript-tests.yml      2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/javascript-tests.yml        2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -47,7 +47,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Runs the WordPress Core JavaScript tests.
</span><span class="cx" style="display: block; padding: 0 10px">   test-js:
</span><span class="cx" style="display: block; padding: 0 10px">     name: QUnit Tests
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-javascript-tests.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-javascript-tests.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</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">@@ -54,7 +54,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowslocaldockerenvironmentyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/local-docker-environment.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/local-docker-environment.yml      2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/local-docker-environment.yml        2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -63,7 +63,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   #
</span><span class="cx" style="display: block; padding: 0 10px">   build-test-matrix:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Build Test Matrix
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-support-json-reader-v1.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-support-json-reader-v1.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span><span class="cx" style="display: block; padding: 0 10px">     secrets: inherit
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -74,7 +74,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Tests the local Docker environment.
</span><span class="cx" style="display: block; padding: 0 10px">   environment-tests-mysql:
</span><span class="cx" style="display: block; padding: 0 10px">     name: PHP ${{ matrix.php }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-test-local-docker-environment-v1.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-test-local-docker-environment-v1.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</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">@@ -108,7 +108,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowsperformanceyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/performance.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/performance.yml   2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/performance.yml     2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -33,7 +33,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Runs the performance test suite.
</span><span class="cx" style="display: block; padding: 0 10px">   performance:
</span><span class="cx" style="display: block; padding: 0 10px">     name: ${{ matrix.multisite && 'Multisite' || 'Single site' }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-performance.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-performance.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</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">@@ -50,7 +50,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowsphpcompatibilityyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/php-compatibility.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/php-compatibility.yml     2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/php-compatibility.yml       2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -44,7 +44,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Runs PHP compatibility testing.
</span><span class="cx" style="display: block; padding: 0 10px">   php-compatibility:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Check PHP compatibility
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-php-compatibility.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-php-compatibility.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</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">@@ -51,7 +51,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowsphpunittestsyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/phpunit-tests.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/phpunit-tests.yml 2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/phpunit-tests.yml   2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -36,7 +36,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   #
</span><span class="cx" style="display: block; padding: 0 10px">   test-with-mysql:
</span><span class="cx" style="display: block; padding: 0 10px">     name: PHP ${{ matrix.php }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span><span class="cx" style="display: block; padding: 0 10px">     secrets: inherit
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -107,7 +107,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   #
</span><span class="cx" style="display: block; padding: 0 10px">   test-with-mariadb:
</span><span class="cx" style="display: block; padding: 0 10px">     name: PHP ${{ matrix.php }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span><span class="cx" style="display: block; padding: 0 10px">     secrets: inherit
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -157,7 +157,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   #
</span><span class="cx" style="display: block; padding: 0 10px">   test-innovation-releases:
</span><span class="cx" style="display: block; padding: 0 10px">     name: PHP ${{ matrix.php }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span><span class="cx" style="display: block; padding: 0 10px">     secrets: inherit
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -200,7 +200,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   #
</span><span class="cx" style="display: block; padding: 0 10px">   specific-test-groups:
</span><span class="cx" style="display: block; padding: 0 10px">     name: ${{ matrix.phpunit-test-groups }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span><span class="cx" style="display: block; padding: 0 10px">     secrets: inherit
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -220,7 +220,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowstestandzipdefaultthemesyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/test-and-zip-default-themes.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/test-and-zip-default-themes.yml   2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/test-and-zip-default-themes.yml     2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -198,7 +198,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowstestbuildprocessesyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/test-build-processes.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/test-build-processes.yml  2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/test-build-processes.yml    2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,7 +31,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Tests the WordPress Core build process on multiple operating systems.
</span><span class="cx" style="display: block; padding: 0 10px">   test-core-build-process:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Core running from ${{ matrix.directory }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-test-core-build-process.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-test-core-build-process.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</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">@@ -63,7 +63,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # See https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability.
</span><span class="cx" style="display: block; padding: 0 10px">   test-core-build-process-macos:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Core running from ${{ matrix.directory }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-test-core-build-process.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-test-core-build-process.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' }}
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -79,7 +79,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Tests the Gutenberg plugin build process on multiple operating systems when run within a wordpress-develop checkout.
</span><span class="cx" style="display: block; padding: 0 10px">   test-gutenberg-build-process:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Gutenberg running from ${{ matrix.directory }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-test-gutenberg-build-process.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-test-gutenberg-build-process.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</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">@@ -102,7 +102,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # See https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability.
</span><span class="cx" style="display: block; padding: 0 10px">   test-gutenberg-build-process-macos:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Gutenberg running from ${{ matrix.directory }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-test-gutenberg-build-process.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-test-gutenberg-build-process.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' }}
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -117,7 +117,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowstestcoverageyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/test-coverage.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/test-coverage.yml 2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/test-coverage.yml   2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -49,7 +49,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   #
</span><span class="cx" style="display: block; padding: 0 10px">   test-coverage-report:
</span><span class="cx" style="display: block; padding: 0 10px">     name: ${{ matrix.multisite && 'Multisite' || 'Single site' }} report
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-phpunit-tests-v3.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' }}
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -67,7 +67,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowstestoldbranchesyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/test-old-branches.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/test-old-branches.yml     2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/test-old-branches.yml       2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -132,7 +132,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkgithubworkflowsupgradetestingyml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/.github/workflows/upgrade-testing.yml</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/.github/workflows/upgrade-testing.yml       2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/.github/workflows/upgrade-testing.yml 2025-01-21 15:40:51 UTC (rev 59673)
</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">   # Tests the full list of PHP/MySQL combinations for the last two versions of WordPress.
</span><span class="cx" style="display: block; padding: 0 10px">   upgrade-tests-last-two-releases:
</span><span class="cx" style="display: block; padding: 0 10px">     name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-upgrade-testing.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
</span><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -94,7 +94,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Tests the remaining 6.x releases on the oldest and newest supported versions of PHP 7 & 8.
</span><span class="cx" style="display: block; padding: 0 10px">   upgrade-tests-wp-6x-mysql:
</span><span class="cx" style="display: block; padding: 0 10px">     name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-upgrade-testing.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
</span><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -126,7 +126,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # Tests 5.x releases where the WordPress database version changed on the oldest and newest supported versions of PHP 7.
</span><span class="cx" style="display: block; padding: 0 10px">   upgrade-tests-wp-5x-php-7x-mysql:
</span><span class="cx" style="display: block; padding: 0 10px">     name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-upgrade-testing.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
</span><span class="cx" style="display: block; padding: 0 10px">     strategy:
</span><span class="cx" style="display: block; padding: 0 10px">       fail-fast: false
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -160,7 +160,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # - array/string offset with curly braces.
</span><span class="cx" style="display: block; padding: 0 10px">   upgrade-tests-wp-5x-php-8x-mysql:
</span><span class="cx" style="display: block; padding: 0 10px">     name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-upgrade-testing.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
</span><span class="cx" style="display: block; padding: 0 10px">     strategy:
</span><span class="cx" style="display: block; padding: 0 10px">       fail-fast: false
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -185,7 +185,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # The oldest version of WordPress receiving security updates should always be tested.
</span><span class="cx" style="display: block; padding: 0 10px">   upgrade-tests-wp-4x-php-7x-mysql:
</span><span class="cx" style="display: block; padding: 0 10px">     name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-upgrade-testing.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
</span><span class="cx" style="display: block; padding: 0 10px">     strategy:
</span><span class="cx" style="display: block; padding: 0 10px">       fail-fast: false
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -221,7 +221,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # - array/string offset with curly braces.
</span><span class="cx" style="display: block; padding: 0 10px">   upgrade-tests-wp-4x-php-8x-mysql:
</span><span class="cx" style="display: block; padding: 0 10px">     name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-upgrade-testing.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
</span><span class="cx" style="display: block; padding: 0 10px">     strategy:
</span><span class="cx" style="display: block; padding: 0 10px">       fail-fast: false
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -245,7 +245,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   # the full list of PHP/MySQL combinations.
</span><span class="cx" style="display: block; padding: 0 10px">   upgrade-tests-oldest-wp-mysql:
</span><span class="cx" style="display: block; padding: 0 10px">     name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }}
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/reusable-upgrade-testing.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
</span><span class="cx" style="display: block; padding: 0 10px">     strategy:
</span><span class="cx" style="display: block; padding: 0 10px">       fail-fast: false
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -279,7 +279,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">   slack-notifications:
</span><span class="cx" style="display: block; padding: 0 10px">     name: Slack Notifications
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-    uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+    uses: ./.github/workflows/slack-notifications.yml
</ins><span class="cx" style="display: block; padding: 0 10px">     permissions:
</span><span class="cx" style="display: block; padding: 0 10px">       actions: read
</span><span class="cx" style="display: block; padding: 0 10px">       contents: read
</span></span></pre></div>
<a id="trunkGruntfilejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/Gruntfile.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/Gruntfile.js        2025-01-21 15:32:31 UTC (rev 59672)
+++ trunk/Gruntfile.js  2025-01-21 15:40:51 UTC (rev 59673)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -456,6 +456,28 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                } );
</span><span class="cx" style="display: block; padding: 0 10px">                                        }
</span><span class="cx" style="display: block; padding: 0 10px">                                }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        },
+                       'workflow-references-local-to-remote': {
+                               options: {
+                                       processContent: function( src ) {
+                                               return src.replace( /uses: \.\/\.github\/workflows\/([^\.]+)\.yml/g, function( match, $1 ) {
+                                                       return 'uses: WordPress/wordpress-develop/.github/workflows/' + $1 + '.yml@trunk';
+                                               } );
+                                       }
+                               },
+                               src: '.github/workflows/*.yml',
+                               dest: './'
+                       },
+                       'workflow-references-remote-to-local': {
+                               options: {
+                                       processContent: function( src ) {
+                                               return src.replace( /uses: WordPress\/wordpress-develop\/\.github\/workflows\/([^\.]+)\.yml@trunk/g, function( match, $1 ) {
+                                                       return 'uses: ./.github/workflows/' + $1 + '.yml';
+                                               } );
+                                       }
+                               },
+                               src: '.github/workflows/*.yml',
+                               dest: './'
</ins><span class="cx" style="display: block; padding: 0 10px">                         }
</span><span class="cx" style="display: block; padding: 0 10px">                },
</span><span class="cx" style="display: block; padding: 0 10px">                sass: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1513,6 +1535,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">                'copy:version',
</span><span class="cx" style="display: block; padding: 0 10px">        ] );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        grunt.registerTask( 'replace:workflow-references-local-to-remote', [
+               'copy:workflow-references-local-to-remote',
+       ]);
+
+       grunt.registerTask( 'replace:workflow-references-remote-to-local', [
+               'copy:workflow-references-remote-to-local',
+       ]);
+
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Build verification tasks.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span></span></pre>
</div>
</div>

</body>
</html>