[wp-trac] [WordPress Trac] #65391: Build/Test Tools: Update stale step comment lists in reusable workflow files

WordPress Trac noreply at wordpress.org
Tue Jun 2 11:55:19 UTC 2026


#65391: Build/Test Tools: Update stale step comment lists in reusable workflow
files
------------------------------+-----------------------------
 Reporter:  khokansardar      |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:                    |
------------------------------+-----------------------------
 The step comment lists (the `# - Step description.` comment blocks at the
 top of workflow jobs) in two reusable workflow files are out of sync with
 their actual steps.

 In `.github/workflows/reusable-phpstan-static-analysis-v1.yml`, the
 comment list was not updated when the workflow was refactored in [62440]
 to remove the `Get last Monday's date` step and add `Set up Node.js`,
 `Install npm dependencies`, and `Build WordPress` steps. Three steps are
 missing from the comment list and the order of `Logs debug information`
 and `Installs Composer dependencies` is also incorrect.

 In `.github/workflows/reusable-coding-standards-php.yml`, the `Get last
 Monday's date` step — which is needed to generate the cache key for the
 PHPCS scan cache — is present in the actual job steps but absent from the
 step comment list.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65391>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list