Jonathan Miller f8a3028f0f
Joomla: Repo Health / Access control (push) Successful in 1s
Joomla: Repo Health / Release configuration (push) Failing after 3s
Joomla: Repo Health / Scripts governance (push) Successful in 3s
Joomla: Repo Health / Repository health (push) Failing after 3s
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 3s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 4s
Universal: Branch Policy Check / Verify merge target (pull_request) Successful in 1s
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been skipped
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been skipped
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been skipped
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 3s
Universal: PR Check / Validate PR (pull_request) Successful in 3s
Joomla: Repo Health / Access control (pull_request) Successful in 1s
Joomla: Repo Health / Release configuration (pull_request) Failing after 3s
Joomla: Repo Health / Scripts governance (pull_request) Successful in 2s
Joomla: Repo Health / Repository health (pull_request) Failing after 3s
feat(workflows): Universal auto-release with .moko-platform detection
- Replace Joomla-specific auto-release with Universal: Build & Release
- Add .moko-platform file (joomla) for platform detection
- Rename all workflows with Universal:/Joomla: prefixes
- Smart case/esac branching for joomla|dolibarr|generic platforms
- Add Dolibarr post-release version reset support

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-11 22:04:25 -05:00

MokoStandards-Template-Joomla

Unified scaffolding templates for all Joomla extension types.

Structure

.gitea/workflows/     ← Standard 10-workflow CI/CD suite
types/
  plugin/             ← Joomla plugin scaffold
  template/           ← Joomla site template scaffold (full src/)
  module/             ← Joomla module scaffold
  component/          ← Joomla component scaffold
  package/            ← Joomla package scaffold
  library/            ← Joomla library scaffold

Usage

  1. Create a new repo from this template (or clone manually)
  2. Copy the relevant types/<type>/ content to your project root
  3. Customize the manifest XML, namespace, and source files
  4. Workflows are already configured — push to trigger CI

Shared Files

The root contains files shared by all extension types:

  • .gitea/workflows/ — CI/CD (auto-release, ci-joomla, pr-check, etc.)
  • .editorconfig, .gitignore, .gitattributes — editor/git config
  • composer.json, phpstan.neon, Makefile — build tooling
  • updates.xml — Joomla update server manifest template
  • LICENSE, SECURITY.md, CONTRIBUTING.md — standard docs

Workflow Suite (10 workflows)

Workflow Purpose
auto-release.yml Stable release on PR merge to main
pre-release.yml Manual dev/alpha/beta/rc builds
ci-joomla.yml PHP lint, PHPStan, coding standards
pr-check.yml PR gate: manifest + build validation
deploy-manual.yml Manual SFTP deploy
repo-health.yml Structure compliance checks
update-server.yml updates.xml validation
security-audit.yml Dependency vulnerability scanning
notify.yml ntfy notifications
cleanup.yml Merged branch + old run cleanup

Version Policy

  • Stable (PR merge to main): Minor bump (03.00.07 -> 03.01.00)
  • Pre-release (manual): Patch bump (03.00.07 -> 03.00.08)

Release Cascade

Higher releases auto-delete lower pre-release channels:

  • stable -> all | rc -> beta,alpha,dev | beta -> alpha,dev | alpha -> dev

Platform Type

.mokostandards platform: joomla-template or waas-component

Canonical Source

This repo is the single source of truth for Joomla workflows and scaffolding. Sync to production repos by copying .gitea/workflows/ from here.

License

GPL-3.0-or-later - Moko Consulting

S
Description
Unified Joomla extension scaffolding templates — plugin, template, module, component, package, library
Readme GPL-3.0
524 KiB
Languages
Markdown 48%
CSS 15.3%
PHP 12.4%
XML 11.5%
Makefile 7.9%
Other 4.9%