66 Commits

Author SHA1 Message Date
jmiller c44c1efb18 chore: sync ci-generic.yml from Template-Generic [skip ci] 2026-06-27 20:43:42 +00:00
jmiller 00ca3c9457 chore: sync rc-revert.yml from Template-Generic [skip ci] 2026-06-27 05:31:59 +00:00
jmiller 059da4b37a chore: sync pre-release.yml from Template-Generic [skip ci] 2026-06-27 00:49:04 +00:00
jmiller 81f7db7b1b chore: sync repo-health.yml from Template-Generic [skip ci] 2026-06-25 19:46:02 +00:00
jmiller 0487c5a9c9 chore: sync pr-check.yml from Template-Generic [skip ci] 2026-06-25 19:46:01 +00:00
jmiller 08e57bfcfb chore: sync ci-issue-reporter.yml from Template-Generic [skip ci] 2026-06-25 19:45:59 +00:00
jmiller afa693b8d2 chore: sync workflow-sync-trigger.yml from Template-Generic [skip ci] 2026-06-25 17:10:14 +00:00
jmiller 0269496b96 chore: sync version-set.yml from Template-Generic [skip ci] 2026-06-25 17:10:14 +00:00
jmiller d25ae647cf chore: sync repo-health.yml from Template-Generic [skip ci] 2026-06-25 17:10:13 +00:00
jmiller 66d6c9ccaa chore: sync pre-release.yml from Template-Generic [skip ci] 2026-06-25 17:10:13 +00:00
jmiller a83fc2a03f chore: sync pr-check.yml from Template-Generic [skip ci] 2026-06-25 17:10:12 +00:00
jmiller d695f603c4 chore: sync issue-branch.yml from Template-Generic [skip ci] 2026-06-25 17:10:12 +00:00
jmiller 264c682d53 chore: sync deploy-manual.yml from Template-Generic [skip ci] 2026-06-25 17:10:11 +00:00
jmiller 4f44c169ca chore: sync cleanup.yml from Template-Generic [skip ci] 2026-06-25 17:10:11 +00:00
jmiller dc2332e01d chore: sync auto-release.yml from Template-Generic [skip ci] 2026-06-25 17:10:10 +00:00
jmiller ce55aa05d7 chore: sync auto-bump.yml from Template-Generic [skip ci] 2026-06-25 17:10:09 +00:00
jmiller 745daafe5e chore: sync version-set.yml from Template-Generic [skip ci] 2026-06-24 11:50:09 +00:00
jmiller 02dcbd625e chore: sync auto-release.yml from Template-Generic [skip ci] 2026-06-24 11:50:07 +00:00
Jonathan Miller 6d81b218d7 feat(metadata): add deploy fields, simplify to server-side partial merge
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 6s
MCP: Build & Release / Build, Validate & Release (push) Failing after 12s
MCP: Build & Validate / build (20) (push) Failing after 9s
MCP: Build & Validate / build (22) (push) Failing after 8s
MCP: Tool Inventory / inventory (push) Failing after 22s
MCP: Standards Compliance / Secret Scanning (push) Successful in 5s
MCP: Standards Compliance / License Header Validation (push) Failing after 4s
Publish to npm / publish (push) Failing after 24s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 5s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 5s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m15s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 5s
MCP: Standards Compliance / README Completeness Check (push) Failing after 6s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 5s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m21s
MCP: Standards Compliance / Line Length Check (push) Failing after 5s
MCP: Standards Compliance / File Naming Standards (push) Successful in 6s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 11s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 8s
MCP: Standards Compliance / File Size Limits (push) Successful in 19s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 24s
MCP: Standards Compliance / Binary File Detection (push) Successful in 24s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 8s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 1m10s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 51s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 5s
MCP: Standards Compliance / Accessibility Check (push) Successful in 3s
MCP: Standards Compliance / Performance Metrics (push) Successful in 5s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 26s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m1s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 11s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 15s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 56s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m28s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m37s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m16s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
- Add 8 deploy fields: deploy_host, deploy_port, deploy_user, deploy_path,
  docker_image, docker_registry, container_name, health_url
