fix: exclude chore branches from pre-release and enforce branch protection #29

Merged
jmiller merged 1 commits from fix/chore-branch-policy into main 2026-06-23 17:42:18 +00:00
Owner

Summary

Removes chore/** from pre-release.yml trigger branches. Chore branches are for workflow/README-only changes and should not create releases or bump versions.

Org-Level Branch Protection

Added org-wide chore-branches protection rule:

Protected files (cannot be modified on chore branches):
source/**, src/**, htdocs/**, *.php, *.xml, composer.json, composer.lock

Unprotected files (allowed on chore branches):
.mokogitea/workflows/**, *.md, .editorconfig, .gitignore, .gitattributes

Also completed this session

  • Deleted deploy-manual.yml, update-server.yml, composer-publish.yml from 30 Joomla repos
  • Verified no updates.xml exists on chore branches
## Summary Removes `chore/**` from `pre-release.yml` trigger branches. Chore branches are for workflow/README-only changes and should not create releases or bump versions. ## Org-Level Branch Protection Added org-wide `chore-branches` protection rule: **Protected files** (cannot be modified on chore branches): `source/**`, `src/**`, `htdocs/**`, `*.php`, `*.xml`, `composer.json`, `composer.lock` **Unprotected files** (allowed on chore branches): `.mokogitea/workflows/**`, `*.md`, `.editorconfig`, `.gitignore`, `.gitattributes` ## Also completed this session - Deleted `deploy-manual.yml`, `update-server.yml`, `composer-publish.yml` from 30 Joomla repos - Verified no `updates.xml` exists on chore branches
jmiller added 1 commit 2026-06-23 17:41:43 +00:00
fix: exclude chore branches from pre-release workflow
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 1s
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 6s
Universal: PR Check / Secret Scan (pull_request) Successful in 7s
Universal: PR Check / Validate PR (pull_request) Failing after 8s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 3s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 14s
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Failing after 46s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Failing after 3s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Successful in 48s
f40094f757
Chore branches should only touch workflows and README — they should
not trigger version bumps, pre-releases, or releases.

Authored-by: Moko Consulting
jmiller merged commit 14a3216995 into main 2026-06-23 17:42:18 +00:00
jmiller deleted branch fix/chore-branch-policy 2026-06-23 17:42:20 +00:00
Sign in to join this conversation.