ci: mirror template-repo CI guards from Template-Generic #42

Merged
jmiller merged 1 commits from fix/mirror-generic-ci-guards into main 2026-07-04 19:30:09 +00:00
Owner

Summary

Directly applies the Template-Generic#48 fixes to Template-Joomla's own copies, because Generic→template workflow sync doesn't auto-run (Template-Generic has Actions disabled — same reason the release guard needed a direct patch in #39).

Changes

  • ci-generic.yml (lint, test): skip on Template-*.
  • pr-check.yml (validate): skip on Template-* (its "Detect platform" step fails on the absent .mokogitea/manifest.xml).
  • branch-cleanup.yml: drop the php -r rawurlencode dependency (shell sed encoding) — the job installs no PHP, so it failed under set -e.

Together with #41 (pr-metadata guard + sample PHP fix), this clears every failing check on the template repo.

Authored-by: Moko Consulting

## Summary Directly applies the Template-Generic#48 fixes to Template-Joomla's own copies, because Generic→template workflow sync doesn't auto-run (Template-Generic has Actions disabled — same reason the release guard needed a direct patch in #39). ## Changes - **`ci-generic.yml`** (`lint`, `test`): skip on `Template-*`. - **`pr-check.yml`** (`validate`): skip on `Template-*` (its "Detect platform" step fails on the absent `.mokogitea/manifest.xml`). - **`branch-cleanup.yml`**: drop the `php -r rawurlencode` dependency (shell `sed` encoding) — the job installs no PHP, so it failed under `set -e`. Together with #41 (pr-metadata guard + sample PHP fix), this clears every failing check on the template repo. Authored-by: Moko Consulting
jmiller added 1 commit 2026-07-04 19:29:56 +00:00
ci: mirror template-repo CI guards from Template-Generic
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Has been skipped
Generic: Project CI / Lint & Validate (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Has been skipped
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Has been skipped
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 1s
Universal: PR Check / Secret Scan (pull_request) Successful in 6s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
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
9927926295
Sync doesn't auto-propagate Generic→template workflows (Phase 1 never
auto-runs; Template-Generic has Actions disabled), so apply the same
fixes from Template-Generic#48 directly:
- ci-generic.yml (lint, test): skip on Template-* repos
- pr-check.yml (validate): skip on Template-* repos
- branch-cleanup.yml: drop PHP dependency for branch-name encoding

Authored-by: Moko Consulting
jmiller merged commit 351d847619 into main 2026-07-04 19:30:09 +00:00
jmiller deleted branch fix/mirror-generic-ci-guards 2026-07-04 19:30:10 +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#42