Make WordPress Core

Opened 4 days ago

Closed 3 days ago

Last modified 3 days ago

#66402 closed defect (bug) (fixed)

Test Default Themes & Create ZIPs workflow should not assume every theme exists

Reported by: jorbin Owned by: lancewillett
Priority: normal Milestone: 7.2
Component: Build/Test Tools Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Currently, the workflow assumes that ipsum exists, however it does not and likely never will exist in the 7.1 branch.

See: ​https://github.com/WordPress/wordpress-develop/actions/runs/40776746444/attempts/2

Change History (3)

This ticket was mentioned in ​PR #15144 on ​WordPress/wordpress-develop by ​@arkaprabhachowdhury.


3 days ago
#1

  • Keywords has-patch added

Skip theme checks, builds, and ZIP uploads when the checked-out branch does not contain the theme.

Trac ticket: https://core.trac.wordpress.org/ticket/66402

Use of AI Tools

AI assistance: Yes
Tool(s): Codex
Model(s): GPT-6
Used for: Investigating the issue, implementing the workflow changes, and preparing the pull request.

#2 @lancewillett
3 days ago

  • Owner set to lancewillett
  • Resolution → fixed
  • Status new → closed

In 65013:

Build/Test Tools: Skip themes absent from the selected branch.

Check whether each theme exists before running theme-specific validation, builds, and ZIP uploads. This allows the default-theme workflow to run against release branches that do not contain every theme in the matrix.

Developed in: ​https://github.com/WordPress/wordpress-develop/pull/15144

Props arkaprabhachowdhury.
Fixes #66402.

#3 @sabernhardt
3 days ago

  • Milestone Awaiting Review → 7.2
Note: See TracTickets for help on using tickets.