chore: add CONTRIBUTING.md from Template-Joomla
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 6s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 9s
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Universal: PR Check / Secret Scan (pull_request) Successful in 5s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 41s
Universal: Auto Version Bump / Version Bump (push) Successful in 10s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 17s
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been cancelled
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been cancelled
Joomla: Extension CI / Build RC Pre-Release (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 Issues (pull_request) Has been cancelled
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 6s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 9s
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Universal: PR Check / Secret Scan (pull_request) Successful in 5s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 41s
Universal: Auto Version Bump / Version Bump (push) Successful in 10s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 17s
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been cancelled
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been cancelled
Joomla: Extension CI / Build RC Pre-Release (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 Issues (pull_request) Has been cancelled
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
-->
|
||||
|
||||
# Contributing to Moko Consulting Projects
|
||||
|
||||
Thank you for your interest in contributing! This guide explains our workflow,
|
||||
conventions, and how to get your changes merged.
|
||||
|
||||
## Branching Workflow
|
||||
|
||||
We use a **stability-gated** branching model:
|
||||
|
||||
```
|
||||
feature/* ──── PR ───→ dev
|
||||
│ RC cut → rc → main
|
||||
fix/* ───────── PR ────────────┘
|
||||
```
|
||||
|
||||
1. **Create a branch** from `dev`:
|
||||
- `feature/<short-name>` for new functionality
|
||||
- `fix/<short-name>` for bug fixes
|
||||
- `chore/<short-name>` for maintenance
|
||||
2. **Open a PR** into `dev`.
|
||||
3. **CI must pass** before merge.
|
||||
4. **Release cuts**: `dev → rc → main` are handled by maintainers.
|
||||
|
||||
> **Never commit directly to `main` or `dev`.**
|
||||
|
||||
## Version Policy
|
||||
|
||||
All repositories use the **XX.YY.ZZ** versioning scheme (two-digit segments):
|
||||
|
||||
- `XX` -- major (breaking changes)
|
||||
- `YY` -- minor (new features, backward-compatible)
|
||||
- `ZZ` -- patch (bug fixes, security patches)
|
||||
|
||||
**Stability suffixes** may be appended during pre-release:
|
||||
|
||||
| Suffix | Meaning | Example |
|
||||
|---|---|---|
|
||||
| `-alpha.N` | Early testing | `06.01.00-alpha.1` |
|
||||
| `-beta.N` | Feature complete | `06.01.00-beta.2` |
|
||||
| `-rc.N` | Release candidate | `06.01.00-rc.1` |
|
||||
| *(none)* | Stable release | `06.01.00` |
|
||||
|
||||
## Auto-Bump
|
||||
|
||||
Version bumps are **automated** via the `auto-bump` workflow:
|
||||
|
||||
- Merges into `dev` trigger a minor/patch bump.
|
||||
- The workflow updates all version references (manifests, changelog, etc.).
|
||||
- **Do not manually edit version numbers** -- let the workflow handle it.
|
||||
|
||||
## Commit Messages
|
||||
|
||||
We follow [Conventional Commits](https://www.conventionalcommits.org/):
|
||||
|
||||
```
|
||||
<type>(<scope>): <short description>
|
||||
|
||||
<optional body>
|
||||
|
||||
<optional footer>
|
||||
```
|
||||
|
||||
**Types**: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `chore`, `ci`, `build`, `revert`
|
||||
|
||||
## Pull Request Checklist
|
||||
|
||||
Before submitting a PR, ensure:
|
||||
|
||||
- [ ] Branch is based on latest `dev`
|
||||
- [ ] Commit messages follow conventional commits
|
||||
- [ ] CHANGELOG.md updated under `[Unreleased]`
|
||||
- [ ] No `TODO.md`, `.claude/`, `.mcp.json`, or minified files included
|
||||
- [ ] Code follows [MokoStandards](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
- [ ] All CI checks pass
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
All contributors are expected to follow our [Code of Conduct](CODE_OF_CONDUCT.md).
|
||||
|
||||
## Questions?
|
||||
|
||||
Open a [Question issue](../../issues/new?template=question.md) or contact
|
||||
us at [hello@mokoconsulting.tech](mailto:hello@mokoconsulting.tech).
|
||||
Reference in New Issue
Block a user