jmiller 5b0138efa1
Generic: Project CI / Tests (push) Blocked by required conditions
Universal: CodeQL Analysis / Security Scan Summary (push) Blocked by required conditions
Generic: Repo Health / Scripts governance (push) Blocked by required conditions
Generic: Repo Health / Repository health (push) Blocked by required conditions
Generic: Repo Health / Report Issues (push) Blocked by required conditions
MCP: Standards Compliance / Compliance Summary (push) Blocked by required conditions
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 3s
MCP: Build & Validate / build (20) (push) Failing after 6s
MCP: Build & Validate / build (22) (push) Failing after 6s
Generic: Repo Health / Access control (push) Successful in 1s
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Project CI / Lint & Validate (push) Successful in 14s
MCP: Standards Compliance / Secret Scanning (push) Successful in 4s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 6s
MCP: Standards Compliance / License Header Validation (push) Failing after 9s
Publish to npm / publish (push) Failing after 15s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 4s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 5s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 4s
MCP: Build & Release / Build, Validate & Release (push) Failing after 31s
MCP: Standards Compliance / README Completeness Check (push) Failing after 4s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 3s
MCP: Standards Compliance / File Naming Standards (push) Successful in 3s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 7s
MCP: Standards Compliance / Line Length Check (push) Failing after 6s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 3s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 6s
MCP: Standards Compliance / File Size Limits (push) Successful in 3s
MCP: Standards Compliance / Binary File Detection (push) Successful in 4s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 3s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m4s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m5s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 45s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 4s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 3s
MCP: Standards Compliance / Accessibility Check (push) Successful in 3s
MCP: Standards Compliance / Performance Metrics (push) Successful in 3s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 42s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 9s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 52s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 50s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 57s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 49s
MCP: Standards Compliance / Repository Health Check (push) Successful in 48s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 34s
fix: update stale repository URL (gitea-api-mcp → mcp-mokogitea-api)
2026-06-18 14:49:13 +00:00

Contributing to Moko Consulting Projects

Thank you for your interest in contributing. All Moko Consulting repositories follow this universal workflow and version policy.

Branching Workflow

feature/* ──PR──> dev ──draft PR──> (renamed to rc) ──merge──> main

Step by step

  1. Create a feature branch from dev:

    git checkout dev && git pull
    git checkout -b feature/my-change
    
  2. Work and commit on your feature branch. Push to origin.

  3. Open a PR: feature/my-changedev. After review and checks, merge it.

  4. When ready for release, open a draft PR: devmain.

    • This automatically renames the source branch to rc (release candidate)
    • An RC pre-release is built and uploaded
  5. Alpha and beta branches are created by manually renaming the branch before the RC stage:

    • Rename dev to alpha for early testing → alpha pre-release is built
    • Rename alpha to beta for feature-complete testing → beta pre-release is built
    • When the draft PR is created, the branch is renamed to rc
  6. Once PR checks pass on the rc branch, mark the PR as ready and merge to main.

  7. Merging to main triggers the stable release pipeline:

    • Minor version bump (e.g., 02.09.xx02.10.00)
    • Stability suffix stripped (clean version)
    • Gitea release created with ZIP/tar.gz packages
    • updates.xml updated (Joomla extensions)
    • dev branch recreated from main

Branch summary

Branch Purpose Created by
feature/* New features and fixes Developer
dev Integration branch Auto-recreated after release
alpha Alpha pre-release testing Manual rename from dev
beta Beta pre-release testing Manual rename from alpha
rc Release candidate Auto-renamed on draft PR to main
main Stable releases Protected, merge only
version/XX.YY.ZZ Archived release snapshots Auto-created by CI

Protected branches

Branch Direct push Merge via
main Blocked (CI bot whitelisted) PR merge only
dev Blocked (CI bot whitelisted) PR merge from feature/*
rc Blocked (CI bot whitelisted) Auto-created on draft PR
alpha Blocked (CI bot whitelisted) Manual rename
beta Blocked (CI bot whitelisted) Manual rename
feature/* Open N/A (source branch)

Version Policy

Format

All versions use XX.YY.ZZ — three two-digit segments, zero-padded:

  • XX — Major version (breaking changes)
  • YY — Minor version (new features, bumped on release to main)
  • ZZ — Patch version (auto-incremented on every push to dev/feature branches)

Rollover: patch 9900 increments minor; minor 9900 increments major.

Stability suffixes

Each branch appends a suffix to indicate stability:

Branch Suffix Example
main (none) 02.09.00
dev -dev 02.09.01-dev
feature/* -dev 02.09.01-dev
alpha -alpha 02.09.01-alpha
beta -beta 02.09.01-beta
rc -rc 02.09.01-rc

Auto version bump

On every push to dev, feature/*, or patch/*:

  1. Patch version incremented
  2. Stability suffix -dev applied
  3. All version-bearing files updated (manifests, CHANGELOG, PHP headers, etc.)
  4. Commit created with [skip ci] to avoid loops

Release version flow

Version bumps happen at specific release events:

Event Bump Example
Feature merged to dev Patch bump after dev release 02.09.01-dev → release → 02.09.02-dev
Dev promoted to RC Minor bump 02.09.02-dev02.10.00-rc
RC merged to main Minor bump 02.10.00-rc02.11.00 (stable)
Dev recreated from main Patch bump 02.11.0002.11.01-dev

Release stream copies

When a higher-stability release is published, copies are created for all lesser streams with the same base version:

  • RC 02.10.00-rc also creates: 02.10.00-dev, 02.10.00-alpha, 02.10.00-beta
  • Stable 02.11.00 also creates: 02.11.00-dev, 02.11.00-alpha, 02.11.00-beta, 02.11.00-rc

This ensures Joomla sites on ANY stability channel see the update (Joomla only shows versions higher than what's installed).

Version files

The version tools update all files containing version stamps:

  • .mokogitea/manifest.xml (canonical source)
  • Joomla XML manifests (<version> tag)
  • README.md, CHANGELOG.md (VERSION: pattern)
  • package.json, pyproject.toml
  • Any text file with a VERSION: XX.YY.ZZ label

Files synced from other repos (with a # REPO: header) are not touched.

Code Standards

  • PHP: PSR-12, tabs for indentation
  • Copyright: all files must include the Moko Consulting copyright header
  • License: SPDX identifier GPL-3.0-or-later (or as specified per repo)
  • Attribution: use Authored-by: Moko Consulting in commits, not individual names

Commit Messages

Use conventional commit format:

type(scope): short description

Optional body with context.

Authored-by: Moko Consulting

Types: feat, fix, chore, docs, style, refactor, test, ci

Special flags in commit messages:

  • [skip ci] — skip all CI workflows
  • [skip bump] — skip auto version bump only

Reporting Issues

Use the repository's issue tracker with the appropriate template.


Moko Consulting hello@mokoconsulting.tech

S
Description
MCP server for Gitea REST API v1 operations — 61 tools for repos, issues, PRs, releases, branches, actions, orgs, wiki, webhooks, and more
Readme
598 KiB
Languages
TypeScript 56.1%
Markdown 34.5%
Shell 6%
JavaScript 1.5%
JSON 1.1%
Other 0.8%