- Remove client-side GET+merge — server now handles partial updates natively
- Remove obsolete 'version' field (not in API)
2026-06-23 17:29:44 -05:00
jmiller f645a564d3 chore: sync deploy-manual.yml from Template-Generic [skip ci] 2026-06-23 18:45:52 +00:00
jmiller e97d52b095 chore: remove security-audit.yml -- handled by MokoGitea
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 6s
Publish to npm / publish (push) Failing after 29s
MCP: Standards Compliance / License Header Validation (push) Failing after 5s
MCP: Standards Compliance / Secret Scanning (push) Successful in 13s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 4s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 3s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 5s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 10s
MCP: Standards Compliance / README Completeness Check (push) Failing after 6s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 7s
MCP: Standards Compliance / Line Length Check (push) Failing after 7s
MCP: Standards Compliance / File Naming Standards (push) Successful in 7s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 12s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 5s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 8s
MCP: Standards Compliance / File Size Limits (push) Successful in 5s
MCP: Standards Compliance / Binary File Detection (push) Successful in 6s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m28s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m32s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 3s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 59s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m3s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 1m5s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m3s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m1s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 4s
MCP: Standards Compliance / Accessibility Check (push) Successful in 3s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 4s
MCP: Standards Compliance / Performance Metrics (push) Successful in 3s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 58s
MCP: Standards Compliance / Repository Health Check (push) Successful in 57s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 6s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 5s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-23 18:06:37 +00:00
jmiller 2a219d92a6 chore: remove deploy-manual.yml -- no longer needed
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 6s
MCP: Standards Compliance / Secret Scanning (push) Successful in 5s
Publish to npm / publish (push) Failing after 30s
MCP: Standards Compliance / License Header Validation (push) Failing after 3s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 3s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 3s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 3s
MCP: Standards Compliance / README Completeness Check (push) Failing after 4s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 5s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m10s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m9s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 8s
MCP: Standards Compliance / Line Length Check (push) Failing after 7s
MCP: Standards Compliance / File Naming Standards (push) Successful in 6s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 4s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 59s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 49s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 8s
MCP: Standards Compliance / File Size Limits (push) Successful in 4s
MCP: Standards Compliance / Binary File Detection (push) Successful in 4s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 4s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 56s
MCP: Standards Compliance / Performance Metrics (push) Successful in 3s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 7s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 11s
MCP: Standards Compliance / Accessibility Check (push) Successful in 14s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 23s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 11s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m7s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m3s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m11s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m16s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-23 18:01:40 +00:00
jmiller a02d9d1db2 chore: remove update-server.yml -- no longer needed
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 6s
Publish to npm / publish (push) Failing after 25s
MCP: Standards Compliance / Secret Scanning (push) Successful in 7s
MCP: Standards Compliance / License Header Validation (push) Failing after 7s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 7s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 6s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 5s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 5s
MCP: Standards Compliance / README Completeness Check (push) Failing after 3s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 4s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m6s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 58s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 5s
MCP: Standards Compliance / File Naming Standards (push) Successful in 4s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 4s
MCP: Standards Compliance / Line Length Check (push) Failing after 5s
MCP: Standards Compliance / File Size Limits (push) Successful in 4s
MCP: Standards Compliance / Binary File Detection (push) Successful in 4s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 8s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 3s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 6s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 7s
MCP: Standards Compliance / Accessibility Check (push) Successful in 9s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 1m2s
MCP: Standards Compliance / Performance Metrics (push) Successful in 9s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 1m4s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m2s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m0s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 7s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m6s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m5s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m9s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 10s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-23 18:01:40 +00:00
jmiller 47236a454d chore: remove composer-publish.yml -- no longer needed
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 7s
Publish to npm / publish (push) Failing after 24s
MCP: Standards Compliance / Secret Scanning (push) Successful in 5s
MCP: Standards Compliance / License Header Validation (push) Failing after 3s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 3s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 3s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 4s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 4s
MCP: Standards Compliance / README Completeness Check (push) Failing after 6s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 7s
MCP: Standards Compliance / Line Length Check (push) Failing after 8s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 10s
MCP: Standards Compliance / File Naming Standards (push) Successful in 5s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 6s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m4s
MCP: Standards Compliance / Code Complexity Analysis (push) Failing after 5s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 7s
MCP: Standards Compliance / File Size Limits (push) Successful in 4s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 3s
MCP: Standards Compliance / Binary File Detection (push) Successful in 4s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 59s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 4s
MCP: Standards Compliance / Accessibility Check (push) Successful in 6s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 7s
MCP: Standards Compliance / Performance Metrics (push) Successful in 6s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 53s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 18s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m9s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m11s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m10s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m14s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 3m31s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 8s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-23 18:01:38 +00:00
Jonathan Miller beda71301d docs: update README with 111 tools, add wiki search + revisions
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 8s
MCP: Standards Compliance / License Header Validation (push) Failing after 5s
MCP: Standards Compliance / Secret Scanning (push) Successful in 6s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 5s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 8s
Publish to npm / publish (push) Failing after 30s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 12s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 8s
MCP: Standards Compliance / README Completeness Check (push) Failing after 7s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 8s
MCP: Standards Compliance / Line Length Check (push) Failing after 7s
MCP: Standards Compliance / File Naming Standards (push) Successful in 7s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 11s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 5s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 6s
MCP: Standards Compliance / File Size Limits (push) Successful in 5s
MCP: Standards Compliance / Binary File Detection (push) Successful in 6s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 59s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m27s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 7s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 9s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 7s
MCP: Standards Compliance / Accessibility Check (push) Successful in 7s
MCP: Standards Compliance / Performance Metrics (push) Successful in 5s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 1m8s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m8s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 2m14s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 9s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 6s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m4s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m3s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m9s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m12s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-23 12:33:43 -05:00
Jonathan Miller f24f82d53a feat: add wiki search tool (gitea_wiki_search)
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 8s
MCP: Build & Validate / build (20) (push) Failing after 11s
MCP: Build & Release / Build, Validate & Release (push) Failing after 13s
MCP: Build & Validate / build (22) (push) Failing after 9s
MCP: Tool Inventory / inventory (push) Failing after 6s
MCP: Standards Compliance / License Header Validation (push) Failing after 5s
MCP: Standards Compliance / Secret Scanning (push) Successful in 6s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 6s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 8s
MCP: Standards Compliance / Version Consistency Check (push) Failing after 8s
Publish to npm / publish (push) Failing after 24s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 10s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 7s
MCP: Standards Compliance / README Completeness Check (push) Failing after 7s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 7s
MCP: Standards Compliance / File Naming Standards (push) Successful in 6s
MCP: Standards Compliance / Line Length Check (push) Failing after 7s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 11s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 6s
MCP: Standards Compliance / File Size Limits (push) Successful in 5s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 9s
MCP: Standards Compliance / Binary File Detection (push) Successful in 6s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 4s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m17s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m18s
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 Duplication Detection (push) Successful in 1m14s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 1m16s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m4s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m10s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 12s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 5s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m4s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m6s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
New tool for searching wiki page titles and content via GET /wiki/search?q=term
2026-06-23 12:06:57 -05:00
Jonathan Miller b06b990a5d fix(wiki): use correct create endpoint, add page revisions tool
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 7s
MCP: Build & Release / Build, Validate & Release (push) Failing after 14s
MCP: Build & Validate / build (20) (push) Failing after 12s
MCP: Build & Validate / build (22) (push) Failing after 12s
MCP: Tool Inventory / inventory (push) Failing after 9s
MCP: Standards Compliance / Secret Scanning (push) Successful in 5s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 6s
MCP: Standards Compliance / License Header Validation (push) Failing after 7s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 5s
Publish to npm / publish (push) Failing after 21s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 5s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 6s
MCP: Standards Compliance / README Completeness Check (push) Failing after 6s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 7s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 9s
MCP: Standards Compliance / Line Length Check (push) Failing after 8s
MCP: Standards Compliance / File Naming Standards (push) Successful in 6s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 6s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m9s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m13s
MCP: Standards Compliance / File Size Limits (push) Successful in 5s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 11s
MCP: Standards Compliance / Binary File Detection (push) Successful in 5s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 3s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 1m2s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 4s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 6s
MCP: Standards Compliance / Accessibility Check (push) Successful in 6s
MCP: Standards Compliance / Performance Metrics (push) Successful in 6s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 57s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m3s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 12s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 6s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m8s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m14s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m9s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m19s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
- Fix wiki_page_create: POST /wiki/new instead of /wiki/pages (405 error)
- Add gitea_wiki_page_revisions tool for listing page revision history
2026-06-23 10:52:56 -05:00
jmiller bf47ae67f9 chore: sync auto-release.yml from Template-Generic [skip ci] 2026-06-22 00:34:48 +00:00
jmiller 8d677206e7 fix: deep scan — issue search, asset upload, metadata guard, file create (#26)
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 5s
MCP: Build & Release / Build, Validate & Release (push) Failing after 9s
MCP: Build & Validate / build (20) (push) Failing after 7s
MCP: Tool Inventory / inventory (push) Failing after 6s
MCP: Build & Validate / build (22) (push) Failing after 6s
MCP: Standards Compliance / Secret Scanning (push) Successful in 7s
MCP: Standards Compliance / License Header Validation (push) Failing after 8s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 6s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 6s
Publish to npm / publish (push) Successful in 21s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 4s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 3s
MCP: Standards Compliance / README Completeness Check (push) Failing after 3s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 3s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 5s
MCP: Standards Compliance / Line Length Check (push) Failing after 4s
MCP: Standards Compliance / File Naming Standards (push) Successful in 4s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 4s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m5s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m6s
MCP: Standards Compliance / File Size Limits (push) Successful in 5s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 9s
MCP: Standards Compliance / Binary File Detection (push) Successful in 8s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 7s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 1m10s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 7s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 4s
MCP: Standards Compliance / Accessibility Check (push) Successful in 4s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 1m9s
MCP: Standards Compliance / Performance Metrics (push) Successful in 5s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m12s
MCP: Standards Compliance / Repository Health Check (push) Failing after 3s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 5s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 9s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m9s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m13s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 54s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-21 23:14:30 +00:00
Jonathan Miller 9c7dd17e68 fix: deep scan — issue search endpoint, asset upload, metadata guard, file create
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Failing after 4s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Failing after 14s
Universal: Changelog Validation / Validate CHANGELOG.md (pull_request) Failing after 5s
Universal: CodeQL Analysis / Analyze (actions) (pull_request) Failing after 1m8s
Universal: CodeQL Analysis / Analyze (javascript) (pull_request) Failing after 1m0s
MCP: Copilot Agent / Run Copilot Coding Agent (pull_request) Failing after 3s
MCP: Build & Validate / build (20) (pull_request) Failing after 10s
MCP: Build & Validate / build (22) (pull_request) Failing after 7s
Universal: PR Check / Branch Policy (pull_request) Failing after 1s
Universal: PR Check / Secret Scan (pull_request) Successful in 6s
Universal: PR Check / Validate PR (pull_request) Failing after 5s
Generic: Repo Health / Access control (pull_request) Successful in 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
MCP: Standards Compliance / Secret Scanning (pull_request) Successful in 4s
MCP: Standards Compliance / License Header Validation (pull_request) Failing after 4s
MCP: Standards Compliance / Repository Structure Validation (pull_request) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (pull_request) Failing after 5s
MCP: Standards Compliance / Workflow Configuration Check (pull_request) Failing after 7s
MCP: Standards Compliance / Documentation Quality Check (pull_request) Successful in 6s
MCP: Standards Compliance / README Completeness Check (pull_request) Failing after 6s
MCP: Standards Compliance / Git Repository Hygiene (pull_request) Successful in 6s
MCP: Standards Compliance / Script Integrity Validation (pull_request) Successful in 10s
MCP: Standards Compliance / Line Length Check (pull_request) Failing after 5s
MCP: Standards Compliance / File Naming Standards (pull_request) Successful in 4s
MCP: Standards Compliance / Insecure Code Pattern Detection (pull_request) Successful in 6s
MCP: Standards Compliance / Version Consistency Check (pull_request) Successful in 1m23s
MCP: Standards Compliance / Dead Code Detection (pull_request) Successful in 7s
MCP: Standards Compliance / File Size Limits (pull_request) Successful in 5s
MCP: Standards Compliance / Binary File Detection (pull_request) Successful in 6s
MCP: Standards Compliance / TODO/FIXME Tracking (pull_request) Successful in 4s
MCP: Standards Compliance / Code Complexity Analysis (pull_request) Successful in 1m9s
MCP: Standards Compliance / Code Duplication Detection (pull_request) Successful in 1m8s
MCP: Standards Compliance / Broken Link Detection (pull_request) Successful in 7s
MCP: Standards Compliance / API Documentation Coverage (pull_request) Successful in 9s
MCP: Standards Compliance / Accessibility Check (pull_request) Successful in 7s
MCP: Standards Compliance / Performance Metrics (pull_request) Successful in 7s
MCP: Standards Compliance / Dependency Vulnerability Scanning (pull_request) Successful in 1m23s
MCP: Standards Compliance / Unused Dependencies Check (pull_request) Successful in 1m31s
Universal: Auto-Assign / Assign unassigned issues and PRs (pull_request_target) Successful in 3s
MCP: Standards Compliance / Terraform Configuration Validation (pull_request) Successful in 17s
Branch Cleanup / Delete merged branch (pull_request) Failing after 2s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 5s
MCP: Standards Compliance / Enterprise Readiness Check (pull_request) Successful in 1m20s
MCP: Standards Compliance / Repository Health Check (pull_request) Successful in 1m14s
Universal: CodeQL Analysis / Security Scan Summary (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
MCP: Standards Compliance / Compliance Summary (pull_request) Has been cancelled
- gitea_issue_search: fixed endpoint from /repos/search to /repos/issues/search
- gitea_release_asset_upload: use fetch with application/octet-stream instead of
  JSON-stringified Buffer via client.post (which set wrong Content-Type)
- gitea_metadata_update: guard against GET failure before spreading into merged object
- gitea_bulk_file_push: use PUT (not POST) for file creation per Gitea Contents API
- Server version updated from 1.0.0 to 1.4.2
2026-06-21 18:13:29 -05:00
jmiller 01d0c65f8a Merge pull request 'chore: remove automation and scripts directories' (#24) from fix/remove-automation into main
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 4s
MCP: Standards Compliance / Secret Scanning (push) Successful in 4s
MCP: Standards Compliance / License Header Validation (push) Failing after 5s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 6s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 5s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 4s
Publish to npm / publish (push) Failing after 25s
MCP: Standards Compliance / README Completeness Check (push) Failing after 7s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 7s
MCP: Standards Compliance / File Naming Standards (push) Successful in 9s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 14s
MCP: Standards Compliance / Line Length Check (push) Failing after 12s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 6s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 9s
MCP: Standards Compliance / File Size Limits (push) Successful in 6s
MCP: Standards Compliance / Binary File Detection (push) Successful in 7s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m14s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 7s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m20s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 8s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 7s
MCP: Standards Compliance / Accessibility Check (push) Successful in 6s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 1m32s
MCP: Standards Compliance / Performance Metrics (push) Successful in 5s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 1m18s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m24s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 13s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 8s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m18s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m29s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m34s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m37s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-21 23:09:12 +00:00
Jonathan Miller 6d807459b6 chore: remove automation/ and scripts/ directories
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 16s
Universal: Changelog Validation / Validate CHANGELOG.md (pull_request) Failing after 6s
MCP: Copilot Agent / Run Copilot Coding Agent (pull_request) Failing after 2s
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
Universal: PR Check / Validate PR (pull_request) Failing after 6s
Universal: PR Check / Secret Scan (pull_request) Successful in 7s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 5s
MCP: Standards Compliance / Secret Scanning (pull_request) Successful in 6s
MCP: Standards Compliance / License Header Validation (pull_request) Failing after 4s
MCP: Standards Compliance / Repository Structure Validation (pull_request) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (pull_request) Failing after 5s
MCP: Standards Compliance / Workflow Configuration Check (pull_request) Failing after 5s
MCP: Standards Compliance / Documentation Quality Check (pull_request) Successful in 5s
MCP: Standards Compliance / README Completeness Check (pull_request) Failing after 5s
MCP: Standards Compliance / Git Repository Hygiene (pull_request) Successful in 5s
MCP: Standards Compliance / Script Integrity Validation (pull_request) Successful in 8s
MCP: Standards Compliance / File Naming Standards (pull_request) Successful in 5s
MCP: Standards Compliance / Line Length Check (pull_request) Failing after 6s
Universal: CodeQL Analysis / Analyze (actions) (pull_request) Failing after 1m10s
MCP: Standards Compliance / Insecure Code Pattern Detection (pull_request) Successful in 6s
Universal: CodeQL Analysis / Analyze (javascript) (pull_request) Failing after 1m10s
MCP: Standards Compliance / Dead Code Detection (pull_request) Failing after 4s
MCP: Standards Compliance / File Size Limits (pull_request) Successful in 5s
MCP: Standards Compliance / Binary File Detection (pull_request) Successful in 6s
MCP: Standards Compliance / TODO/FIXME Tracking (pull_request) Successful in 5s
MCP: Standards Compliance / Broken Link Detection (pull_request) Successful in 6s
MCP: Standards Compliance / API Documentation Coverage (pull_request) Successful in 6s
MCP: Standards Compliance / Accessibility Check (pull_request) Successful in 6s
MCP: Standards Compliance / Performance Metrics (pull_request) Successful in 5s
MCP: Standards Compliance / Version Consistency Check (pull_request) Successful in 1m13s
MCP: Standards Compliance / Code Complexity Analysis (pull_request) Successful in 1m15s
MCP: Standards Compliance / Code Duplication Detection (pull_request) Successful in 1m18s
MCP: Standards Compliance / Unused Dependencies Check (pull_request) Successful in 1m13s
Universal: Auto-Assign / Assign unassigned issues and PRs (pull_request_target) Successful in 2s
MCP: Standards Compliance / Terraform Configuration Validation (pull_request) Successful in 17s
MCP: Standards Compliance / Dependency Vulnerability Scanning (pull_request) Successful in 1m23s
MCP: Standards Compliance / Enterprise Readiness Check (pull_request) Successful in 1m11s
MCP: Standards Compliance / Repository Health Check (pull_request) Successful in 1m9s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Failing after 1m9s
Branch Cleanup / Delete merged branch (pull_request) Failing after 2s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 5s
Universal: CodeQL Analysis / Security Scan Summary (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
MCP: Standards Compliance / Compliance Summary (pull_request) Has been cancelled
2026-06-21 18:01:59 -05:00
jmiller aa67a003ed chore: sync auto-release.yml from Template-Generic [skip ci] 2026-06-21 22:02:37 +00:00
jmiller 475d9ccb34 chore: sync pre-release.yml from Template-Generic [skip ci] 2026-06-21 16:05:25 +00:00
jmiller 9dc5c6a0a4 chore: sync composer-publish.yml from Template-Generic [skip ci] 2026-06-21 06:34:52 +00:00
jmiller ea6486abbc chore: sync workflow-sync-trigger.yml from Template-Generic [skip ci] 2026-06-21 01:27:52 +00:00
jmiller 19d38b7b4b chore: sync rc-revert.yml from Template-Generic [skip ci] 2026-06-21 01:27:51 +00:00
jmiller 24a80a12ba chore: sync issue-branch.yml from Template-Generic [skip ci] 2026-06-21 01:27:50 +00:00
jmiller 64662d420c chore: sync auto-release.yml from Template-Generic [skip ci] 2026-06-21 01:27:48 +00:00
jmiller 6f5ebc7c01 Merge pull request 'chore: bump to 1.4.2 [skip ci]' (#22) from chore/npm-version-bump into main
chore: bump to 1.4.2 [skip ci]
2026-06-21 00:25:14 +00:00
jmiller 7ae76812b4 chore: bump to 1.4.2 [skip ci] 2026-06-21 00:25:13 +00:00
jmiller db59fafb7e chore: delete manifest.xml (no longer used)
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 4s
Publish to npm / publish (push) Successful in 23s
MCP: Standards Compliance / Secret Scanning (push) Successful in 4s
MCP: Standards Compliance / License Header Validation (push) Failing after 3s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 3s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 3s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 3s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 4s
MCP: Standards Compliance / README Completeness Check (push) Failing after 3s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 3s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 5s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 54s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 56s
MCP: Standards Compliance / Line Length Check (push) Failing after 4s
MCP: Standards Compliance / File Naming Standards (push) Successful in 4s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 3s
MCP: Standards Compliance / File Size Limits (push) Successful in 3s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 5s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 5s
MCP: Standards Compliance / Binary File Detection (push) Successful in 5s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 42s
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 41s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 43s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 6s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 41s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 42s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 42s
MCP: Standards Compliance / Repository Health Check (push) Successful in 42s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 4s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-21 00:19:41 +00:00
jmiller eeb6b00253 chore: sync pr-check.yml from Template-Generic [skip ci] 2026-06-20 23:46:02 +00:00
jmiller 01ac621ff7 chore: sync gitleaks.yml from Template-Generic [skip ci] 2026-06-20 23:46:01 +00:00
jmiller d8d918c5fd chore: sync ci-generic.yml from Template-Generic [skip ci] 2026-06-20 23:46:01 +00:00
jmiller 91282615c0 chore: sync workflow-sync-trigger.yml from Template-Generic [skip ci] 2026-06-20 20:51:15 +00:00
jmiller af00f33fdc chore: sync rc-revert.yml from Template-Generic [skip ci] 2026-06-20 20:51:14 +00:00
jmiller 96f16180a6 chore: sync ci-generic.yml from Template-Generic [skip ci] 2026-06-20 20:51:11 +00:00
jmiller 961db656c0 Merge pull request 'chore: bump to 1.4.1 [skip ci]' (#21) from chore/npm-version-bump into main
chore: bump to 1.4.1 [skip ci]
2026-06-20 20:20:16 +00:00
jmiller 1284621629 chore: bump to 1.4.1 [skip ci] 2026-06-20 20:20:15 +00:00
jmiller c05ccc3c0b fix: use branch+PR for version bump push to bypass branch protection
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 5s
MCP: Standards Compliance / Secret Scanning (push) Successful in 5s
MCP: Standards Compliance / License Header Validation (push) Failing after 5s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 5s
Generic: Project CI / Lint & Validate (push) Successful in 19s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 4s
MCP: Standards Compliance / README Completeness Check (push) Failing after 5s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 5s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 7s
Publish to npm / publish (push) Successful in 27s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 10s
MCP: Standards Compliance / File Naming Standards (push) Successful in 4s
MCP: Standards Compliance / Line Length Check (push) Failing after 4s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 3s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 5s
MCP: Standards Compliance / File Size Limits (push) Successful in 3s
MCP: Standards Compliance / Binary File Detection (push) Successful in 6s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 4s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 48s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m1s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m2s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 6s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 4s
MCP: Standards Compliance / Accessibility Check (push) Successful in 4s
MCP: Standards Compliance / Performance Metrics (push) Successful in 3s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 48s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 52s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 5s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 16s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 53s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 55s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 52s
MCP: Standards Compliance / Repository Health Check (push) Successful in 52s
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-20 20:19:48 +00:00
jmiller 57b4e5d5ae Merge pull request 'fix: use fetch for DELETE+body to fix file_delete (#649)' (#20) from fix/649-file-delete-body into main
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 5s
MCP: Build & Validate / build (20) (push) Failing after 8s
MCP: Build & Release / Build, Validate & Release (push) Failing after 8s
MCP: Build & Validate / build (22) (push) Failing after 8s
MCP: Standards Compliance / Secret Scanning (push) Successful in 4s
MCP: Standards Compliance / License Header Validation (push) Failing after 4s
Generic: Project CI / Lint & Validate (push) Successful in 18s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 4s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 5s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 6s
Publish to npm / publish (push) Failing after 17s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 5s
MCP: Standards Compliance / README Completeness Check (push) Failing after 5s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 5s
MCP: Standards Compliance / Line Length Check (push) Failing after 5s
MCP: Standards Compliance / File Naming Standards (push) Successful in 4s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 7s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 4s
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 1m6s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m8s
MCP: Standards Compliance / Unused Dependencies Check (push) Failing after 5s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 53s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 5s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 4s
MCP: Standards Compliance / Accessibility Check (push) Successful in 4s
MCP: Standards Compliance / Performance Metrics (push) Successful in 4s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 15s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m2s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 8s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 1m6s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 59s
MCP: Standards Compliance / Repository Health Check (push) Successful in 58s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m2s
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-20 20:01:47 +00:00
Jonathan Miller b469a7da13 fix: use fetch for DELETE+body to fix file_delete (#649)
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Universal: Changelog Validation / Validate CHANGELOG.md (pull_request) Failing after 3s
MCP: Copilot Agent / Run Copilot Coding Agent (pull_request) Failing after 2s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 4s
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
MCP: Build & Validate / build (22) (pull_request) Failing after 10s
MCP: Build & Validate / build (20) (pull_request) Failing after 10s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Successful in 5s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Generic: Project CI / Lint & Validate (pull_request) Successful in 17s
MCP: Standards Compliance / Secret Scanning (pull_request) Successful in 4s
MCP: Standards Compliance / License Header Validation (pull_request) Failing after 5s
MCP: Standards Compliance / Repository Structure Validation (pull_request) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (pull_request) Failing after 4s
MCP: Standards Compliance / Workflow Configuration Check (pull_request) Failing after 4s
MCP: Standards Compliance / Documentation Quality Check (pull_request) Successful in 5s
MCP: Standards Compliance / README Completeness Check (pull_request) Failing after 4s
MCP: Standards Compliance / Git Repository Hygiene (pull_request) Successful in 5s
MCP: Standards Compliance / Line Length Check (pull_request) Failing after 9s
MCP: Standards Compliance / Script Integrity Validation (pull_request) Successful in 10s
MCP: Standards Compliance / File Naming Standards (pull_request) Successful in 7s
MCP: Standards Compliance / Insecure Code Pattern Detection (pull_request) Successful in 4s
Universal: CodeQL Analysis / Analyze (actions) (pull_request) Failing after 1m9s
Universal: CodeQL Analysis / Analyze (javascript) (pull_request) Failing after 1m10s
MCP: Standards Compliance / Version Consistency Check (pull_request) Successful in 52s
MCP: Standards Compliance / File Size Limits (pull_request) Successful in 5s
MCP: Standards Compliance / Dead Code Detection (pull_request) Successful in 33s
MCP: Standards Compliance / Binary File Detection (pull_request) Successful in 5s
MCP: Standards Compliance / TODO/FIXME Tracking (pull_request) Successful in 4s
MCP: Standards Compliance / Broken Link Detection (pull_request) Successful in 4s
MCP: Standards Compliance / API Documentation Coverage (pull_request) Successful in 3s
MCP: Standards Compliance / Code Duplication Detection (pull_request) Successful in 46s
MCP: Standards Compliance / Code Complexity Analysis (pull_request) Successful in 48s
MCP: Standards Compliance / Accessibility Check (pull_request) Successful in 4s
MCP: Standards Compliance / Performance Metrics (pull_request) Successful in 5s
MCP: Standards Compliance / Repository Health Check (pull_request) Failing after 3s
Universal: Auto-Assign / Assign unassigned issues and PRs (pull_request_target) Successful in 1s
MCP: Standards Compliance / Terraform Configuration Validation (pull_request) Successful in 14s
MCP: Standards Compliance / Dependency Vulnerability Scanning (pull_request) Successful in 56s
MCP: Standards Compliance / Unused Dependencies Check (pull_request) Successful in 1m0s
MCP: Standards Compliance / Enterprise Readiness Check (pull_request) Successful in 57s
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Failing after 12s
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
Generic: Project CI / Tests (pull_request) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (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
MCP: Standards Compliance / Compliance Summary (pull_request) Has been cancelled
node:https drops the request body on DELETE requests through some
proxy/TLS configurations, causing Gitea to see an empty body and
return "file already exists" (routes to CREATE handler).

Switch to built-in fetch() for DELETE requests with a body, which
handles this correctly.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-20 14:55:22 -05:00
jmiller 921a0c8c79 fix: rename moko-platform to mokocli + changelog promotion in workflows
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 8s
Generic: Project CI / Lint & Validate (push) Successful in 21s
MCP: Standards Compliance / Secret Scanning (push) Successful in 4s
MCP: Standards Compliance / License Header Validation (push) Failing after 4s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 4s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 3s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 3s
MCP: Standards Compliance / README Completeness Check (push) Failing after 3s
Publish to npm / publish (push) Failing after 20s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 3s
MCP: Standards Compliance / Line Length Check (push) Failing after 6s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 6s
MCP: Standards Compliance / File Naming Standards (push) Successful in 2s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 3s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m0s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m1s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 42s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 35s
MCP: Standards Compliance / File Size Limits (push) Successful in 5s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 5s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 5s
MCP: Standards Compliance / Binary File Detection (push) Successful in 6s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 37s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 4s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 5s
MCP: Standards Compliance / Accessibility Check (push) Successful in 6s
MCP: Standards Compliance / Performance Metrics (push) Successful in 5s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 15s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 56s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 55s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m7s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m7s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 4s
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-20 17:16:21 +00:00
jmiller 33df511afc fix: rename moko-platform to mokocli + changelog promotion in workflows
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 5s
Generic: Project CI / Lint & Validate (push) Successful in 22s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m5s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 56s
Publish to npm / publish (push) Failing after 22s
MCP: Standards Compliance / Secret Scanning (push) Successful in 6s
MCP: Standards Compliance / License Header Validation (push) Failing after 4s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 5s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 6s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 4s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 5s
MCP: Standards Compliance / README Completeness Check (push) Failing after 4s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 4s
MCP: Standards Compliance / File Naming Standards (push) Successful in 5s
MCP: Standards Compliance / Line Length Check (push) Failing after 6s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 7s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 5s
MCP: Standards Compliance / Code Duplication Detection (push) Failing after 3s
MCP: Standards Compliance / Dead Code Detection (push) Failing after 4s
MCP: Standards Compliance / File Size Limits (push) Successful in 4s
MCP: Standards Compliance / Binary File Detection (push) Successful in 5s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 5s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 4s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 4s
MCP: Standards Compliance / Accessibility Check (push) Successful in 4s
MCP: Standards Compliance / Performance Metrics (push) Successful in 4s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 56s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 51s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 11s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m1s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 59s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 52s
MCP: Standards Compliance / Repository Health Check (push) Successful in 53s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 4s
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-20 17:16:20 +00:00
jmiller 85bd938eab fix: rename moko-platform to mokocli + changelog promotion in workflows
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 4s
Generic: Project CI / Lint & Validate (push) Successful in 15s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 50s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 49s
Publish to npm / publish (push) Failing after 16s
Generic: Repo Health / Access control (push) Successful in 1s
Generic: Repo Health / Site Health (push) Has been skipped
MCP: Standards Compliance / Secret Scanning (push) Successful in 8s
MCP: Standards Compliance / License Header Validation (push) Failing after 5s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 5s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 4s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 4s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 5s
MCP: Standards Compliance / README Completeness Check (push) Failing after 5s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 5s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 6s
MCP: Standards Compliance / File Naming Standards (push) Successful in 4s
MCP: Standards Compliance / Line Length Check (push) Failing after 5s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 6s
MCP: Standards Compliance / File Size Limits (push) Successful in 6s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 10s
MCP: Standards Compliance / Binary File Detection (push) Successful in 8s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 6s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 6s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 5s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 1m0s
MCP: Standards Compliance / Accessibility Check (push) Successful in 5s
MCP: Standards Compliance / Performance Metrics (push) Successful in 5s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 1m2s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 9s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m13s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m14s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m19s
MCP: Standards Compliance / Repository Health Check (push) Successful in 57s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m5s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 5s
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-20 17:16:19 +00:00
jmiller ba525df8b2 fix: rename moko-platform to mokocli + changelog promotion in workflows
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 4s
Generic: Project CI / Lint & Validate (push) Successful in 16s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 46s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 50s
Publish to npm / publish (push) Failing after 16s
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 2s
MCP: Standards Compliance / Secret Scanning (push) Successful in 4s
MCP: Standards Compliance / License Header Validation (push) Failing after 4s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 3s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 4s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 3s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 3s
MCP: Standards Compliance / README Completeness Check (push) Failing after 3s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 3s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 4s
MCP: Standards Compliance / Line Length Check (push) Failing after 3s
MCP: Standards Compliance / File Naming Standards (push) Successful in 2s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 3s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 38s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 36s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 4s
MCP: Standards Compliance / File Size Limits (push) Successful in 3s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 35s
MCP: Standards Compliance / Binary File Detection (push) Successful in 4s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 3s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 4s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 5s
MCP: Standards Compliance / Accessibility Check (push) Successful in 4s
MCP: Standards Compliance / Performance Metrics (push) Successful in 4s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 10s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 47s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 51s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m12s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m13s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 5s
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-20 17:16:19 +00:00
jmiller 311bfdc947 fix: rename moko-platform to mokocli + changelog promotion in workflows
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 3s
Generic: Project CI / Lint & Validate (push) Successful in 14s
Publish to npm / publish (push) Failing after 18s
Generic: Repo Health / Access control (push) Successful in 2s
Generic: Repo Health / Site Health (push) Has been skipped
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 55s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 57s
MCP: Standards Compliance / Secret Scanning (push) Successful in 3s
MCP: Standards Compliance / License Header Validation (push) Failing after 3s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 3s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 3s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 3s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 3s
MCP: Standards Compliance / README Completeness Check (push) Failing after 3s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 3s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 4s
MCP: Standards Compliance / Line Length Check (push) Failing after 3s
MCP: Standards Compliance / File Naming Standards (push) Successful in 3s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 35s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 5s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 35s
MCP: Standards Compliance / File Size Limits (push) Successful in 3s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 3s
MCP: Standards Compliance / Binary File Detection (push) Successful in 3s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 39s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 41s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 5s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 4s
MCP: Standards Compliance / Accessibility Check (push) Successful in 5s
MCP: Standards Compliance / Performance Metrics (push) Successful in 5s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 52s
MCP: Standards Compliance / Repository Health Check (push) Successful in 52s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 7s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 6s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Failing after 13m1s
MCP: Standards Compliance / Version Consistency Check (push) Failing after 13m26s
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-20 17:16:18 +00:00
jmiller 48f975e4f1 fix: rename moko-platform to mokocli + changelog promotion in workflows
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 4s
Generic: Project CI / Lint & Validate (push) Successful in 14s
Publish to npm / publish (push) Failing after 18s
Generic: Repo Health / Access control (push) Successful in 2s
Generic: Repo Health / Site Health (push) Has been skipped
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 49s
MCP: Standards Compliance / Secret Scanning (push) Successful in 6s
MCP: Standards Compliance / License Header Validation (push) Failing after 4s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 5s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m0s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 4s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 4s
MCP: Standards Compliance / README Completeness Check (push) Failing after 4s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 4s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 6s
MCP: Standards Compliance / Line Length Check (push) Failing after 5s
MCP: Standards Compliance / File Naming Standards (push) Successful in 4s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 4s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 54s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 52s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 42s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 4s
MCP: Standards Compliance / File Size Limits (push) Successful in 3s
MCP: Standards Compliance / Binary File Detection (push) Successful in 3s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 3s
MCP: Standards Compliance / Performance Metrics (push) Successful in 5s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 5s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 5s
MCP: Standards Compliance / Accessibility Check (push) Successful in 5s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 37s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 36s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 34s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 7s
MCP: Standards Compliance / Repository Health Check (push) Successful in 35s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 7s
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-20 17:16:18 +00:00
jmiller a6951e07f2 Merge pull request 'fix: remove display_name, rename package_type to extension_type (#17)' (#19) from fix/17-display-name-readonly into main
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 5s
Generic: Project CI / Lint & Validate (push) Successful in 18s
MCP: Build & Validate / build (20) (push) Failing after 7s
MCP: Build & Validate / build (22) (push) Failing after 9s
Generic: Repo Health / Access control (push) Successful in 1s
Generic: Repo Health / Site Health (push) Has been skipped
MCP: Tool Inventory / inventory (push) Failing after 5s
MCP: Standards Compliance / Secret Scanning (push) Successful in 3s
MCP: Standards Compliance / License Header Validation (push) Failing after 3s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 3s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 3s
MCP: Build & Release / Build, Validate & Release (push) Failing after 39s
Publish to npm / publish (push) Failing after 14s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 3s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 3s
MCP: Standards Compliance / README Completeness Check (push) Failing after 3s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 4s
MCP: Standards Compliance / Line Length Check (push) Failing after 4s
MCP: Standards Compliance / File Naming Standards (push) Successful in 4s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 6s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 4s
MCP: Standards Compliance / File Size Limits (push) Successful in 3s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 5s
MCP: Standards Compliance / Binary File Detection (push) Successful in 4s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 4s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 5s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 4s
MCP: Standards Compliance / Accessibility Check (push) Successful in 4s
MCP: Standards Compliance / Performance Metrics (push) Successful in 3s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 48s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 45s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 43s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 44s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 44s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 9s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 43s
MCP: Standards Compliance / Repository Health Check (push) Successful in 39s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 35s
Generic: Project CI / Tests (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-19 08:16:18 +00:00
Jonathan Miller 95dca13c94 fix: remove display_name from metadata update, rename package_type to extension_type (#17)
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 2s
Universal: Changelog Validation / Validate CHANGELOG.md (pull_request) Failing after 4s
MCP: Copilot Agent / Run Copilot Coding Agent (pull_request) Failing after 2s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 5s
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
MCP: Build & Validate / build (22) (pull_request) Failing after 6s
MCP: Build & Validate / build (20) (pull_request) Failing after 7s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Successful in 4s
MCP: Standards Compliance / Secret Scanning (pull_request) Successful in 4s
Generic: Project CI / Lint & Validate (pull_request) Successful in 15s
MCP: Standards Compliance / License Header Validation (pull_request) Failing after 8s
MCP: Standards Compliance / Repository Structure Validation (pull_request) Failing after 6s
MCP: Standards Compliance / Coding Standards Check (pull_request) Failing after 9s
MCP: Standards Compliance / Workflow Configuration Check (pull_request) Failing after 4s
MCP: Standards Compliance / Documentation Quality Check (pull_request) Successful in 4s
MCP: Standards Compliance / README Completeness Check (pull_request) Failing after 2s
MCP: Standards Compliance / Git Repository Hygiene (pull_request) Successful in 3s
MCP: Standards Compliance / Script Integrity Validation (pull_request) Successful in 6s
MCP: Standards Compliance / File Naming Standards (pull_request) Successful in 3s
MCP: Standards Compliance / Line Length Check (pull_request) Failing after 4s
MCP: Standards Compliance / Insecure Code Pattern Detection (pull_request) Successful in 2s
MCP: Standards Compliance / Dead Code Detection (pull_request) Successful in 4s
MCP: Standards Compliance / File Size Limits (pull_request) Successful in 4s
MCP: Standards Compliance / Binary File Detection (pull_request) Successful in 4s
MCP: Standards Compliance / TODO/FIXME Tracking (pull_request) Successful in 4s
Universal: CodeQL Analysis / Analyze (javascript) (pull_request) Failing after 55s
Universal: CodeQL Analysis / Analyze (actions) (pull_request) Failing after 55s
MCP: Standards Compliance / Broken Link Detection (pull_request) Successful in 4s
MCP: Standards Compliance / Version Consistency Check (pull_request) Successful in 43s
MCP: Standards Compliance / API Documentation Coverage (pull_request) Successful in 3s
MCP: Standards Compliance / Accessibility Check (pull_request) Successful in 4s
MCP: Standards Compliance / Performance Metrics (pull_request) Successful in 3s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
MCP: Standards Compliance / Code Complexity Analysis (pull_request) Successful in 41s
MCP: Standards Compliance / Code Duplication Detection (pull_request) Successful in 41s
Universal: Auto-Assign / Assign unassigned issues and PRs (pull_request_target) Successful in 2s
Universal: Build & Release / Build & Release Pipeline (pull_request) Failing after 5s
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
MCP: Standards Compliance / Terraform Configuration Validation (pull_request) Successful in 10s
MCP: Standards Compliance / Dependency Vulnerability Scanning (pull_request) Successful in 50s
MCP: Standards Compliance / Unused Dependencies Check (pull_request) Successful in 52s
MCP: Standards Compliance / Enterprise Readiness Check (pull_request) Successful in 51s
MCP: Standards Compliance / Repository Health Check (pull_request) Successful in 51s
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
Generic: Project CI / Tests (pull_request) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (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
MCP: Standards Compliance / Compliance Summary (pull_request) Has been cancelled
display_name is now computed server-side via DerivedDisplayName().
package_type was renamed to extension_type in MokoGitea-Fork #646.
2026-06-19 03:01:47 -05:00
jmiller 3cece0a975 Merge pull request 'fix: add missing fields to gitea_metadata_update tool (#649)' (#16) from fix/649-metadata-update-missing-fields into main
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 4s
Generic: Project CI / Lint & Validate (push) Successful in 14s
MCP: Build & Validate / build (20) (push) Failing after 6s
MCP: Build & Validate / build (22) (push) Failing after 8s
Generic: Repo Health / Access control (push) Successful in 1s
Generic: Repo Health / Site Health (push) Has been skipped
MCP: Tool Inventory / inventory (push) Failing after 4s
MCP: Standards Compliance / Secret Scanning (push) Successful in 3s
MCP: Standards Compliance / License Header Validation (push) Failing after 3s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 45s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 3s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 3s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 4s
Publish to npm / publish (push) Failing after 14s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 4s
MCP: Standards Compliance / README Completeness Check (push) Failing after 3s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 4s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 4s
MCP: Standards Compliance / File Naming Standards (push) Successful in 3s
MCP: Standards Compliance / Line Length Check (push) Failing after 4s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 3s
MCP: Build & Release / Build, Validate & Release (push) Failing after 43s
MCP: Standards Compliance / File Size Limits (push) Successful in 4s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 4s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 53s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 4s
MCP: Standards Compliance / Binary File Detection (push) Successful in 4s
MCP: Standards Compliance / Unused Dependencies Check (push) Failing after 2s
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 4s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 49s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 45s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 45s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 7s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 47s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 43s
MCP: Standards Compliance / Repository Health Check (push) Successful in 42s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 27s
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-19 07:29:53 +00:00
Jonathan Miller 15e849f4c5 fix: add missing fields to gitea_metadata_update tool (#649)
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
MCP: Copilot Agent / Run Copilot Coding Agent (pull_request) Failing after 2s
Universal: Changelog Validation / Validate CHANGELOG.md (pull_request) Failing after 4s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 5s
MCP: Build & Validate / build (20) (pull_request) Failing after 6s
Universal: PR Check / Branch Policy (pull_request) Failing after 1s
Generic: Repo Health / Access control (pull_request) Successful in 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Successful in 4s
Generic: Project CI / Lint & Validate (pull_request) Successful in 14s
MCP: Build & Validate / build (22) (pull_request) Failing after 10s
MCP: Standards Compliance / Secret Scanning (pull_request) Successful in 4s
MCP: Standards Compliance / License Header Validation (pull_request) Failing after 4s
MCP: Standards Compliance / Repository Structure Validation (pull_request) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (pull_request) Failing after 3s
MCP: Standards Compliance / Workflow Configuration Check (pull_request) Failing after 3s
MCP: Standards Compliance / Documentation Quality Check (pull_request) Successful in 3s
MCP: Standards Compliance / README Completeness Check (pull_request) Failing after 3s
MCP: Standards Compliance / Git Repository Hygiene (pull_request) Successful in 4s
MCP: Standards Compliance / Script Integrity Validation (pull_request) Successful in 7s
MCP: Standards Compliance / Line Length Check (pull_request) Failing after 6s
MCP: Standards Compliance / File Naming Standards (pull_request) Successful in 5s
MCP: Standards Compliance / Insecure Code Pattern Detection (pull_request) Successful in 5s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
MCP: Standards Compliance / Dead Code Detection (pull_request) Successful in 5s
MCP: Standards Compliance / File Size Limits (pull_request) Successful in 3s
Universal: Build & Release / Build & Release Pipeline (pull_request) Failing after 5s
MCP: Standards Compliance / Binary File Detection (pull_request) Successful in 4s
MCP: Standards Compliance / TODO/FIXME Tracking (pull_request) Successful in 3s
Universal: CodeQL Analysis / Analyze (actions) (pull_request) Failing after 1m0s
MCP: Standards Compliance / Version Consistency Check (pull_request) Successful in 44s
Universal: CodeQL Analysis / Analyze (javascript) (pull_request) Failing after 1m3s
MCP: Standards Compliance / Broken Link Detection (pull_request) Successful in 3s
MCP: Standards Compliance / API Documentation Coverage (pull_request) Successful in 4s
MCP: Standards Compliance / Accessibility Check (pull_request) Successful in 3s
MCP: Standards Compliance / Performance Metrics (pull_request) Successful in 3s
MCP: Standards Compliance / Code Complexity Analysis (pull_request) Successful in 42s
MCP: Standards Compliance / Code Duplication Detection (pull_request) Successful in 43s
Universal: Auto-Assign / Assign unassigned issues and PRs (pull_request_target) Successful in 1s
Branch Cleanup / Delete merged branch (pull_request) Failing after 2s
MCP: Standards Compliance / Terraform Configuration Validation (pull_request) Successful in 8s
MCP: Standards Compliance / Dependency Vulnerability Scanning (pull_request) Successful in 47s
MCP: Standards Compliance / Unused Dependencies Check (pull_request) Successful in 44s
MCP: Standards Compliance / Repository Health Check (pull_request) Successful in 46s
MCP: Standards Compliance / Enterprise Readiness Check (pull_request) Successful in 47s
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
Generic: Project CI / Tests (pull_request) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (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
MCP: Standards Compliance / Compliance Summary (pull_request) Has been cancelled
Add 9 fields that metadata_get returns but metadata_update didn't expose:
description, license_name, element_name, standards_version,
standards_source, display_name, maintainer, maintainer_url, language.

No logic changes needed — existing merge semantics handle them
automatically (fetch current, spread, overwrite provided fields).

Closes #649
2026-06-19 02:28:41 -05:00
Jonathan Miller 332195e774 chore: bump version to 1.4.0 for npm publish
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 7s
Generic: Project CI / Lint & Validate (push) Successful in 23s
MCP: Build & Validate / build (20) (push) Failing after 15s
MCP: Build & Release / Build, Validate & Release (push) Failing after 33s
MCP: Build & Validate / build (22) (push) Failing after 8s
Generic: Repo Health / Access control (push) Successful in 6s
Generic: Repo Health / Site Health (push) Has been skipped
MCP: Standards Compliance / Secret Scanning (push) Successful in 6s
Publish to npm / publish (push) Failing after 24s
MCP: Standards Compliance / License Header Validation (push) Failing after 5s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 5s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 5s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m9s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m10s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 11s
MCP: Standards Compliance / README Completeness Check (push) Failing after 6s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 9s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 8s
MCP: Standards Compliance / Line Length Check (push) Failing after 7s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 9s
MCP: Standards Compliance / File Naming Standards (push) Successful in 5s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 5s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 8s
MCP: Standards Compliance / File Size Limits (push) Successful in 7s
MCP: Standards Compliance / Binary File Detection (push) Successful in 10s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 10s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 1m31s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 2m0s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m59s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 8s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 8s
MCP: Standards Compliance / Accessibility Check (push) Successful in 7s
MCP: Standards Compliance / Performance Metrics (push) Successful in 6s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 10s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m47s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m22s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 30s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 42s
MCP: Standards Compliance / Repository Health Check (push) Successful in 43s
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
Also exclude unfinished server.ts/sse.ts from tsconfig to fix build.
2026-06-18 20:08:03 -05:00
jmiller 43ac2918dd Merge pull request 'feat: add wiki create, edit, and delete tools' (#15) from feature/wiki-crud-tools into main
Generic: Project CI / Lint & Validate (push) Successful in 19s
MCP: Build & Validate / build (20) (push) Failing after 7s
MCP: Build & Validate / build (22) (push) Failing after 7s
Generic: Repo Health / Access control (push) Successful in 2s
Generic: Repo Health / Site Health (push) Has been skipped
MCP: Standards Compliance / Secret Scanning (push) Successful in 4s
MCP: Standards Compliance / License Header Validation (push) Failing after 4s
MCP: Tool Inventory / inventory (push) Failing after 17s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 3s
Publish to npm / publish (push) Failing after 18s
MCP: Build & Release / Build, Validate & Release (push) Failing after 35s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 4s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 3s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 4s
MCP: Standards Compliance / README Completeness Check (push) Failing after 4s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 4s
MCP: Standards Compliance / Line Length Check (push) Failing after 4s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 5s
MCP: Standards Compliance / File Naming Standards (push) Successful in 4s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 3s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m4s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 4s
MCP: Standards Compliance / File Size Limits (push) Successful in 4s
MCP: Standards Compliance / Binary File Detection (push) Successful in 5s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 58s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 4s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 5s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 4s
MCP: Standards Compliance / Accessibility Check (push) Successful in 4s
MCP: Standards Compliance / Performance Metrics (push) Successful in 4s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 50s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 53s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 53s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 7s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 51s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 53s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 32s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 55s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m1s
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
2026-06-19 01:03:28 +00:00
Jonathan Miller 6a1fc63dfd fix: correct wiki create endpoint and use strict undefined checks
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 8s
Universal: Auto Version Bump / Version Bump (push) Successful in 9s
MCP: Copilot Agent / Run Copilot Coding Agent (pull_request) Failing after 4s
Universal: Changelog Validation / Validate CHANGELOG.md (pull_request) Failing after 12s
Generic: Repo Health / Access control (pull_request) Successful in 3s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 9s
MCP: Standards Compliance / Secret Scanning (pull_request) Successful in 10s
MCP: Standards Compliance / License Header Validation (pull_request) Failing after 10s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
MCP: Standards Compliance / Repository Structure Validation (pull_request) Failing after 8s
MCP: Standards Compliance / Workflow Configuration Check (pull_request) Failing after 9s
MCP: Standards Compliance / Coding Standards Check (pull_request) Failing after 14s
Universal: Build & Release / Build & Release Pipeline (pull_request) Failing after 16s
MCP: Standards Compliance / Documentation Quality Check (pull_request) Successful in 9s
MCP: Standards Compliance / README Completeness Check (pull_request) Failing after 10s
MCP: Standards Compliance / Git Repository Hygiene (pull_request) Successful in 10s
Generic: Project CI / Lint & Validate (pull_request) Successful in 59s
MCP: Standards Compliance / Script Integrity Validation (pull_request) Successful in 13s
MCP: Standards Compliance / Line Length Check (pull_request) Failing after 7s
MCP: Standards Compliance / File Naming Standards (pull_request) Successful in 7s
MCP: Standards Compliance / Insecure Code Pattern Detection (pull_request) Successful in 6s
MCP: Standards Compliance / Dead Code Detection (pull_request) Successful in 8s
MCP: Standards Compliance / File Size Limits (pull_request) Successful in 4s
Universal: CodeQL Analysis / Analyze (javascript) (pull_request) Failing after 1m19s
MCP: Standards Compliance / Binary File Detection (pull_request) Successful in 5s
MCP: Standards Compliance / TODO/FIXME Tracking (pull_request) Successful in 4s
Universal: CodeQL Analysis / Analyze (actions) (pull_request) Failing after 1m28s
MCP: Standards Compliance / Broken Link Detection (pull_request) Successful in 4s
MCP: Standards Compliance / API Documentation Coverage (pull_request) Successful in 4s
MCP: Standards Compliance / Version Consistency Check (pull_request) Successful in 1m17s
MCP: Standards Compliance / Accessibility Check (pull_request) Successful in 3s
MCP: Standards Compliance / Performance Metrics (pull_request) Successful in 3s
MCP: Standards Compliance / Code Complexity Analysis (pull_request) Successful in 53s
MCP: Standards Compliance / Code Duplication Detection (pull_request) Successful in 53s
Branch Cleanup / Delete merged branch (pull_request) Failing after 1s
MCP: Standards Compliance / Terraform Configuration Validation (pull_request) Successful in 6s
MCP: Standards Compliance / Unused Dependencies Check (pull_request) Successful in 53s
MCP: Standards Compliance / Dependency Vulnerability Scanning (pull_request) Successful in 55s
MCP: Standards Compliance / Enterprise Readiness Check (pull_request) Successful in 51s
MCP: Standards Compliance / Repository Health Check (pull_request) Successful in 52s
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
Generic: Project CI / Tests (pull_request) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (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
MCP: Standards Compliance / Compliance Summary (pull_request) Has been cancelled
- Change create endpoint from /wiki/new (web UI route) to /wiki/pages (API route)
- Use !== undefined instead of truthiness checks for optional string params
2026-06-18 20:02:08 -05:00
26 changed files with 2257 additions and 2102 deletions
-25
View File
@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
MokoStandards Repository Manifest
Auto-generated by cleanup script.
See: https://git.mokoconsulting.tech/MokoConsulting/moko-platform/wiki/Home
-->
<moko-platform xmlns="https://standards.mokoconsulting.tech/moko-platform/1.0" schema-version="1.0">
<identity>
<name>gitea-api-mcp</name>
<org>MokoConsulting</org>
<description>MCP server for Gitea REST API v1 operations — 61 tools for repos, issues, PRs, releases, branches, actions, orgs, wiki, webhooks, and more</description>
<license spdx="GPL-3.0-or-later">GNU General Public License v3</license>
</identity>
<governance>
<platform>nodejs</platform>
<standards-version>04.07.00</standards-version>
<standards-source>https://git.mokoconsulting.tech/MokoConsulting/moko-platform</standards-source>
<last-synced>2026-05-10T19:51:11+00:00</last-synced>
</governance>
<build>
<language>TypeScript</language>
<package-type>mcp-server</package-type>
<entry-point>src/</entry-point>
</build>
</moko-platform>
+66 -66
View File
@@ -1,66 +1,66 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Release
# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
# PATH: /.mokogitea/workflows/auto-bump.yml
# VERSION: 09.02.00
# BRIEF: Auto patch-bump version on every push to dev (skips merge commits)
name: "Universal: Auto Version Bump"
on:
push:
branches:
- dev
- rc
- 'feature/**'
- 'patch/**'
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
permissions:
contents: write
jobs:
bump:
name: Version Bump
runs-on: release
if: >-
!contains(github.event.head_commit.message, '[skip ci]') &&
!contains(github.event.head_commit.message, '[skip bump]') &&
!startsWith(github.event.head_commit.message, 'Merge pull request')
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ secrets.MOKOGITEA_TOKEN }}
fetch-depth: 1
- name: Setup moko-platform tools
run: |
if ! command -v composer &> /dev/null; then
sudo apt-get update -qq && sudo apt-get install -y -qq php-cli php-mbstring php-xml php-zip php-curl composer >/dev/null 2>&1
fi
if [ -d "/opt/moko-platform/cli" ]; then
echo "MOKO_CLI=/opt/moko-platform/cli" >> "$GITHUB_ENV"
else
git clone --depth 1 --branch main --quiet \
"https://x-access-token:${{ secrets.MOKOGITEA_TOKEN }}@git.mokoconsulting.tech/MokoConsulting/moko-platform.git" \
/tmp/moko-platform-api
cd /tmp/moko-platform-api && composer install --no-dev --no-interaction --quiet
echo "MOKO_CLI=/tmp/moko-platform-api/cli" >> "$GITHUB_ENV"
fi
- name: Bump version
run: |
php ${MOKO_CLI}/version_auto_bump.php \
--path . --branch "${GITHUB_REF_NAME}" \
--token "${{ secrets.MOKOGITEA_TOKEN }}" \
--repo-url "https://x-access-token:${{ secrets.MOKOGITEA_TOKEN }}@git.mokoconsulting.tech/${{ github.repository }}.git"
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: mokocli.Release
# REPO: https://git.mokoconsulting.tech/MokoConsulting/mokocli
# PATH: /.mokogitea/workflows/auto-bump.yml
# VERSION: 09.02.00
# BRIEF: Auto patch-bump version on every push to dev (skips merge commits)
name: "Universal: Auto Version Bump"
on:
push:
branches:
- dev
- rc
- 'feature/**'
- 'patch/**'
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
MOKOGITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
permissions:
contents: write
jobs:
bump:
name: Version Bump
runs-on: release
if: >-
!contains(github.event.head_commit.message, '[skip ci]') &&
!contains(github.event.head_commit.message, '[skip bump]') &&
!startsWith(github.event.head_commit.message, 'Merge pull request')
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ secrets.MOKOGITEA_TOKEN }}
fetch-depth: 1
- name: Setup mokocli tools
run: |
if ! command -v composer &> /dev/null; then
sudo apt-get update -qq && sudo apt-get install -y -qq php-cli php-mbstring php-xml php-zip php-curl composer >/dev/null 2>&1
fi
if [ -d "/opt/mokocli/cli" ]; then
echo "MOKO_CLI=/opt/mokocli/cli" >> "$GITHUB_ENV"
else
git clone --depth 1 --branch main --quiet \
"https://x-access-token:${{ secrets.MOKOGITEA_TOKEN }}@git.mokoconsulting.tech/MokoConsulting/mokocli.git" \
/tmp/mokocli
cd /tmp/mokocli && composer install --no-dev --no-interaction --quiet
echo "MOKO_CLI=/tmp/mokocli/cli" >> "$GITHUB_ENV"
fi
- name: Bump version
run: |
php ${MOKO_CLI}/version_auto_bump.php \
--path . --branch "${GITHUB_REF_NAME}" \
--token "${{ secrets.MOKOGITEA_TOKEN }}" \
--repo-url "https://x-access-token:${{ secrets.MOKOGITEA_TOKEN }}@git.mokoconsulting.tech/${{ github.repository }}.git"
+171 -45
View File
@@ -4,15 +4,15 @@
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Release
# REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/moko-platform
# INGROUP: mokocli.Release
# REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/mokocli
# PATH: /templates/workflows/universal/auto-release.yml.template
# VERSION: 05.00.00
# BRIEF: Universal build & release detects platform from manifest.xml
#
# +========================================================================+
# +=======================================================================+
# | UNIVERSAL BUILD & RELEASE PIPELINE |
# +========================================================================+
# +=======================================================================+
# | |
# | Reads manifest.xml (joomla|dolibarr|generic) to branch logic. |
# | |
@@ -21,15 +21,24 @@
# | dolibarr: mod*.class.php, update.txt, dev version reset |
# | generic: README-only, no update stream |
# | |
# +========================================================================+
# +=======================================================================+
name: "Universal: Build & Release"
on:
pull_request:
types: [opened, closed]
types: [opened, synchronize, closed]
branches:
- main
paths-ignore:
- '.mokogitea/workflows/**'
- '*.md'
- 'wiki/**'
- '.editorconfig'
- '.gitignore'
- '.gitattributes'
- '.gitmessage'
- 'LICENSE'
workflow_dispatch:
inputs:
action:
@@ -43,7 +52,7 @@ on:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
MOKOGITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
GITEA_ORG: ${{ vars.GITEA_ORG || github.repository_owner }}
GITEA_REPO: ${{ vars.GITEA_REPO || github.event.repository.name }}
@@ -51,12 +60,13 @@ permissions:
contents: write
jobs:
# ── PR Opened → Rename branch to RC and build RC release ─────────────────────
# ── PR Opened → Rename branch to RC and build RC release ─────────────────────────
promote-rc:
name: Promote to RC
runs-on: release
if: >-
(github.event.action == 'opened' && github.event.pull_request.merged != true) ||
(github.event.action == 'synchronize' && github.event.pull_request.merged != true) ||
(github.event_name == 'workflow_dispatch' && inputs.action == 'promote-rc')
steps:
@@ -66,25 +76,25 @@ jobs:
token: ${{ secrets.MOKOGITEA_TOKEN }}
fetch-depth: 1
- name: Setup moko-platform tools
- name: Setup mokocli tools
env:
MOKO_CLONE_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
MOKO_CLONE_HOST: git.mokoconsulting.tech/MokoConsulting
run: |
if [ -f /opt/moko-platform/cli/version_bump.php ] && [ -f /opt/moko-platform/vendor/autoload.php ]; then
echo Using pre-installed /opt/moko-platform
echo MOKO_CLI=/opt/moko-platform/cli >> $GITHUB_ENV
if [ -f /opt/mokocli/cli/version_bump.php ] && [ -f /opt/mokocli/vendor/autoload.php ]; then
echo Using pre-installed /opt/mokocli
echo MOKO_CLI=/opt/mokocli/cli >> $GITHUB_ENV
else
echo Falling back to fresh clone
if ! command -v composer > /dev/null 2>&1; then
sudo apt-get update -qq && sudo apt-get install -y -qq php-cli php-mbstring php-xml php-zip php-curl composer > /dev/null 2>&1
fi
rm -rf /tmp/moko-platform-api
CLONE_URL=https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/moko-platform.git
git clone --depth 1 --branch main --quiet $CLONE_URL /tmp/moko-platform-api
cd /tmp/moko-platform-api
rm -rf /tmp/mokocli
CLONE_URL=https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/mokocli.git
git clone --depth 1 --branch main --quiet $CLONE_URL /tmp/mokocli
cd /tmp/mokocli
composer install --no-dev --no-interaction --quiet
echo MOKO_CLI=/tmp/moko-platform-api/cli >> $GITHUB_ENV
echo MOKO_CLI=/tmp/mokocli/cli >> $GITHUB_ENV
fi
- name: Rename branch to rc
@@ -92,7 +102,7 @@ jobs:
php ${MOKO_CLI}/branch_rename.php \
--from "${{ github.event.pull_request.head.ref || 'dev' }}" --to rc \
--token "${{ secrets.MOKOGITEA_TOKEN }}" \
--api-base "${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}" \
--api-base "${MOKOGITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}" \
--pr "${{ github.event.pull_request.number }}"
- name: Checkout rc and configure git
@@ -109,13 +119,47 @@ jobs:
--path . --stability rc --bump minor --branch rc \
--token "${{ secrets.MOKOGITEA_TOKEN }}"
- name: Update RC release notes from CHANGELOG.md
run: |
API_BASE="${MOKOGITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
TOKEN="${{ secrets.MOKOGITEA_TOKEN }}"
# Extract [Unreleased] section from changelog
NOTES=""
if [ -f "CHANGELOG.md" ]; then
NOTES=$(awk '/^## \[Unreleased\]/{found=1; next} /^## \[/{if(found) exit} found{print}' CHANGELOG.md)
fi
[ -z "$NOTES" ] && NOTES="Release candidate"
# Find the RC release and update its body
RELEASE_ID=$(curl -sf -H "Authorization: token ${TOKEN}" \
"${API_BASE}/releases/tags/release-candidate" \
| python3 -c "import json,sys; print(json.load(sys.stdin).get('id',''))" 2>/dev/null || true)
if [ -n "$RELEASE_ID" ]; then
python3 -c "
import json, urllib.request
body = open('/dev/stdin').read()
payload = json.dumps({'body': body}).encode()
req = urllib.request.Request(
'${API_BASE}/releases/${RELEASE_ID}',
data=payload, method='PATCH',
headers={
'Authorization': 'token ${TOKEN}',
'Content-Type': 'application/json'
})
urllib.request.urlopen(req)
" <<< "$NOTES"
echo "RC release notes updated from CHANGELOG.md"
fi
- name: Summary
if: always()
run: |
echo "## Promoted to Release Candidate" >> $GITHUB_STEP_SUMMARY
echo "Branch renamed to rc, minor bump, RC release built" >> $GITHUB_STEP_SUMMARY
# ── Merged PR → Build & Release (or promote RC to stable) ────────────────────
# ── Merged PR → Build & Release (or promote RC to stable) ─────────────────────────
release:
name: Build & Release Pipeline
runs-on: release
@@ -149,28 +193,34 @@ jobs:
fi
echo "No conflict markers found"
- name: Setup moko-platform tools
- name: Setup mokocli tools
env:
MOKO_CLONE_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
MOKO_CLONE_HOST: git.mokoconsulting.tech/MokoConsulting
COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GH_MIRROR_TOKEN }}"}}'
run: |
if [ -f /opt/moko-platform/cli/version_bump.php ] && [ -f /opt/moko-platform/vendor/autoload.php ]; then
echo Using pre-installed /opt/moko-platform
echo MOKO_CLI=/opt/moko-platform/cli >> $GITHUB_ENV
if [ -f /opt/mokocli/cli/version_bump.php ] && [ -f /opt/mokocli/vendor/autoload.php ]; then
echo Using pre-installed /opt/mokocli
echo MOKO_CLI=/opt/mokocli/cli >> $GITHUB_ENV
else
echo Falling back to fresh clone
if ! command -v composer > /dev/null 2>&1; then
sudo apt-get update -qq && sudo apt-get install -y -qq php-cli php-mbstring php-xml php-zip php-curl composer > /dev/null 2>&1
fi
rm -rf /tmp/moko-platform-api
CLONE_URL=https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/moko-platform.git
git clone --depth 1 --branch main --quiet $CLONE_URL /tmp/moko-platform-api
cd /tmp/moko-platform-api
rm -rf /tmp/mokocli
CLONE_URL=https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/mokocli.git
git clone --depth 1 --branch main --quiet $CLONE_URL /tmp/mokocli
cd /tmp/mokocli
composer install --no-dev --no-interaction --quiet
echo MOKO_CLI=/tmp/moko-platform-api/cli >> $GITHUB_ENV
echo MOKO_CLI=/tmp/mokocli/cli >> $GITHUB_ENV
fi
- name: "Detect platform"
id: platform
run: |
php ${MOKO_CLI}/platform_detect.php --path . --github-output 2>/dev/null || true
php ${MOKO_CLI}/manifest_read.php --path . --github-output 2>/dev/null || true
- name: "Determine version bump level"
id: bump
run: |
@@ -194,22 +244,80 @@ jobs:
--path . --stability stable ${BUMP_FLAG} --branch main \
--token "${{ secrets.MOKOGITEA_TOKEN }}"
- name: Update release notes from CHANGELOG.md
- name: "Read published version"
id: version
run: |
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
# Extract [Unreleased] section from changelog
if [ -f "CHANGELOG.md" ]; then
NOTES=$(awk '/^## \[Unreleased\]/{found=1; next} /^## \[/{if(found) exit} found{print}' CHANGELOG.md)
[ -z "$NOTES" ] && NOTES="Stable release"
VERSION=$(php ${MOKO_CLI}/version_read.php --path . 2>/dev/null || echo "")
VERSION=$(echo "$VERSION" | sed 's/-\(dev\|alpha\|beta\|rc\)$//')
[ -z "$VERSION" ] && VERSION="00.00.00" && echo "skip=true" >> "$GITHUB_OUTPUT"
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
PLATFORM="${{ steps.platform.outputs.platform }}"
if [[ "$PLATFORM" == joomla* ]]; then
echo "tag=stable" >> "$GITHUB_OUTPUT"
echo "release_tag=stable" >> "$GITHUB_OUTPUT"
else
NOTES="Stable release"
echo "tag=v${VERSION}" >> "$GITHUB_OUTPUT"
echo "release_tag=v${VERSION}" >> "$GITHUB_OUTPUT"
fi
echo "branch=main" >> "$GITHUB_OUTPUT"
echo "Published version: ${VERSION}"
- name: "Create semver tag for non-Joomla repos"
id: semver
if: |
steps.version.outputs.skip != 'true' &&
!startsWith(steps.platform.outputs.platform, 'joomla')
run: |
VERSION="${{ steps.version.outputs.version }}"
API_BASE="${MOKOGITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
TOKEN="${{ secrets.MOKOGITEA_TOKEN }}"
SEMVER_TAG="v${VERSION}"
echo "Creating semver tag: ${SEMVER_TAG}"
# Create the git tag via API
HTTP_CODE=$(curl -sf -o /dev/null -w "%{http_code}" \
-X POST -H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
"${API_BASE}/tags" \
-d "{\"tag_name\":\"${SEMVER_TAG}\",\"target\":\"main\",\"message\":\"Release ${VERSION}\"}" 2>/dev/null || echo "000")
if [ "$HTTP_CODE" = "201" ] || [ "$HTTP_CODE" = "200" ]; then
echo "Created semver tag: ${SEMVER_TAG}"
elif [ "$HTTP_CODE" = "409" ]; then
echo "Semver tag ${SEMVER_TAG} already exists (skipped)"
else
echo "::warning::Failed to create semver tag ${SEMVER_TAG} (HTTP ${HTTP_CODE})"
fi
# Update release body via API
RELEASE_ID=$(curl -sf -H "Authorization: token ${{ secrets.MOKOGITEA_TOKEN }}" \
"${API_BASE}/releases/tags/stable" | python3 -c "import json,sys; print(json.load(sys.stdin).get('id',''))" 2>/dev/null || true)
echo "semver_tag=${SEMVER_TAG}" >> "$GITHUB_OUTPUT"
- name: Update release notes and promote changelog
run: |
API_BASE="${MOKOGITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
TOKEN="${{ secrets.MOKOGITEA_TOKEN }}"
# Get the stable release info (version and ID)
RELEASE_JSON=$(curl -sf -H "Authorization: token ${TOKEN}" \
"${API_BASE}/releases/tags/stable" 2>/dev/null || echo '{}')
RELEASE_ID=$(python3 -c "import json,sys; print(json.load(sys.stdin).get('id',''))" <<< "$RELEASE_JSON" 2>/dev/null || true)
# Extract version from release name (e.g. "06.17.00" or "v06.17.00")
VERSION=$(python3 -c "
import json, sys, re
r = json.load(sys.stdin)
name = r.get('name', '')
m = re.search(r'(\d+\.\d+\.\d+)', name)
print(m.group(1) if m else '')
" <<< "$RELEASE_JSON" 2>/dev/null || true)
# Extract [Unreleased] section from changelog
NOTES=""
if [ -f "CHANGELOG.md" ]; then
NOTES=$(awk '/^## \[Unreleased\]/{found=1; next} /^## \[/{if(found) exit} found{print}' CHANGELOG.md)
fi
[ -z "$NOTES" ] && NOTES="Stable release"
# Update release body via API
if [ -n "$RELEASE_ID" ]; then
python3 -c "
import json, urllib.request
@@ -219,7 +327,7 @@ jobs:
'${API_BASE}/releases/${RELEASE_ID}',
data=payload, method='PATCH',
headers={
'Authorization': 'token ${{ secrets.MOKOGITEA_TOKEN }}',
'Authorization': 'token ${TOKEN}',
'Content-Type': 'application/json'
})
urllib.request.urlopen(req)
@@ -227,6 +335,24 @@ jobs:
echo "Release notes updated from CHANGELOG.md"
fi
# Promote [Unreleased] → [version] in CHANGELOG.md and reset
if [ -n "$VERSION" ] && [ -f "CHANGELOG.md" ]; then
DATE=$(date +%Y-%m-%d)
python3 -c "
import sys
version, date = sys.argv[1], sys.argv[2]
content = open('CHANGELOG.md').read()
old = '## [Unreleased]'
new = f'## [Unreleased]\n\n## [{version}] --- {date}'
content = content.replace(old, new, 1)
open('CHANGELOG.md', 'w').write(content)
" "$VERSION" "$DATE"
git add CHANGELOG.md
git commit -m "chore: promote changelog [Unreleased] → [${VERSION}]" || true
git push origin main || true
echo "Changelog promoted: [Unreleased] → [${VERSION}]"
fi
# -- STEP 9: Mirror to GitHub (stable only) --------------------------------
- name: "Step 9: Mirror release to GitHub"
if: >-
@@ -237,7 +363,7 @@ jobs:
VERSION="${{ steps.bump.outputs.version || steps.version.outputs.version }}"
RELEASE_TAG="${{ steps.version.outputs.release_tag }}"
GH_REPO="${{ vars.GH_MIRROR_REPO || github.repository }}"
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
API_BASE="${MOKOGITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
php ${MOKO_CLI}/release_mirror.php \
--version "$VERSION" --tag "$RELEASE_TAG" \
--token "${{ secrets.MOKOGITEA_TOKEN }}" --api-base "$API_BASE" \
@@ -266,7 +392,7 @@ jobs:
if: steps.version.outputs.skip != 'true'
continue-on-error: true
run: |
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
API_BASE="${MOKOGITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
TOKEN="${{ secrets.MOKOGITEA_TOKEN }}"
# Delete rc branch (ephemeral — created by promote-rc)
@@ -290,7 +416,7 @@ jobs:
if: steps.version.outputs.skip != 'true'
continue-on-error: true
run: |
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
API_BASE="${MOKOGITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
TOKEN="${{ secrets.MOKOGITEA_TOKEN }}"
VERSION="${{ steps.bump.outputs.version || steps.version.outputs.version }}"
BRANCH_NAME="version/${VERSION}"
@@ -311,7 +437,7 @@ jobs:
if: steps.version.outputs.skip != 'true'
continue-on-error: true
run: |
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
API_BASE="${MOKOGITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
php ${MOKO_CLI}/version_reset_dev.php \
--token "${{ secrets.MOKOGITEA_TOKEN }}" --api-base "${API_BASE}" \
--branch dev --path . 2>&1 || true
@@ -337,5 +463,5 @@ jobs:
echo "| Version | \`${VERSION}\` |" >> $GITHUB_STEP_SUMMARY
echo "| Branch | \`${{ steps.version.outputs.branch }}\` |" >> $GITHUB_STEP_SUMMARY
echo "| Tag | \`${{ steps.version.outputs.tag }}\` |" >> $GITHUB_STEP_SUMMARY
echo "| Release | [View](${GITEA_URL}/${GITEA_ORG}/${GITEA_REPO}/releases/tag/${{ steps.version.outputs.tag }}) |" >> $GITHUB_STEP_SUMMARY
echo "| Release | [View](${MOKOGITEA_URL}/${GITEA_ORG}/${GITEA_REPO}/releases/tag/${{ steps.version.outputs.tag }}) |" >> $GITHUB_STEP_SUMMARY
fi
+1 -1
View File
@@ -5,7 +5,7 @@
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: MokoStandards.Universal
# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
# REPO: https://git.mokoconsulting.tech/MokoConsulting/mokocli
# PATH: /.mokogitea/workflows/branch-cleanup.yml
# VERSION: 01.00.00
# BRIEF: Delete feature branches after PR merge
-7
View File
@@ -13,13 +13,6 @@
name: "Generic: Project CI"
on:
push:
branches:
- main
- dev
- dev/**
- rc/**
- version/**
pull_request:
branches:
- main
@@ -0,0 +1,68 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: mokocli.Universal
# REPO: https://git.mokoconsulting.tech/MokoConsulting/mokocli
# PATH: /.mokogitea/workflows/ci-issue-reporter.yml
# VERSION: 01.00.00
# BRIEF: Reusable workflow — creates/updates a Gitea issue when a CI gate fails.
# Clones MokoCLI and runs cli/ci_issue_reporter.sh.
name: "Universal: CI Issue Reporter"
on:
workflow_call:
inputs:
gate:
description: "CI gate name (e.g. PR Validation, Repository Health)"
required: true
type: string
details:
description: "Human-readable failure description"
required: true
type: string
severity:
description: "error or warning"
required: false
type: string
default: "error"
workflow:
description: "Workflow name for the issue title"
required: false
type: string
default: ""
secrets:
MOKOGITEA_TOKEN:
required: true
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
report:
name: "Report: ${{ inputs.gate }}"
runs-on: ubuntu-latest
steps:
- name: Clone MokoCLI
env:
MOKOGITEA_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
run: |
MOKOGITEA_URL="${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}"
git clone --depth 1 --filter=blob:none --sparse "${MOKOGITEA_URL}/MokoConsulting/MokoCLI.git" /tmp/mokocli
cd /tmp/mokocli && git sparse-checkout set cli/ci_issue_reporter.sh
- name: Report CI failure
env:
MOKOGITEA_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
MOKOGITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
run: |
chmod +x /tmp/mokocli/cli/ci_issue_reporter.sh
/tmp/mokocli/cli/ci_issue_reporter.sh \
--gate "${{ inputs.gate }}" \
--details "${{ inputs.details }}" \
--severity "${{ inputs.severity }}" \
--workflow "${{ inputs.workflow }}"
+10 -10
View File
@@ -21,7 +21,7 @@ permissions:
contents: write
env:
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
MOKOGITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
jobs:
cleanup:
@@ -33,17 +33,17 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GA_TOKEN }}
token: ${{ secrets.MOKOGITEA_TOKEN }}
- name: Delete merged branches
env:
GA_TOKEN: ${{ secrets.GA_TOKEN }}
MOKOGITEA_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
run: |
echo "=== Merged Branch Cleanup ==="
API="${GITEA_URL}/api/v1/repos/${{ github.repository }}"
API="${MOKOGITEA_URL}/api/v1/repos/${{ github.repository }}"
# List branches via API
BRANCHES=$(curl -sS -H "Authorization: token ${GA_TOKEN}" \
BRANCHES=$(curl -sS -H "Authorization: token ${MOKOGITEA_TOKEN}" \
"${API}/branches?limit=50" | jq -r '.[].name')
DELETED=0
@@ -56,7 +56,7 @@ jobs:
# Check if branch is merged into main
if git merge-base --is-ancestor "origin/${BRANCH}" origin/main 2>/dev/null; then
echo " Deleting merged branch: ${BRANCH}"
curl -sS -X DELETE -H "Authorization: token ${GA_TOKEN}" \
curl -sS -X DELETE -H "Authorization: token ${MOKOGITEA_TOKEN}" \
"${API}/branches/${BRANCH}" 2>/dev/null || true
DELETED=$((DELETED + 1))
fi
@@ -66,20 +66,20 @@ jobs:
- name: Clean old workflow runs
env:
GA_TOKEN: ${{ secrets.GA_TOKEN }}
MOKOGITEA_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
run: |
echo "=== Workflow Run Cleanup ==="
API="${GITEA_URL}/api/v1/repos/${{ github.repository }}"
API="${MOKOGITEA_URL}/api/v1/repos/${{ github.repository }}"
CUTOFF=$(date -d "30 days ago" +%Y-%m-%dT%H:%M:%SZ 2>/dev/null || date -v-30d +%Y-%m-%dT%H:%M:%SZ)
# Get old completed runs
RUNS=$(curl -sS -H "Authorization: token ${GA_TOKEN}" \
RUNS=$(curl -sS -H "Authorization: token ${MOKOGITEA_TOKEN}" \
"${API}/actions/runs?status=completed&limit=50" | \
jq -r ".workflow_runs[] | select(.created_at < \"${CUTOFF}\") | .id" 2>/dev/null)
DELETED=0
for RUN_ID in $RUNS; do
curl -sS -X DELETE -H "Authorization: token ${GA_TOKEN}" \
curl -sS -X DELETE -H "Authorization: token ${MOKOGITEA_TOKEN}" \
"${API}/actions/runs/${RUN_ID}" 2>/dev/null || true
DELETED=$((DELETED + 1))
done
+4 -4
View File
@@ -42,10 +42,10 @@ jobs:
- name: Setup MokoStandards tools
env:
GA_TOKEN: ${{ secrets.GA_TOKEN || secrets.GA_TOKEN || github.token }}
MOKO_CLONE_TOKEN: ${{ secrets.GA_TOKEN || secrets.GA_TOKEN || github.token }}
MOKO_CLONE_HOST: ${{ secrets.GA_TOKEN && 'git.mokoconsulting.tech/MokoConsulting' || 'github.com/mokoconsulting-tech' }}
COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GA_TOKEN || github.token }}"}}'
MOKOGITEA_TOKEN: ${{ secrets.MOKOGITEA_TOKEN || github.token }}
MOKO_CLONE_TOKEN: ${{ secrets.MOKOGITEA_TOKEN || github.token }}
MOKO_CLONE_HOST: ${{ secrets.MOKOGITEA_TOKEN && 'git.mokoconsulting.tech/MokoConsulting' || 'github.com/mokoconsulting-tech' }}
COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.MOKOGITEA_TOKEN || github.token }}"}}'
run: |
git clone --depth 1 --branch main --quiet \
"https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/MokoStandards-API.git" \
-4
View File
@@ -25,10 +25,6 @@
name: "Universal: Secret Scanning"
on:
pull_request:
branches:
- main
- 'dev/**'
schedule:
- cron: '0 5 * * 1' # Weekly Monday 05:00 UTC
workflow_dispatch:
+5 -5
View File
@@ -4,7 +4,7 @@
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Automation
# INGROUP: mokocli.Automation
# VERSION: 01.00.00
# BRIEF: Auto-create feature branch when an issue is opened
@@ -19,7 +19,7 @@ permissions:
issues: write
env:
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
MOKOGITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
jobs:
create-branch:
@@ -28,8 +28,8 @@ jobs:
steps:
- name: Create branch and comment
run: |
TOKEN="${{ secrets.GA_TOKEN }}"
API="${GITEA_URL}/api/v1/repos/${{ github.repository }}"
TOKEN="${{ secrets.MOKOGITEA_TOKEN }}"
API="${MOKOGITEA_URL}/api/v1/repos/${{ github.repository }}"
ISSUE_NUM="${{ github.event.issue.number }}"
ISSUE_TITLE="${{ github.event.issue.title }}"
@@ -58,7 +58,7 @@ jobs:
echo "Created branch: ${BRANCH}"
# Comment on issue with branch link
REPO_URL="${GITEA_URL}/${{ github.repository }}"
REPO_URL="${MOKOGITEA_URL}/${{ github.repository }}"
BODY="Branch created: [\`${BRANCH}\`](${REPO_URL}/src/branch/${BRANCH})\n\n\`\`\`bash\ngit fetch origin\ngit checkout ${BRANCH}\n\`\`\`"
curl -sf -X POST \
+69 -10
View File
@@ -9,9 +9,17 @@ on:
- main
workflow_dispatch:
env:
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
GITEA_ORG: ${{ vars.GITEA_ORG || github.repository_owner }}
GITEA_REPO: ${{ vars.GITEA_REPO || github.event.repository.name }}
jobs:
publish:
runs-on: ubuntu-latest
if: >-
!contains(github.event.head_commit.message, '[skip ci]') &&
!contains(github.event.head_commit.message, '[skip publish]')
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -30,20 +38,71 @@ jobs:
- name: Auto-bump patch version
run: |
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
TOKEN="${{ secrets.MOKOGITEA_TOKEN }}"
PKG_NAME=$(node -p "require('./package.json').name")
CURRENT=$(node -p "require('./package.json').version")
PUBLISHED=$(npm view "${PKG_NAME}@latest" version 2>/dev/null || echo "0.0.0")
if [ "$CURRENT" = "$PUBLISHED" ]; then
npm version patch --no-git-tag-version
NEW_VER=$(node -p "require('./package.json').version")
echo "Bumped ${CURRENT} -> ${NEW_VER}"
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add package.json
git commit -m "chore: bump to ${NEW_VER} [skip ci]"
git push
else
if [ "$CURRENT" != "$PUBLISHED" ]; then
echo "Version ${CURRENT} not yet published, using as-is."
exit 0
fi
# Bump locally to get the new version
npm version patch --no-git-tag-version
NEW_VER=$(node -p "require('./package.json').version")
echo "Bumping ${CURRENT} -> ${NEW_VER}"
# Push via Gitea API: branch + PR + merge
BRANCH="chore/npm-version-bump"
FILEPATH="package.json"
CONTENT=$(base64 -w 0 < package.json)
COMMIT_MSG="chore: bump to ${NEW_VER} [skip ci]"
# Get current file SHA on main
FILE_SHA=$(curl -sf -H "Authorization: token ${TOKEN}" \
"${API_BASE}/contents/${FILEPATH}?ref=main" \
| python3 -c "import json,sys; print(json.load(sys.stdin).get('sha',''))" 2>/dev/null || true)
# Create chore branch from main
curl -sf -X POST -H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
"${API_BASE}/branches" \
-d "{\"new_branch_name\":\"${BRANCH}\",\"old_branch_name\":\"main\"}" 2>/dev/null || true
# Get file SHA on chore branch (may differ if branch already existed)
BRANCH_SHA=$(curl -sf -H "Authorization: token ${TOKEN}" \
"${API_BASE}/contents/${FILEPATH}?ref=${BRANCH}" \
| python3 -c "import json,sys; print(json.load(sys.stdin).get('sha',''))" 2>/dev/null || true)
[ -n "$BRANCH_SHA" ] && FILE_SHA="$BRANCH_SHA"
# Push package.json to chore branch
PAYLOAD="{\"content\":\"${CONTENT}\",\"message\":\"${COMMIT_MSG}\",\"branch\":\"${BRANCH}\",\"sha\":\"${FILE_SHA}\"}"
HTTP=$(curl -sf -o /dev/null -w "%{http_code}" -X PUT \
-H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
-d "$PAYLOAD" \
"${API_BASE}/contents/${FILEPATH}" 2>/dev/null || echo "ERR")
echo "File push: HTTP ${HTTP}"
# Create PR
PR_NUM=$(curl -sf -X POST -H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
"${API_BASE}/pulls" \
-d "{\"title\":\"${COMMIT_MSG}\",\"head\":\"${BRANCH}\",\"base\":\"main\"}" \
| python3 -c "import json,sys; print(json.load(sys.stdin).get('number',''))" 2>/dev/null || true)
if [ -n "$PR_NUM" ]; then
# Merge PR
curl -sf -X POST -H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
"${API_BASE}/pulls/${PR_NUM}/merge" \
-d "{\"Do\":\"merge\",\"merge_message_field\":\"${COMMIT_MSG}\"}" 2>/dev/null
echo "Version bumped via PR #${PR_NUM} (merged)"
else
echo "::warning::Could not create PR for version bump — publishing with current version"
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
File diff suppressed because it is too large Load Diff
+266 -4
View File
@@ -4,8 +4,270 @@
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Release
# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
# INGROUP: mokocli.Release
# REPO: https://git.mokoconsulting.tech/MokoConsulting/mokocli
# PATH: /templates/workflows/universal/pre-release.yml.template
# VERSION: 05.01.00
# BRIEF: Auto pre-release on push to dev/alpha/beta/rc branches
# VERSION: 05.02.00
# BRIEF: Auto pre-release on push to dev/alpha/beta/rc branches
name: "Universal: Pre-Release"
on:
push:
branches:
- dev
- 'fix/**'
- 'patch/**'
- 'hotfix/**'
- 'bugfix/**'
- 'chore/**'
- alpha
- beta
- rc
workflow_dispatch:
inputs:
stability:
description: 'Pre-release channel'
required: true
type: choice
options:
- development
- alpha
- beta
- release-candidate
permissions:
contents: write
env:
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
GITEA_ORG: ${{ vars.GITEA_ORG || github.repository_owner }}
GITEA_REPO: ${{ vars.GITEA_REPO || github.event.repository.name }}
jobs:
build:
name: "Build Pre-Release (${{ inputs.stability || github.ref_name }})"
runs-on: release
if: >-
github.event_name == 'workflow_dispatch' ||
github.event_name == 'push'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.MOKOGITEA_TOKEN }}
ref: ${{ github.ref_name }}
submodules: recursive
- name: Update submodules to main
run: |
git submodule foreach --quiet 'git checkout main && git pull --quiet origin main' 2>/dev/null || true
- name: Setup mokocli tools
env:
MOKO_CLONE_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
MOKO_CLONE_HOST: git.mokoconsulting.tech/MokoConsulting
run: |
# Use pre-installed /opt/mokocli if available (updated by cron every 6h)
if [ -f /opt/mokocli/cli/version_bump.php ] && [ -f /opt/mokocli/cli/manifest_element.php ] && [ -f /opt/mokocli/vendor/autoload.php ]; then
echo Using pre-installed /opt/mokocli
echo MOKO_CLI=/opt/mokocli/cli >> $GITHUB_ENV
else
echo Falling back to fresh clone
if ! command -v composer > /dev/null 2>&1; then
sudo apt-get update -qq && sudo apt-get install -y -qq php-cli php-mbstring php-xml php-zip php-curl composer > /dev/null 2>&1
fi
rm -rf /tmp/mokocli
CLONE_URL=https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/mokocli.git
git clone --depth 1 --branch main --quiet $CLONE_URL /tmp/mokocli
cd /tmp/mokocli && composer install --no-dev --no-interaction --quiet
echo MOKO_CLI=/tmp/mokocli/cli >> $GITHUB_ENV
fi
- name: Detect platform
id: platform
run: |
# Auto-detect and update platform if not set in manifest
php ${MOKO_CLI}/platform_detect.php --path . --github-output 2>/dev/null || true
php ${MOKO_CLI}/manifest_read.php --path . --github-output
- name: Check platform eligibility (Joomla only)
id: eligibility
run: |
PLATFORM="${{ steps.platform.outputs.platform }}"
if [[ "$PLATFORM" == joomla* ]] || [[ "$PLATFORM" == "joomla" ]]; then
echo "proceed=true" >> "$GITHUB_OUTPUT"
else
echo "proceed=false" >> "$GITHUB_OUTPUT"
echo "::notice::Platform '$PLATFORM' — non-Joomla, skipping pre-release auto-bump"
fi
- name: Resolve metadata and bump version
id: meta
if: steps.eligibility.outputs.proceed == 'true'
run: |
# Auto-detect stability from branch name on push, or use input on dispatch
if [ "${{ github.event_name }}" = "push" ]; then
case "${{ github.ref_name }}" in
rc) STABILITY="release-candidate" ;;
alpha) STABILITY="alpha" ;;
beta) STABILITY="beta" ;;
*) STABILITY="development" ;;
esac
else
STABILITY="${{ inputs.stability || 'development' }}"
fi
case "$STABILITY" in
development) SUFFIX="-dev"; TAG="development" ;;
alpha) SUFFIX="-alpha"; TAG="alpha" ;;
beta) SUFFIX="-beta"; TAG="beta" ;;
release-candidate) SUFFIX="-rc"; TAG="release-candidate" ;;
esac
# Bump version via CLI: patch for dev/alpha/beta, minor for RC
case "$STABILITY" in
release-candidate) BUMP="minor" ;;
*) BUMP="patch" ;;
esac
php ${MOKO_CLI}/version_bump.php --path . $([ "$BUMP" = "minor" ] && echo "--minor") 2>/dev/null || true
# Set stability suffix and verify consistency
VERSION=$(php ${MOKO_CLI}/version_read.php --path . 2>/dev/null || echo "00.00.01")
VERSION=$(echo "$VERSION" | sed 's/-\(dev\|alpha\|beta\|rc\)$//')
php ${MOKO_CLI}/version_set_platform.php \
--path . --version "$VERSION" --branch "${{ github.ref_name }}" --stability "$STABILITY" 2>/dev/null || true
php ${MOKO_CLI}/version_check.php --path . --fix 2>/dev/null || true
# Ensure licensing tags (updateservers, dlid) if enabled in manifest.xml
php ${MOKO_CLI}/manifest_licensing.php --path . --fix 2>/dev/null || true
# Append suffix for output
if [ -n "$SUFFIX" ]; then
VERSION="${VERSION}${SUFFIX}"
fi
# Commit version bump
git config --local user.email "gitea-actions[bot]@mokoconsulting.tech"
git config --local user.name "gitea-actions[bot]"
git remote set-url origin "https://x-access-token:${{ secrets.MOKOGITEA_TOKEN }}@git.mokoconsulting.tech/${{ github.repository }}.git"
git add -A
git diff --cached --quiet || {
git commit -m "chore(version): pre-release bump to ${VERSION} [skip ci]"
git push origin HEAD 2>&1
}
# Auto-detect element via manifest_element.php
php ${MOKO_CLI}/manifest_element.php \
--path . --version "$VERSION" --stability "$STABILITY" \
--repo "${GITEA_REPO}" --github-output
# Read back element outputs
EXT_ELEMENT=$(grep '^ext_element=' "$GITHUB_OUTPUT" | tail -1 | cut -d= -f2)
ZIP_NAME=$(grep '^zip_name=' "$GITHUB_OUTPUT" | tail -1 | cut -d= -f2)
[ -z "$EXT_ELEMENT" ] && EXT_ELEMENT=$(echo "${GITEA_REPO}" | tr '[:upper:]' '[:lower:]' | tr -d ' -')
[ -z "$ZIP_NAME" ] && ZIP_NAME="${EXT_ELEMENT}-${VERSION}.zip"
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
echo "stability=${STABILITY}" >> "$GITHUB_OUTPUT"
echo "suffix=${SUFFIX}" >> "$GITHUB_OUTPUT"
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
echo "zip_name=${ZIP_NAME}" >> "$GITHUB_OUTPUT"
echo "ext_element=${EXT_ELEMENT}" >> "$GITHUB_OUTPUT"
echo "=== Pre-Release: ${EXT_ELEMENT} ${VERSION}${SUFFIX} ==="
- name: Create release
id: release
if: steps.eligibility.outputs.proceed == 'true'
run: |
TAG="${{ steps.meta.outputs.tag }}"
VERSION="${{ steps.meta.outputs.version }}"
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
php ${MOKO_CLI}/release_create.php \
--path . --version "$VERSION" --tag "$TAG" \
--token "${{ secrets.MOKOGITEA_TOKEN }}" --api-base "$API_BASE" \
--repo "${GITEA_REPO}" --branch "${{ github.ref_name }}" --prerelease
- name: Update release notes from CHANGELOG.md
if: steps.eligibility.outputs.proceed == 'true'
run: |
TAG="${{ steps.meta.outputs.tag }}"
VERSION="${{ steps.meta.outputs.version }}"
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
# Extract [Unreleased] section from changelog (everything between [Unreleased] and next ## heading)
if [ -f "CHANGELOG.md" ]; then
NOTES=$(awk '/^## \[Unreleased\]/{found=1; next} /^## \[/{if(found) exit} found{print}' CHANGELOG.md)
[ -z "$NOTES" ] && NOTES="Release ${VERSION}"
else
NOTES="Release ${VERSION}"
fi
# Update release body via API
RELEASE_ID=$(curl -sf -H "Authorization: token ${{ secrets.MOKOGITEA_TOKEN }}" \
"${API_BASE}/releases/tags/${TAG}" | python3 -c "import json,sys; print(json.load(sys.stdin).get('id',''))" 2>/dev/null || true)
if [ -n "$RELEASE_ID" ]; then
python3 -c "
import json, urllib.request
body = open('/dev/stdin').read()
payload = json.dumps({'body': body}).encode()
req = urllib.request.Request(
'${API_BASE}/releases/${RELEASE_ID}',
data=payload, method='PATCH',
headers={
'Authorization': 'token ${{ secrets.MOKOGITEA_TOKEN }}',
'Content-Type': 'application/json'
})
urllib.request.urlopen(req)
" <<< "$NOTES"
echo "Release notes updated from CHANGELOG.md"
fi
- name: Build package and upload
id: package
if: steps.eligibility.outputs.proceed == 'true'
run: |
VERSION="${{ steps.meta.outputs.version }}"
TAG="${{ steps.meta.outputs.tag }}"
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
php ${MOKO_CLI}/release_package.php \
--path . --version "$VERSION" --tag "$TAG" \
--token "${{ secrets.MOKOGITEA_TOKEN }}" --api-base "$API_BASE" \
--repo "${GITEA_REPO}" --output /tmp || true
# updates.xml is generated dynamically by MokoGitea license server
# No need to build, commit, or sync updates.xml from workflows
- name: "Delete lesser pre-release channels (cascade)"
if: steps.eligibility.outputs.proceed == 'true'
continue-on-error: true
run: |
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
TOKEN="${{ secrets.MOKOGITEA_TOKEN }}"
php ${MOKO_CLI}/release_cascade.php \
--stability "${{ steps.meta.outputs.stability }}" \
--token "${TOKEN}" \
--api-base "${API_BASE}"
- name: Summary
if: always()
run: |
VERSION="${{ steps.meta.outputs.version }}"
STABILITY="${{ steps.meta.outputs.stability }}"
ZIP_NAME="${{ steps.meta.outputs.zip_name }}"
SHA256="${{ steps.package.outputs.sha256_zip }}"
echo "## Pre-Release Complete" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "| Field | Value |" >> $GITHUB_STEP_SUMMARY
echo "|-------|-------|" >> $GITHUB_STEP_SUMMARY
echo "| Version | \`${VERSION}\` |" >> $GITHUB_STEP_SUMMARY
echo "| Channel | ${STABILITY} |" >> $GITHUB_STEP_SUMMARY
echo "| Package | \`${ZIP_NAME}\` |" >> $GITHUB_STEP_SUMMARY
echo "| SHA-256 | \`${SHA256:-n/a}\` |" >> $GITHUB_STEP_SUMMARY
+71
View File
@@ -0,0 +1,71 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: mokocli.Universal
# REPO: https://git.mokoconsulting.tech/MokoConsulting/mokocli
# PATH: /.mokogitea/workflows/rc-revert.yml
# VERSION: 09.23.00
# BRIEF: Rename rc/ branch back to dev/ when PR is closed without merge
name: "RC Revert"
on:
pull_request:
types: [closed]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
revert:
name: Rename rc/ back to dev/
runs-on: ubuntu-latest
if: >-
github.event.pull_request.merged == false &&
startsWith(github.event.pull_request.head.ref, 'rc/')
steps:
- name: Rename branch
env:
BRANCH: ${{ github.event.pull_request.head.ref }}
REPO: ${{ github.repository }}
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
run: |
set -euo pipefail
# BRANCH is attacker-controlled (PR head ref). Strict allowlist before ANY use.
if ! printf '%s' "$BRANCH" | grep -Eq '^rc/[A-Za-z0-9._/-]+$'; then
echo "::error::Refusing unsafe branch name: $BRANCH"; exit 1
fi
SUFFIX="${BRANCH#rc/}"
DEV_BRANCH="dev/${SUFFIX}"
API="${GITEA_URL}/api/v1/repos/${REPO}/branches"
# Create dev/ branch from rc/ branch
STATUS=$(curl -sf -o /dev/null -w "%{http_code}" -X POST \
-H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
-d "{\"new_branch_name\": \"${DEV_BRANCH}\", \"old_branch_name\": \"${BRANCH}\"}" \
"${API}" 2>/dev/null || true)
if [ "$STATUS" = "201" ]; then
echo "Created branch: ${DEV_BRANCH}" >> "$GITHUB_STEP_SUMMARY"
else
echo "::error::Failed to create ${DEV_BRANCH} from ${BRANCH} (HTTP ${STATUS})"; exit 1
fi
# Read BRANCH from the environment inside PHP (getenv, no string interpolation -> no PHP injection)
ENCODED=$(php -r 'echo rawurlencode(getenv("BRANCH"));')
STATUS=$(curl -sf -o /dev/null -w "%{http_code}" -X DELETE \
-H "Authorization: token ${TOKEN}" \
"${API}/${ENCODED}" 2>/dev/null || true)
if [ "$STATUS" = "204" ]; then
echo "Deleted branch: ${BRANCH}" >> "$GITHUB_STEP_SUMMARY"
else
echo "::warning::Failed to delete ${BRANCH} (HTTP ${STATUS})"
fi
echo "### RC Reverted" >> "$GITHUB_STEP_SUMMARY"
echo "${BRANCH} → ${DEV_BRANCH}" >> "$GITHUB_STEP_SUMMARY"
File diff suppressed because it is too large Load Diff
-82
View File
@@ -1,82 +0,0 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: MokoStandards.Security
# REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards
# PATH: /.gitea/workflows/security-audit.yml
# VERSION: 01.00.00
# BRIEF: Dependency vulnerability scanning for composer and npm packages
name: "Universal: Security Audit"
on:
schedule:
- cron: '0 6 * * 1' # Weekly on Monday at 06:00 UTC
pull_request:
branches:
- main
paths:
- 'composer.json'
- 'composer.lock'
- 'package.json'
- 'package-lock.json'
workflow_dispatch:
permissions:
contents: read
env:
NTFY_URL: ${{ vars.NTFY_URL || 'https://ntfy.mokoconsulting.tech' }}
NTFY_TOPIC: ${{ vars.NTFY_TOPIC || 'gitea-security' }}
jobs:
audit:
name: Dependency Audit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Composer audit
if: hashFiles('composer.lock') != ''
run: |
echo "=== Composer Security Audit ==="
if ! command -v composer &> /dev/null; then
sudo apt-get update -qq
sudo apt-get install -y -qq php-cli composer >/dev/null 2>&1
fi
composer audit --format=plain 2>&1 | tee /tmp/composer-audit.txt
RESULT=$?
if [ $RESULT -ne 0 ]; then
echo "::warning::Composer vulnerabilities found"
echo "composer_vulnerable=true" >> "$GITHUB_ENV"
else
echo "No known vulnerabilities in composer dependencies"
fi
- name: NPM audit
if: hashFiles('package-lock.json') != ''
run: |
echo "=== NPM Security Audit ==="
npm audit --production 2>&1 | tee /tmp/npm-audit.txt || true
if npm audit --production 2>&1 | grep -q "found 0 vulnerabilities"; then
echo "No known vulnerabilities in npm dependencies"
else
echo "::warning::NPM vulnerabilities found"
echo "npm_vulnerable=true" >> "$GITHUB_ENV"
fi
- name: Notify on vulnerabilities
if: env.composer_vulnerable == 'true' || env.npm_vulnerable == 'true'
run: |
REPO="${{ github.event.repository.name }}"
curl -sS \
-H "Title: ${REPO} has vulnerable dependencies" \
-H "Tags: lock,warning" \
-H "Priority: high" \
-d "Security audit found vulnerabilities. Review dependency updates." \
"${NTFY_URL}/${NTFY_TOPIC}" || true
-312
View File
@@ -1,312 +0,0 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Universal
# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
# PATH: /templates/workflows/update-server.yml
# VERSION: 05.00.00
# BRIEF: Pre-release build + update server XML for dev/alpha/beta/rc branches
#
# Thin wrapper around moko-platform CLI tools.
# Builds packages, updates updates.xml, and optionally deploys via SFTP.
#
# Joomla filters update entries by the user's "Minimum Stability" setting.
name: "Update Server"
on:
push:
branches:
- 'dev'
- 'dev/**'
- 'alpha/**'
- 'beta/**'
- 'rc/**'
paths:
- 'src/**'
- 'htdocs/**'
pull_request:
types: [closed]
branches:
- 'dev'
- 'dev/**'
- 'alpha/**'
- 'beta/**'
- 'rc/**'
paths:
- 'src/**'
- 'htdocs/**'
workflow_dispatch:
inputs:
stability:
description: 'Stability tag'
required: true
default: 'development'
type: choice
options:
- development
- alpha
- beta
- rc
- stable
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
GITEA_ORG: ${{ vars.GITEA_ORG || github.repository_owner }}
GITEA_REPO: ${{ vars.GITEA_REPO || github.event.repository.name }}
permissions:
contents: write
jobs:
update-xml:
name: Update Server
runs-on: release
if: >-
github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' || github.event_name == 'push'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.MOKOGITEA_TOKEN }}
fetch-depth: 0
- name: Setup moko-platform tools
env:
MOKO_CLONE_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
MOKO_CLONE_HOST: git.mokoconsulting.tech/MokoConsulting
COMPOSER_AUTH: '{"http-basic":{"git.mokoconsulting.tech":{"username":"token","password":"${{ secrets.MOKOGITEA_TOKEN }}"}}}'
run: |
if ! command -v composer &> /dev/null; then
sudo apt-get update -qq && sudo apt-get install -y -qq php-cli php-mbstring php-xml php-zip php-curl composer >/dev/null 2>&1
fi
# Always fetch latest CLI tools — never use stale cache from previous runs
rm -rf /tmp/moko-platform
git clone --depth 1 --branch main --quiet \
"https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/moko-platform.git" \
/tmp/moko-platform 2>/dev/null || true
if [ -d "/tmp/moko-platform" ] && [ -f "/tmp/moko-platform/composer.json" ]; then
cd /tmp/moko-platform && composer install --no-dev --no-interaction --quiet 2>/dev/null || true
fi
echo "MOKO_CLI=/tmp/moko-platform/cli" >> "$GITHUB_ENV"
- name: Detect platform
id: platform
run: php ${MOKO_CLI}/manifest_read.php --path . --github-output
- name: Resolve stability and bump version
id: meta
run: |
BRANCH="${{ github.ref_name }}"
# Configure git for bot pushes
git config --local user.email "gitea-actions[bot]@mokoconsulting.tech"
git config --local user.name "gitea-actions[bot]"
git remote set-url origin "https://x-access-token:${{ secrets.MOKOGITEA_TOKEN }}@git.mokoconsulting.tech/${{ github.repository }}.git"
# Auto-bump patch version
php ${MOKO_CLI}/version_bump.php --path . 2>/dev/null || true
VERSION=$(php ${MOKO_CLI}/version_read.php --path . 2>/dev/null || echo "0.0.0")
# Strip any existing suffix before applying stability
VERSION=$(echo "$VERSION" | sed 's/-\(dev\|alpha\|beta\|rc\)$//')
# Determine stability from branch or manual input
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
STABILITY="${{ inputs.stability }}"
elif [[ "$BRANCH" == rc/* ]]; then
STABILITY="rc"
elif [[ "$BRANCH" == beta/* ]]; then
STABILITY="beta"
elif [[ "$BRANCH" == alpha/* ]]; then
STABILITY="alpha"
else
STABILITY="development"
fi
# Version suffix per stability stream
case "$STABILITY" in
development) SUFFIX="-dev"; TAG="development" ;;
alpha) SUFFIX="-alpha"; TAG="alpha" ;;
beta) SUFFIX="-beta"; TAG="beta" ;;
rc) SUFFIX="-rc"; TAG="release-candidate" ;;
*) SUFFIX=""; TAG="stable" ;;
esac
# Propagate version with stability suffix to all manifest files
php ${MOKO_CLI}/version_set_platform.php \
--path . --version "$VERSION" --branch "$BRANCH" --stability "$STABILITY" 2>/dev/null || true
php ${MOKO_CLI}/version_check.php --path . --fix 2>/dev/null || true
# Re-read version (now includes suffix from version_set_platform)
if [ -n "$SUFFIX" ]; then
VERSION="${VERSION}${SUFFIX}"
fi
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
echo "stability=${STABILITY}" >> "$GITHUB_OUTPUT"
echo "suffix=${SUFFIX}" >> "$GITHUB_OUTPUT"
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
echo "display_version=${VERSION}" >> "$GITHUB_OUTPUT"
# Commit version bump if changed
git add -A
git diff --cached --quiet || {
git commit -m "chore(version): auto-bump ${VERSION} [skip ci]" \
--author="gitea-actions[bot] <gitea-actions[bot]@mokoconsulting.tech>"
git push
}
- name: Create release and upload package
id: package
run: |
VERSION="${{ steps.meta.outputs.version }}"
TAG="${{ steps.meta.outputs.tag }}"
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
# Create or update Gitea release
php ${MOKO_CLI}/release_create.php \
--path . --version "$VERSION" --tag "$TAG" \
--token "${{ secrets.MOKOGITEA_TOKEN }}" --api-base "$API_BASE" \
--repo "${GITEA_REPO}" --branch "${{ github.ref_name }}" --prerelease
# Build package and upload
php ${MOKO_CLI}/release_package.php \
--path . --version "$VERSION" --tag "$TAG" \
--token "${{ secrets.MOKOGITEA_TOKEN }}" --api-base "$API_BASE" \
--repo "${GITEA_REPO}" --output /tmp || true
- name: Update updates.xml
if: steps.platform.outputs.platform == 'joomla'
run: |
VERSION="${{ steps.meta.outputs.version }}"
STABILITY="${{ steps.meta.outputs.stability }}"
SHA256="${{ steps.package.outputs.sha256_zip }}"
if [ ! -f "updates.xml" ]; then
echo "No updates.xml — skipping"
exit 0
fi
SHA_FLAG=""
[ -n "$SHA256" ] && SHA_FLAG="--sha ${SHA256}"
php ${MOKO_CLI}/updates_xml_build.php \
--path . --version "${VERSION}" --stability "${STABILITY}" \
--gitea-url "${GITEA_URL}" --org "${GITEA_ORG}" --repo "${GITEA_REPO}" \
${SHA_FLAG}
# Commit and push updates.xml
git add updates.xml
git diff --cached --quiet || {
git commit -m "chore: update ${STABILITY} channel ${VERSION} [skip ci]"
git push
}
- name: Sync updates.xml to main
if: github.ref_name != 'main' && steps.platform.outputs.platform == 'joomla'
run: |
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
GITEA_TOKEN="${{ secrets.MOKOGITEA_TOKEN }}"
FILE_SHA=$(curl -sf -H "Authorization: token ${GITEA_TOKEN}" \
"${API_BASE}/contents/updates.xml?ref=main" | python3 -c "import sys,json; print(json.load(sys.stdin).get('sha',''))" 2>/dev/null || true)
if [ -n "$FILE_SHA" ] && [ -f "updates.xml" ]; then
python3 -c "
import base64, json, urllib.request, sys
with open('updates.xml', 'rb') as f:
content = base64.b64encode(f.read()).decode()
payload = json.dumps({
'content': content,
'sha': '${FILE_SHA}',
'message': 'chore: sync updates.xml from ${{ steps.meta.outputs.stability }} [skip ci]',
'branch': 'main'
}).encode()
req = urllib.request.Request(
'${API_BASE}/contents/updates.xml',
data=payload, method='PUT',
headers={
'Authorization': 'token ${GITEA_TOKEN}',
'Content-Type': 'application/json'
})
try:
urllib.request.urlopen(req)
print('updates.xml synced to main')
except Exception as e:
print(f'WARNING: sync to main failed: {e}', file=sys.stderr)
"
fi
- name: SFTP deploy to dev server
if: contains(github.ref, 'dev/') || github.ref == 'refs/heads/dev'
env:
DEV_HOST: ${{ vars.DEV_FTP_HOST }}
DEV_PATH: ${{ vars.DEV_FTP_PATH }}
DEV_SUFFIX: ${{ vars.DEV_FTP_SUFFIX }}
DEV_USER: ${{ vars.DEV_FTP_USERNAME }}
DEV_PORT: ${{ vars.DEV_FTP_PORT }}
DEV_KEY: ${{ secrets.DEV_FTP_KEY }}
DEV_PASS: ${{ secrets.DEV_FTP_PASSWORD }}
run: |
# Permission check: admin or maintain role required
ACTOR="${{ github.actor }}"
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
PERMISSION=$(curl -sf -H "Authorization: token ${{ secrets.MOKOGITEA_TOKEN }}" \
"${API_BASE}/collaborators/${ACTOR}/permission" 2>/dev/null | \
python3 -c "import sys,json; print(json.load(sys.stdin).get('permission','read'))" 2>/dev/null || echo "read")
case "$PERMISSION" in
admin|maintain|write) ;;
*)
echo "Deploy denied: ${ACTOR} has '${PERMISSION}' — requires admin, maintain, or write"
exit 0
;;
esac
[ -z "$DEV_HOST" ] || [ -z "$DEV_PATH" ] && { echo "DEV FTP not configured — skipping SFTP"; exit 0; }
SOURCE_DIR="src"
[ ! -d "$SOURCE_DIR" ] && SOURCE_DIR="htdocs"
[ ! -d "$SOURCE_DIR" ] && exit 0
PORT="${DEV_PORT:-22}"
REMOTE="${DEV_PATH%/}"
[ -n "$DEV_SUFFIX" ] && REMOTE="${REMOTE}/${DEV_SUFFIX#/}"
printf '{"host":"%s","port":%s,"username":"%s","remotePath":"%s"' \
"$DEV_HOST" "$PORT" "$DEV_USER" "$REMOTE" > /tmp/sftp-config.json
if [ -n "$DEV_KEY" ]; then
echo "$DEV_KEY" > /tmp/deploy_key && chmod 600 /tmp/deploy_key
printf ',"privateKeyPath":"/tmp/deploy_key"}' >> /tmp/sftp-config.json
else
printf ',"password":"%s"}' "$DEV_PASS" >> /tmp/sftp-config.json
fi
PLATFORM=$(php ${MOKO_CLI}/platform_detect.php --path . 2>/dev/null || true)
if [ "$PLATFORM" = "waas-component" ] && [ -f "${MOKO_CLI}/../deploy/deploy-joomla.php" ]; then
php ${MOKO_CLI}/../deploy/deploy-joomla.php --path . --src-dir "$SOURCE_DIR" --config /tmp/sftp-config.json
elif [ -f "${MOKO_CLI}/../deploy/deploy-sftp.php" ]; then
php ${MOKO_CLI}/../deploy/deploy-sftp.php --path . --src-dir "$SOURCE_DIR" --config /tmp/sftp-config.json
fi
rm -f /tmp/deploy_key /tmp/sftp-config.json
echo "SFTP deploy to dev complete" >> $GITHUB_STEP_SUMMARY
- name: Summary
if: always()
run: |
VERSION="${{ steps.meta.outputs.version }}"
STABILITY="${{ steps.meta.outputs.stability }}"
DISPLAY="${{ steps.meta.outputs.display_version }}"
echo "## Update Server" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "| Field | Value |" >> $GITHUB_STEP_SUMMARY
echo "|-------|-------|" >> $GITHUB_STEP_SUMMARY
echo "| Stability | \`${STABILITY}\` |" >> $GITHUB_STEP_SUMMARY
echo "| Version | \`${DISPLAY}\` |" >> $GITHUB_STEP_SUMMARY
+130
View File
@@ -0,0 +1,130 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow.Template
# INGROUP: MokoStandards.CI
# REPO: https://git.mokoconsulting.tech/MokoConsulting/Template-Joomla
# PATH: /.mokogitea/workflows/version-set.yml
# VERSION: 01.00.00
# BRIEF: Set or reset the extension version across all version-bearing files
name: "Joomla: Set Version"
on:
workflow_dispatch:
inputs:
version:
description: "Version number (e.g. 01.00.00)"
required: true
type: string
branch:
description: "Branch to update (default: current)"
required: false
type: string
permissions:
contents: write
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
set-version:
name: Set Version to ${{ inputs.version }}
runs-on: ubuntu-latest
steps:
- name: Validate version format
run: |
VERSION="${{ inputs.version }}"
if ! echo "$VERSION" | grep -qP '^\d{2}\.\d{2}\.\d{2}$'; then
echo "::error::Invalid version format '${VERSION}' — expected XX.YY.ZZ (e.g. 01.00.00)"
exit 1
fi
echo "VERSION=${VERSION}" >> "$GITHUB_ENV"
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.MOKOGITEA_TOKEN || github.token }}
ref: ${{ inputs.branch || github.ref }}
fetch-depth: 1
- name: Update manifest version
run: |
MANIFEST=""
for XML_FILE in $(find . -maxdepth 3 -name "*.xml" -not -path "./.git/*" -not -path "./vendor/*"); do
if grep -q "<extension" "$XML_FILE" 2>/dev/null; then
MANIFEST="$XML_FILE"
break
fi
done
if [ -z "$MANIFEST" ]; then
echo "::warning::No Joomla extension manifest found — skipping manifest update"
else
OLD_VER=$(grep -oP '<version>\K[^<]+' "$MANIFEST" | head -1)
sed -i "s|<version>${OLD_VER}</version>|<version>${VERSION}</version>|" "$MANIFEST"
echo "Manifest: ${OLD_VER} → ${VERSION} (${MANIFEST})"
fi
- name: Update README.md version
run: |
if [ -f "README.md" ]; then
if grep -qP '^\s*VERSION:\s*\d' README.md; then
sed -i -E "s/(VERSION:\s*)[0-9]{2}\.[0-9]{2}\.[0-9]{2}/\1${VERSION}/" README.md
echo "README.md version updated to ${VERSION}"
else
echo "::warning::No VERSION line found in README.md — skipping"
fi
fi
- name: Update CHANGELOG.md
run: |
if [ -f "CHANGELOG.md" ]; then
DATE=$(date +%Y-%m-%d)
# Check if this version already has an entry
if grep -q "^\#\# \[${VERSION}\]" CHANGELOG.md; then
echo "CHANGELOG.md already has entry for ${VERSION} — skipping"
else
# Insert new version entry after [Unreleased] or at the top after header
if grep -q '^\#\# \[Unreleased\]' CHANGELOG.md; then
sed -i "/^\#\# \[Unreleased\]/a\\\\n## [${VERSION}] --- ${DATE}" CHANGELOG.md
else
sed -i "/^\# Changelog/a\\\\n## [Unreleased]\n\n## [${VERSION}] --- ${DATE}" CHANGELOG.md
fi
echo "CHANGELOG.md: added entry for ${VERSION}"
fi
else
echo "::warning::No CHANGELOG.md found — skipping"
fi
- name: Update FILE INFORMATION blocks
run: |
# Update VERSION in file header blocks (# VERSION: XX.YY.ZZ)
find . -maxdepth 1 -type f \( -name "*.yml" -o -name "*.yaml" -o -name "*.php" -o -name "*.md" \) \
-not -path "./.git/*" -not -path "./vendor/*" -print0 2>/dev/null | \
while IFS= read -r -d '' FILE; do
if head -20 "$FILE" | grep -qP '^\s*#?\s*VERSION:\s*\d{2}\.\d{2}\.\d{2}'; then
sed -i -E "s/(#?\s*VERSION:\s*)[0-9]{2}\.[0-9]{2}\.[0-9]{2}/\1${VERSION}/" "$FILE"
echo "Updated FILE INFORMATION VERSION in ${FILE}"
fi
done
- name: Commit and push
run: |
git config user.name "Moko Consulting [bot]"
git config user.email "hello@mokoconsulting.tech"
git add -A
if git diff --cached --quiet; then
echo "No version changes detected — nothing to commit"
else
git commit -m "chore: set version to ${VERSION} [skip bump]
Authored-by: Moko Consulting"
git push
echo "### Version Set" >> $GITHUB_STEP_SUMMARY
echo "Version updated to \`${VERSION}\` on branch \`${GITHUB_REF_NAME}\`" >> $GITHUB_STEP_SUMMARY
fi
@@ -0,0 +1,81 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: mokocli.Universal
# REPO: https://git.mokoconsulting.tech/MokoConsulting/mokocli
# PATH: /.mokogitea/workflows/workflow-sync-trigger.yml
# VERSION: 01.01.00
# BRIEF: Trigger workflow sync to live repos when a PR is merged to main
name: "Universal: Workflow Sync Trigger"
on:
workflow_dispatch:
pull_request:
types: [closed]
branches:
- main
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
sync:
name: Sync workflows to live repos
runs-on: ubuntu-latest
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event.pull_request.merged == true &&
!contains(github.event.pull_request.title, '[skip sync]'))
steps:
- name: Determine platform from repo name
id: platform
run: |
REPO="${{ github.event.repository.name }}"
case "$REPO" in
Template-Joomla) PLATFORM="joomla" ;;
Template-Dolibarr) PLATFORM="dolibarr" ;;
Template-Go) PLATFORM="go" ;;
Template-MCP) PLATFORM="mcp" ;;
Template-Generic) PLATFORM="" ;;
*) PLATFORM="" ;;
esac
echo "platform=$PLATFORM" >> "$GITHUB_OUTPUT"
echo "Platform: ${PLATFORM:-all}"
- name: Clone mokocli
env:
MOKOGITEA_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
run: |
MOKOGITEA_URL="${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}"
git clone --depth 1 "${MOKOGITEA_URL}/MokoConsulting/mokocli.git" /tmp/mokocli
- name: Install PHP
run: |
if ! command -v php &> /dev/null; then
apt-get update -qq && apt-get install -y -qq php-cli php-json php-curl > /dev/null 2>&1
fi
- name: Install dependencies
run: |
cd /tmp/mokocli
composer install --no-dev --no-interaction --quiet 2>/dev/null || true
- name: Run workflow sync
env:
MOKOGITEA_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
run: |
ARGS="--token ${MOKOGITEA_TOKEN}"
ARGS="${ARGS} --org ${{ vars.GITEA_ORG || github.repository_owner }}"
ARGS="${ARGS} --phase repos"
PLATFORM="${{ steps.platform.outputs.platform }}"
if [ -n "$PLATFORM" ]; then
ARGS="${ARGS} --platform-filter ${PLATFORM}"
fi
php /tmp/mokocli/cli/workflow_sync.php ${ARGS}
+6 -3
View File
@@ -11,7 +11,7 @@ REPO: https://git.mokoconsulting.tech/MokoConsulting/gitea-api-mcp
[![Node](https://img.shields.io/badge/node-%3E%3D20.0.0-green.svg)](https://nodejs.org)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue.svg)](https://www.typescriptlang.org)
> MCP server for Gitea REST API v1 operations -- 61 tools for complete Gitea instance management from Claude Code and other MCP clients.
> MCP server for Gitea REST API v1 operations -- 111 tools for complete Gitea instance management from Claude Code and other MCP clients.
## Table of Contents
@@ -26,7 +26,7 @@ REPO: https://git.mokoconsulting.tech/MokoConsulting/gitea-api-mcp
## Background
`gitea-api-mcp` is a Model Context Protocol (MCP) server that exposes 61 tools for interacting with the Gitea REST API v1. It supports multiple named connections, allowing you to manage several Gitea instances from a single server. Authentication uses Gitea's native `Authorization: token` header format.
`gitea-api-mcp` is a Model Context Protocol (MCP) server that exposes 111 tools for interacting with the Gitea REST API v1. It supports multiple named connections, allowing you to manage several Gitea instances from a single server. Authentication uses Gitea's native `Authorization: token` header format.
## Install
@@ -250,7 +250,7 @@ If `connection` is omitted, the `defaultConnection` is used.
| `gitea_webhooks_list` | List webhooks for a repository |
| `gitea_webhook_create` | Create a webhook |
### Wiki (5 tools)
### Wiki (7 tools)
| Tool | Description |
|------|-------------|
@@ -259,6 +259,8 @@ If `connection` is omitted, the `defaultConnection` is used.
| `gitea_wiki_page_create` | Create a new wiki page |
| `gitea_wiki_page_edit` | Edit an existing wiki page |
| `gitea_wiki_page_delete` | Delete a wiki page |
| `gitea_wiki_page_revisions` | List revision history for a wiki page |
| `gitea_wiki_search` | Search wiki page titles and content |
### Notifications (2 tools)
@@ -287,3 +289,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for development guidelines.
| Version | Date | Description |
|---------|------|-------------|
| 0.0.1 | 2026-05-07 | Initial release with 61 tools |
| 1.4.3 | 2026-06-23 | Fix wiki create endpoint, add wiki search + revisions tools (111 total) |
-237
View File
@@ -1,237 +0,0 @@
#!/usr/bin/env bash
# ============================================================================
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Automation.CI
# INGROUP: moko-platform.Automation
# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
# PATH: /automation/ci-issue-reporter.sh
# VERSION: 09.23.00
# BRIEF: Creates or updates a Gitea issue when a CI gate fails.
# Deduplicates by searching open issues with the "ci-auto" label
# whose title matches the gate. If a matching issue exists, a comment
# is appended instead of opening a duplicate.
# ============================================================================
set -euo pipefail
# ── Defaults ────────────────────────────────────────────────────────────────
GITEA_URL="${GITEA_URL:-https://git.mokoconsulting.tech}"
GITEA_TOKEN="${GITEA_TOKEN:-}"
REPO="${GITHUB_REPOSITORY:-}"
RUN_URL="${GITHUB_SERVER_URL:-${GITEA_URL}}/${REPO}/actions/runs/${GITHUB_RUN_ID:-0}"
LABEL_NAME="ci-auto"
LABEL_COLOR="#e11d48"
GATE=""
DETAILS=""
SEVERITY="error"
WORKFLOW=""
# ── Parse arguments ─────────────────────────────────────────────────────────
usage() {
cat <<EOF
Usage: ci-issue-reporter.sh --gate NAME --details TEXT [OPTIONS]
Required:
--gate CI gate name (e.g. "Code Quality", "Self-Health")
--details Human-readable failure description
Optional:
--severity "error" (default) or "warning"
--workflow Workflow name for the issue title
--repo owner/repo (default: \$GITHUB_REPOSITORY)
--run-url URL to the CI run (auto-detected from env)
--token Gitea API token (default: \$GITEA_TOKEN)
--url Gitea base URL (default: \$GITEA_URL)
EOF
exit 1
}
while [[ $# -gt 0 ]]; do
case "$1" in
--gate) GATE="$2"; shift 2 ;;
--details) DETAILS="$2"; shift 2 ;;
--severity) SEVERITY="$2"; shift 2 ;;
--workflow) WORKFLOW="$2"; shift 2 ;;
--repo) REPO="$2"; shift 2 ;;
--run-url) RUN_URL="$2"; shift 2 ;;
--token) GITEA_TOKEN="$2"; shift 2 ;;
--url) GITEA_URL="$2"; shift 2 ;;
-h|--help) usage ;;
*) echo "Unknown option: $1"; usage ;;
esac
done
[[ -z "$GATE" ]] && { echo "ERROR: --gate is required"; usage; }
[[ -z "$DETAILS" ]] && { echo "ERROR: --details is required"; usage; }
[[ -z "$GITEA_TOKEN" ]] && { echo "ERROR: GITEA_TOKEN not set"; exit 1; }
[[ -z "$REPO" ]] && { echo "ERROR: GITHUB_REPOSITORY not set"; exit 1; }
API="${GITEA_URL}/api/v1/repos/${REPO}"
# ── Build title ─────────────────────────────────────────────────────────────
if [[ -n "$WORKFLOW" ]]; then
TITLE="[CI] ${WORKFLOW}: ${GATE} failed"
else
TITLE="[CI] ${GATE} failed"
fi
# ── Ensure label exists ─────────────────────────────────────────────────────
ensure_label() {
local exists
exists=$(curl -sf -o /dev/null -w '%{http_code}' \
-H "Authorization: token ${GITEA_TOKEN}" \
"${API}/labels" 2>/dev/null || echo "000")
if [[ "$exists" == "200" ]]; then
# Check if label already exists
local found
found=$(curl -sf \
-H "Authorization: token ${GITEA_TOKEN}" \
"${API}/labels" 2>/dev/null \
| grep -o "\"name\":\"${LABEL_NAME}\"" || true)
if [[ -z "$found" ]]; then
curl -sf -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
"${API}/labels" \
-d "{\"name\":\"${LABEL_NAME}\",\"color\":\"${LABEL_COLOR}\",\"description\":\"Auto-created by CI issue reporter\"}" \
> /dev/null 2>&1 || true
fi
fi
}
# ── Search for existing open issue ──────────────────────────────────────────
find_existing_issue() {
# URL-encode the gate name for the query
local query
query=$(printf '%s' "[CI] ${GATE}" | sed 's/ /%20/g; s/\[/%5B/g; s/\]/%5D/g')
local response
response=$(curl -sf \
-H "Authorization: token ${GITEA_TOKEN}" \
"${API}/issues?type=issues&state=open&labels=${LABEL_NAME}&q=${query}&limit=5" \
2>/dev/null || echo "[]")
# Extract the first matching issue number
echo "$response" \
| grep -oP '"number":\s*\K[0-9]+' \
| head -1
}
# ── Build issue body ────────────────────────────────────────────────────────
build_body() {
local severity_badge
if [[ "$SEVERITY" == "error" ]]; then
severity_badge="**Severity:** Error"
else
severity_badge="**Severity:** Warning"
fi
cat <<BODY
## CI Gate Failure: ${GATE}
${severity_badge}
**Workflow:** ${WORKFLOW:-unknown}
**Branch:** ${GITHUB_REF_NAME:-unknown}
**Commit:** \`${GITHUB_SHA:0:8}\`
**Run:** [View CI run](${RUN_URL})
### Details
${DETAILS}
### Resolution
Fix the issue described above and push a new commit. This issue will be closed automatically when the gate passes, or can be closed manually.
---
*Auto-created by [ci-issue-reporter](${GITEA_URL}/${REPO}/src/branch/main/automation/ci-issue-reporter.sh)*
BODY
}
# ── Build comment body (for existing issues) ────────────────────────────────
build_comment() {
cat <<COMMENT
### CI failure recurrence
**Branch:** ${GITHUB_REF_NAME:-unknown}
**Commit:** \`${GITHUB_SHA:0:8}\`
**Run:** [View CI run](${RUN_URL})
${DETAILS}
COMMENT
}
# ── Main ────────────────────────────────────────────────────────────────────
ensure_label
EXISTING=$(find_existing_issue)
if [[ -n "$EXISTING" ]]; then
# Append comment to existing issue
COMMENT_BODY=$(build_comment)
COMMENT_JSON=$(printf '%s' "$COMMENT_BODY" | python3 -c "
import sys, json
print(json.dumps({'body': sys.stdin.read()}))" 2>/dev/null)
HTTP=$(curl -sf -o /dev/null -w '%{http_code}' -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
"${API}/issues/${EXISTING}/comments" \
-d "${COMMENT_JSON}" 2>/dev/null || echo "000")
if [[ "$HTTP" == "201" ]]; then
echo "Commented on existing issue #${EXISTING}"
else
echo "WARNING: Failed to comment on issue #${EXISTING} (HTTP ${HTTP})"
fi
else
# Create new issue
ISSUE_BODY=$(build_body)
ISSUE_JSON=$(python3 -c "
import sys, json
body = sys.stdin.read()
print(json.dumps({
'title': sys.argv[1],
'body': body,
'labels': []
}))" "$TITLE" <<< "$ISSUE_BODY" 2>/dev/null)
# Create the issue
RESPONSE=$(curl -sf -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
"${API}/issues" \
-d "${ISSUE_JSON}" 2>/dev/null || echo "{}")
ISSUE_NUM=$(echo "$RESPONSE" | grep -oP '"number":\s*\K[0-9]+' | head -1)
if [[ -n "$ISSUE_NUM" ]]; then
# Apply label (separate call — more reliable across Gitea versions)
LABEL_ID=$(curl -sf \
-H "Authorization: token ${GITEA_TOKEN}" \
"${API}/labels" 2>/dev/null \
| grep -oP "\"id\":\s*\K[0-9]+(?=[^}]*\"name\":\s*\"${LABEL_NAME}\")" \
| head -1 || true)
if [[ -n "$LABEL_ID" ]]; then
curl -sf -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
"${API}/issues/${ISSUE_NUM}/labels" \
-d "{\"labels\":[${LABEL_ID}]}" \
> /dev/null 2>&1 || true
fi
echo "Created issue #${ISSUE_NUM}: ${TITLE}"
else
echo "WARNING: Failed to create issue"
echo "Response: ${RESPONSE}"
fi
fi
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@mokoconsulting/mcp-mokogitea-api",
"version": "1.3.0",
"version": "1.4.2",
"description": "MCP server for Gitea REST API v1 operations",
"type": "module",
"main": "dist/index.js",
-40
View File
@@ -1,40 +0,0 @@
#!/usr/bin/env node
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
* SPDX-License-Identifier: GPL-3.0-or-later
* BRIEF: Interactive setup — prompts for Gitea connection details
*/
import { createInterface } from 'node:readline/promises';
import { readFile, writeFile } from 'node:fs/promises';
import { resolve } from 'node:path';
import { homedir } from 'node:os';
const CONFIG_PATH = resolve(homedir(), '.gitea-api-mcp.json');
const rl = createInterface({ input: process.stdin, output: process.stdout });
async function prompt(q, d) { const a = await rl.question(`${q}${d ? ` [${d}]` : ''}: `); return a.trim() || d || ''; }
async function promptRequired(q) { let a = ''; while (!a) { a = (await rl.question(`${q}: `)).trim(); if (!a) console.log(' Required.'); } return a; }
async function main() {
console.log('\n=== gitea-api-mcp Setup ===\n');
let existing = null;
try { existing = JSON.parse(await readFile(CONFIG_PATH, 'utf-8')); console.log(`Existing: ${Object.keys(existing.connections).join(', ')}\n`); } catch {}
const name = await prompt('Connection name', 'moko');
const baseUrl = await promptRequired('Gitea URL (e.g. https://git.mokoconsulting.tech)');
const token = await promptRequired('Access token (Settings > Applications > Generate Token)');
const insecure = (await prompt('Skip TLS verification? (y/N)', 'N')).toLowerCase() === 'y';
const conn = { baseUrl: baseUrl.replace(/\/+$/, ''), token };
if (insecure) conn.insecure = true;
const config = existing ?? { defaultConnection: name, connections: {} };
config.connections[name] = conn;
if (!existing) config.defaultConnection = name;
else if ((await prompt(`Set "${name}" as default? (y/N)`, 'N')).toLowerCase() === 'y') config.defaultConnection = name;
await writeFile(CONFIG_PATH, JSON.stringify(config, null, '\t') + '\n', 'utf-8');
console.log(`\nConfig written to ${CONFIG_PATH}\n`);
rl.close();
}
main().catch(e => { console.error(e.message); rl.close(); process.exit(1); });
+15 -1
View File
@@ -52,7 +52,21 @@ export class GiteaClient {
}
async delete(endpoint: string, body?: unknown): Promise<ApiResponse> {
return this.request(this.buildUrl(endpoint), 'DELETE', body);
if (body === undefined) {
return this.request(this.buildUrl(endpoint), 'DELETE');
}
// Use fetch for DELETE+body — node:https drops the body on some
// proxy/TLS configurations, causing the server to see an empty request.
const url = this.buildUrl(endpoint);
const resp = await fetch(url, {
method: 'DELETE',
headers: { ...this.headers },
body: JSON.stringify(body),
});
const raw = await resp.text();
let data: unknown;
try { data = JSON.parse(raw); } catch { data = raw; }
return { status: resp.status, data };
}
private buildUrl(endpoint: string, params?: Record<string, string>): string {
+71 -25
View File
@@ -61,7 +61,7 @@ const OwnerRepo = {
const server = new McpServer({
name: 'mokogitea-api-mcp',
version: '1.0.0',
version: '1.4.2',
});
// ── User / Auth ─────────────────────────────────────────────────────────
@@ -551,7 +551,7 @@ server.tool(
if (state) params['state'] = state;
if (labels) params['labels'] = labels;
if (type) params['type'] = type;
return formatResponse(await clientFor(connection).get('/repos/search', params));
return formatResponse(await clientFor(connection).get('/repos/issues/search', params));
},
);
@@ -871,14 +871,23 @@ server.tool(
...ConnectionParam,
},
async ({ owner, repo, release_id, name, content_base64, connection }) => {
const client = clientFor(connection);
// Gitea expects multipart form data for asset upload
// For now, use the API with the binary content
const res = await client.post(
`/repos/${owner}/${repo}/releases/${release_id}/assets?name=${encodeURIComponent(name)}`,
Buffer.from(content_base64, 'base64'),
);
return formatResponse(res);
const conn = getConnection(config, connection);
const baseUrl = conn.baseUrl.replace(/\/+$/, '') + '/api/v1';
const url = `${baseUrl}/repos/${owner}/${repo}/releases/${release_id}/assets?name=${encodeURIComponent(name)}`;
const buf = Buffer.from(content_base64, 'base64');
const resp = await fetch(url, {
method: 'POST',
headers: {
'Authorization': `token ${conn.token}`,
'Content-Type': 'application/octet-stream',
'Content-Length': String(buf.byteLength),
},
body: buf,
});
const raw = await resp.text();
let data: unknown;
try { data = JSON.parse(raw); } catch { data = raw; }
return formatResponse({ status: resp.status, data });
},
);
@@ -929,7 +938,7 @@ server.tool(
results.push({ repo, status: 'updated' });
} else {
// Create new file
await client.post(`/repos/${owner}/${repo}/contents/${path}`, {
await client.put(`/repos/${owner}/${repo}/contents/${path}`, {
content: content_base64,
message,
branch: targetBranch,
@@ -1074,7 +1083,7 @@ server.tool(
title,
content_base64: Buffer.from(content).toString('base64'),
};
if (message) body.message = message;
if (message !== undefined) body.message = message;
return formatResponse(await clientFor(connection).post(`/repos/${owner}/${repo}/wiki/new`, body));
},
);
@@ -1094,8 +1103,8 @@ server.tool(
const body: Record<string, unknown> = {
content_base64: Buffer.from(content).toString('base64'),
};
if (title) body.title = title;
if (message) body.message = message;
if (title !== undefined) body.title = title;
if (message !== undefined) body.message = message;
return formatResponse(await clientFor(connection).patch(`/repos/${owner}/${repo}/wiki/page/${page_name}`, body));
},
);
@@ -1112,6 +1121,22 @@ server.tool(
formatResponse(await clientFor(connection).delete(`/repos/${owner}/${repo}/wiki/page/${page_name}`)),
);
server.tool(
'gitea_wiki_page_revisions',
'List revision history for a wiki page',
{ ...OwnerRepo, page_name: z.string().describe('Page name/slug'), ...PaginationParams, ...ConnectionParam },
async ({ owner, repo, page_name, page, limit, connection }) =>
formatResponse(await clientFor(connection).get(`/repos/${owner}/${repo}/wiki/revisions/${page_name}`, pageQuery({ page, limit }))),
);
server.tool(
'gitea_wiki_search',
'Search wiki page titles and content',
{ ...OwnerRepo, q: z.string().describe('Search query'), ...PaginationParams, ...ConnectionParam },
async ({ owner, repo, q, page, limit, connection }) =>
formatResponse(await clientFor(connection).get(`/repos/${owner}/${repo}/wiki/search`, { q, ...pageQuery({ page, limit }) })),
);
// ── Notifications ───────────────────────────────────────────────────────
server.tool(
@@ -1714,31 +1739,52 @@ server.tool(
server.tool(
'gitea_metadata_update',
'Update repo metadata settings (merges with existing — only provided fields are changed)',
'Update repo metadata settings (partial update — only provided fields are changed)',
{
owner: z.string().describe('Repository owner'),
repo: z.string().describe('Repository name'),
// identity
name: z.string().optional().describe('Project name'),
org: z.string().optional().describe('Organization'),
version: z.string().optional().describe('Version string (e.g. 06.00.00)'),
description: z.string().optional().describe('Project description'),
// versioning
version_prefix: z.string().optional().describe('Tag prefix for version display (e.g. v1.26.1-moko.)'),
element_name: z.string().optional().describe('Extension element name (e.g. pkg_mokosuitecrm)'),
// licensing
license_spdx: z.string().optional().describe('SPDX license identifier'),
platform: z.string().optional().describe('Platform (joomla, wordpress, dolibarr, go, mcp, platform, generic)'),
license_name: z.string().optional().describe('Human-readable license name'),
// governance
platform: z.string().optional().describe('Platform (joomla, go, node, php, python, generic)'),
standards_version: z.string().optional().describe('mokoplatform standards version'),
standards_source: z.string().optional().describe('URL to standards repo'),
// distribution
maintainer: z.string().optional().describe('Maintainer name'),
maintainer_url: z.string().optional().describe('Maintainer website URL'),
info_url: z.string().optional().describe('Extension info/product page URL'),
target_version: z.string().optional().describe('Target platform version regex (e.g. (5|6)\\.*)'),
php_minimum: z.string().optional().describe('Minimum PHP version (e.g. 8.1)'),
package_type: z.string().optional().describe('Extension type (component, module, plugin, package, template, library, file)'),
target_version: z.string().optional().describe('Target platform version regex'),
php_minimum: z.string().optional().describe('Minimum PHP version'),
// build
language: z.string().optional().describe('Primary language (Go, PHP, TypeScript)'),
extension_type: z.string().optional().describe('Extension type (component, module, plugin, package, template, library)'),
entry_point: z.string().optional().describe('Build entry point path'),
// deploy
deploy_host: z.string().optional().describe('SSH host for deploy'),
deploy_port: z.string().optional().describe('SSH port (default 2918)'),
deploy_user: z.string().optional().describe('SSH user'),
deploy_path: z.string().optional().describe('Remote path for source/compose'),
docker_image: z.string().optional().describe('Docker image name (e.g. mokoconsulting/mokogitea)'),
docker_registry: z.string().optional().describe('Docker registry host'),
container_name: z.string().optional().describe('Docker container name'),
health_url: z.string().optional().describe('Health check URL after deploy'),
...ConnectionParam,
},
async ({ owner, repo, connection, ...fields }) => {
const c = clientFor(connection);
const current = await c.get(`/repos/${owner}/${repo}/metadata`);
const merged = { ...(current.data as Record<string, unknown>) };
// Server handles partial merge — just send the fields that were provided.
const body: Record<string, unknown> = {};
for (const [k, v] of Object.entries(fields)) {
if (v !== undefined) merged[k] = v;
if (v !== undefined) body[k] = v;
}
return formatResponse(await c.put(`/repos/${owner}/${repo}/metadata`, merged));
return formatResponse(await clientFor(connection).put(`/repos/${owner}/${repo}/metadata`, body));
},
);
+1 -1
View File
@@ -15,5 +15,5 @@
"sourceMap": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
"exclude": ["node_modules", "dist", "src/server.ts", "src/sse.ts"]
}