ci(release): skip release workflows on template repos #39

Merged
jmiller merged 1 commits from fix/skip-release-on-template-repos into main 2026-07-04 18:39:03 +00:00
Owner

Summary

Guards the release pipelines so they skip on template repos (Template-*). This stops the perpetual "No version found" auto-release failure on this repo (template repos have no canonical version source by design).

Changes

  • auto-release.yml — guard promote-rc and release jobs with !startsWith(github.event.repository.name, 'Template-').
  • pre-release.yml — same guard on the build job.

Note

This is a stopgap mirroring the canonical fix in Template-Generic#47; it will be reaffirmed on the next workflow sync from Template-Generic.

Authored-by: Moko Consulting

## Summary Guards the release pipelines so they **skip on template repos** (`Template-*`). This stops the perpetual "No version found" `auto-release` failure on this repo (template repos have no canonical version source by design). ## Changes - **`auto-release.yml`** — guard `promote-rc` and `release` jobs with `!startsWith(github.event.repository.name, 'Template-')`. - **`pre-release.yml`** — same guard on the `build` job. ## Note This is a **stopgap** mirroring the canonical fix in [Template-Generic#47](https://git.mokoconsulting.tech/MokoConsulting/Template-Generic/pulls/47); it will be reaffirmed on the next workflow sync from Template-Generic. Authored-by: Moko Consulting
jmiller added 1 commit 2026-07-04 18:38:16 +00:00
ci(release): skip release workflows on template repos
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Has been skipped
Universal: PR Check / Branch Policy (pull_request) Failing after 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 1s
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Universal: PR Check / Secret Scan (pull_request) Successful in 5s
Generic: Project CI / Lint & Validate (pull_request) Failing after 8s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Failing after 32s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Failing after 1s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Successful in 20s
Generic: Project CI / Tests (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report: Scripts Governance (pull_request) Has been cancelled
Generic: Repo Health / Report: Repository Health (pull_request) Has been cancelled
70420bec71
Template repos (Template-*) scaffold other repos and are not meant to
publish releases. Guard the release/promote-rc jobs in auto-release.yml
and the build job in pre-release.yml so they skip when the repo name
starts with 'Template-'.

Stopgap patch mirroring MokoConsulting/Template-Generic#47 (the canonical
source); this will be reaffirmed on the next workflow sync.

Authored-by: Moko Consulting
jmiller merged commit be2298f6ec into main 2026-07-04 18:39:03 +00:00
jmiller deleted branch fix/skip-release-on-template-repos 2026-07-04 18:39:04 +00:00
Sign in to join this conversation.
No Reviewers
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/Template-Joomla#39