fix: workflow audit — CI sanity checks and rename fixes #26

Merged
jmiller merged 3 commits from fix/workflow-audit into main 2026-06-23 16:56:35 +00:00
Owner

Summary

  • Add 7 new CI sanity checks to ci-joomla.yml for Joomla extension validation
  • Fix missing step IDs in auto-release.yml
  • Rename moko-platformmokocli across workflow files

New CI Checks (ci-joomla)

Check Severity Description
Update server warning Must use MokoGitea engine (git.mokoconsulting.tech)
<dlid> warning Download ID auth tag must be present
<childuninstall> warning Package extensions must declare child uninstall
<scriptfile> error Referenced script file must exist
Media folder error <media> referenced dirs/files must exist
Target platform warning <targetplatform> / <php_minimum> should be set
<changelogurl> warning Joomla 4+ update manager changelog support
Duplicate refs error No duplicate <filename> / <folder> in manifest
Empty lang keys warning .ini files should not have KEY= with no value

Other Fixes

  • auto-release.yml: added missing step id: fields
  • issue-branch.yml, rc-revert.yml, workflow-sync-trigger.yml: moko-platformmokocli
## Summary - Add 7 new CI sanity checks to `ci-joomla.yml` for Joomla extension validation - Fix missing step IDs in `auto-release.yml` - Rename `moko-platform` → `mokocli` across workflow files ## New CI Checks (ci-joomla) | Check | Severity | Description | |---|---|---| | Update server | warning | Must use MokoGitea engine (`git.mokoconsulting.tech`) | | `<dlid>` | warning | Download ID auth tag must be present | | `<childuninstall>` | warning | Package extensions must declare child uninstall | | `<scriptfile>` | error | Referenced script file must exist | | Media folder | error | `<media>` referenced dirs/files must exist | | Target platform | warning | `<targetplatform>` / `<php_minimum>` should be set | | `<changelogurl>` | warning | Joomla 4+ update manager changelog support | | Duplicate refs | error | No duplicate `<filename>` / `<folder>` in manifest | | Empty lang keys | warning | `.ini` files should not have `KEY=` with no value | ## Other Fixes - `auto-release.yml`: added missing step `id:` fields - `issue-branch.yml`, `rc-revert.yml`, `workflow-sync-trigger.yml`: `moko-platform` → `mokocli`
jmiller added 2 commits 2026-06-23 16:51:59 +00:00
feat: add update server, dlid, and childuninstall checks to ci-joomla
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 15s
56e6ce00ae
Authored-by: Moko Consulting
feat: add 6 sanity checks to ci-joomla workflow
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 20s
Generic: Project CI / Tests (pull_request) Blocked by required conditions
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Blocked by required conditions
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Blocked by required conditions
Joomla: Extension CI / PHPStan Analysis (pull_request) Blocked by required conditions
Joomla: Extension CI / Build RC Pre-Release (pull_request) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 6s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 9s
Universal: PR Check / Validate PR (pull_request) Failing after 8s
Generic: Repo Health / Access control (pull_request) Successful in 2s
Universal: Build & Release / Promote to RC (pull_request) Failing after 15s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
Generic: Project CI / Lint & Validate (pull_request) Successful in 14s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 13s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Failing after 32s
92639daf5d
- scriptfile reference validation (error if missing)
- media folder/file reference validation (error if missing)
- target platform constraints warning (targetplatform, php_minimum)
- changelogurl warning (Joomla 4+ update manager)
- duplicate file/folder references in manifest (error)
- empty language keys in .ini files (warning)

Authored-by: Moko Consulting
jmiller added 1 commit 2026-06-23 16:54:23 +00:00
fix: change duplicate file references check from error to warning
Generic: Project CI / Tests (pull_request) Blocked by required conditions
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Blocked by required conditions
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Blocked by required conditions
Joomla: Extension CI / PHPStan Analysis (pull_request) Blocked by required conditions
Joomla: Extension CI / Build RC Pre-Release (pull_request) Blocked by required conditions
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 4s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 10s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 5s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Project CI / Lint & Validate (pull_request) Successful in 27s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Failing after 43s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 3s
Universal: Build & Release / Build & Release Pipeline (pull_request) Failing after 9s
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Failing after 6s
ba3cefa470
Cross-section duplicates (e.g. same folder in <files> and <media>) are
valid in Joomla manifests — should not block CI.

Authored-by: Moko Consulting
jmiller merged commit 69ac75e35b into main 2026-06-23 16:56:35 +00:00
jmiller deleted branch fix/workflow-audit 2026-06-23 16:56:36 +00:00
Author
Owner

Test Plan

Moved from PR body:

  • YAML validates (python -c "import yaml; yaml.safe_load(...")
  • CI runs against a Joomla extension repo with all checks passing or producing correct warnings
  • Warnings use continue-on-error and don't block CI
  • Errors correctly fail the job when files are missing
## Test Plan Moved from PR body: - [ ] YAML validates (`python -c "import yaml; yaml.safe_load(..."`) - [ ] CI runs against a Joomla extension repo with all checks passing or producing correct warnings - [ ] Warnings use `continue-on-error` and don't block CI - [ ] Errors correctly fail the job when files are missing
Sign in to join this conversation.