115 Commits

Author SHA1 Message Date
jmiller 7cf8ff0153 chore: bump to 1.4.3 [skip ci] 2026-06-21 23:45:07 +00:00
jmiller 392822a74f chore: bump to 1.4.3 [skip ci] 2026-06-21 23:28:11 +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
Jonathan Miller fb36a209a9 feat: add wiki create, edit, and delete tools
MCP: Copilot Agent / Run Copilot Coding Agent (pull_request) Failing after 2s
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
Universal: Changelog Validation / Validate CHANGELOG.md (pull_request) Failing after 4s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 1s
Universal: PR Check / Validate PR (pull_request) Successful in 4s
MCP: Standards Compliance / Secret Scanning (pull_request) Successful in 3s
Universal: Auto Version Bump / Version Bump (push) Successful in 4s
MCP: Standards Compliance / License Header Validation (pull_request) Failing after 5s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
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 4s
Generic: Project CI / Lint & Validate (pull_request) Successful in 17s
MCP: Standards Compliance / README Completeness Check (pull_request) Failing after 4s
MCP: Standards Compliance / Git Repository Hygiene (pull_request) Successful in 4s
MCP: Standards Compliance / Script Integrity Validation (pull_request) Successful in 6s
MCP: Standards Compliance / Line Length Check (pull_request) Failing after 9s
MCP: Standards Compliance / File Naming Standards (pull_request) Successful in 9s
MCP: Standards Compliance / Insecure Code Pattern Detection (pull_request) Successful in 7s
MCP: Standards Compliance / Code Complexity Analysis (pull_request) Failing after 3s
MCP: Standards Compliance / Dead Code Detection (pull_request) Successful in 4s
MCP: Standards Compliance / File Size Limits (pull_request) Successful in 3s
MCP: Standards Compliance / TODO/FIXME Tracking (pull_request) Successful in 3s
MCP: Standards Compliance / Binary File Detection (pull_request) Successful in 4s
MCP: Standards Compliance / Version Consistency Check (pull_request) Successful in 46s
Universal: CodeQL Analysis / Analyze (javascript) (pull_request) Failing after 58s
MCP: Standards Compliance / Broken Link Detection (pull_request) Successful in 4s
Universal: CodeQL Analysis / Analyze (actions) (pull_request) Failing after 1m3s
MCP: Standards Compliance / Accessibility Check (pull_request) Successful in 3s
MCP: Standards Compliance / API Documentation Coverage (pull_request) Successful in 3s
MCP: Standards Compliance / Performance Metrics (pull_request) Successful in 4s
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
MCP: Standards Compliance / Terraform Configuration Validation (pull_request) Successful in 9s
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 2s
Branch Cleanup / Delete merged branch (pull_request) Has been skipped
MCP: Standards Compliance / Unused Dependencies Check (pull_request) Successful in 47s
MCP: Standards Compliance / Dependency Vulnerability Scanning (pull_request) Successful in 50s
MCP: Standards Compliance / Enterprise Readiness Check (pull_request) Successful in 41s
MCP: Standards Compliance / Repository Health Check (pull_request) Successful in 40s
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
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
Adds three new MCP tools for full wiki CRUD support:
- gitea_wiki_page_create: create wiki pages with markdown content
- gitea_wiki_page_edit: edit existing pages (with optional rename)
- gitea_wiki_page_delete: delete wiki pages

Content is automatically base64-encoded to match the Gitea API contract.
2026-06-18 19:44:48 -05:00
jmiller 5b0138efa1 fix: update stale repository URL (gitea-api-mcp → mcp-mokogitea-api)
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 3s
MCP: Build & Validate / build (20) (push) Failing after 6s
MCP: Build & Validate / build (22) (push) Failing after 6s
Generic: Repo Health / Access control (push) Successful in 1s
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Project CI / Lint & Validate (push) Successful in 14s
MCP: Standards Compliance / Secret Scanning (push) Successful in 4s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 6s
MCP: Standards Compliance / License Header Validation (push) Failing after 9s
Publish to npm / publish (push) Failing after 15s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 4s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 5s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 4s
MCP: Build & Release / Build, Validate & Release (push) Failing after 31s
MCP: Standards Compliance / README Completeness Check (push) Failing after 4s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 3s
MCP: Standards Compliance / File Naming Standards (push) Successful in 3s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 7s
MCP: Standards Compliance / Line Length Check (push) Failing after 6s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 3s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 6s
MCP: Standards Compliance / File Size Limits (push) Successful in 3s
MCP: Standards Compliance / Binary File Detection (push) Successful in 4s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 3s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m4s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m5s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 45s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 4s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 3s
MCP: Standards Compliance / Accessibility Check (push) Successful in 3s
MCP: Standards Compliance / Performance Metrics (push) Successful in 3s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 42s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 9s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 52s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 50s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 57s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 49s
MCP: Standards Compliance / Repository Health Check (push) Successful in 48s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 34s
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-18 14:49:13 +00:00
jmiller 8a46563d39 fix(ci): auto-bump package.json patch version before npm publish
Generic: Repo Health / Site Health (push) Has been skipped
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 4s
Generic: Repo Health / Access control (push) Successful in 2s
MCP: Standards Compliance / Secret Scanning (push) Successful in 6s
MCP: Standards Compliance / License Header Validation (push) Failing after 7s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 8s
MCP: Standards Compliance / File Naming Standards (push) Successful in 8s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 9s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 9s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 8s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 10s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 10s
MCP: Standards Compliance / README Completeness Check (push) Failing after 11s
MCP: Standards Compliance / Line Length Check (push) Failing after 13s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 13s
MCP: Standards Compliance / File Size Limits (push) Successful in 7s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 8s
MCP: Standards Compliance / Binary File Detection (push) Successful in 10s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 13s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 10s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 10s
MCP: Standards Compliance / Accessibility Check (push) Successful in 9s
MCP: Standards Compliance / Performance Metrics (push) Successful in 9s
Generic: Project CI / Lint & Validate (push) Successful in 29s
Publish to npm / publish (push) Failing after 31s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 17s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 38s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 1m1s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 58s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 57s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 56s
MCP: Standards Compliance / Repository Health Check (push) Successful in 52s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 54s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m16s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m3s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m16s
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-10 10:28:39 +00:00
Jonathan Miller dbaf91546e chore: bump version to 1.3.0
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 2s
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 5s
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 8s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 8s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 7s
MCP: Tool Inventory / inventory (push) Failing after 12s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 7s
MCP: Build & Validate / build (20) (push) Failing after 13s
MCP: Standards Compliance / README Completeness Check (push) Failing after 6s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 6s
MCP: Standards Compliance / File Naming Standards (push) Successful in 6s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 6s
MCP: Standards Compliance / Line Length Check (push) Failing after 8s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 11s
MCP: Standards Compliance / File Size Limits (push) Successful in 8s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 8s
MCP: Standards Compliance / Binary File Detection (push) Successful in 9s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 13s
Generic: Project CI / Lint & Validate (push) Successful in 33s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 6s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 7s
Publish to npm / publish (push) Successful in 35s
MCP: Standards Compliance / Accessibility Check (push) Successful in 6s
MCP: Build & Release / Build, Validate & Release (push) Failing after 38s
MCP: Standards Compliance / Performance Metrics (push) Successful in 7s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 10s
MCP: Build & Validate / build (22) (push) Failing after 49s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 33s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 1m1s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 1m11s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m0s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m0s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 56s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m25s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 51s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m27s
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
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-10 05:26:29 -05:00
Jonathan Miller 3031415584 refactor: rename manifest tools to metadata, remove auto-derived fields
- gitea_manifest_get → gitea_metadata_get
- gitea_manifest_update → gitea_metadata_update
- API path: /repos/{owner}/{repo}/metadata
- Remove auto-derived params (display_name, maintainer, maintainer_url,
  element_name, standards_version, standards_source, language, license_name)
- Keep only user-configurable fields in update tool
2026-06-10 04:55:09 -05:00
jmiller 0bb89ace0b fix(ci): use npm install instead of npm ci (no lockfile)
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 3s
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 6s
MCP: Standards Compliance / Secret Scanning (push) Successful in 11s
MCP: Standards Compliance / License Header Validation (push) Failing after 11s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 11s
MCP: Standards Compliance / File Naming Standards (push) Successful in 7s
MCP: Standards Compliance / README Completeness Check (push) Failing after 9s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 12s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 10s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 10s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 11s
MCP: Standards Compliance / Line Length Check (push) Failing after 13s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 13s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 7s
MCP: Standards Compliance / File Size Limits (push) Successful in 9s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 11s
MCP: Standards Compliance / Binary File Detection (push) Successful in 8s
Generic: Project CI / Lint & Validate (push) Successful in 36s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 9s
Publish to npm / publish (push) Successful in 38s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 10s
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
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m21s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m22s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 1m20s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 1m13s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 1m12s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 10s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m14s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 1m16s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 1m5s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 35s
MCP: Standards Compliance / Repository Health Check (push) Successful in 1m3s
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-10 02:22:51 +00:00
jmiller b35164db9d chore: bump version to 1.2.0 for npm publish
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 2s
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 5s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 8s
MCP: Standards Compliance / Secret Scanning (push) Successful in 9s
MCP: Standards Compliance / License Header Validation (push) Failing after 8s
MCP: Standards Compliance / README Completeness Check (push) Failing after 7s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 9s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 9s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 7s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 11s
MCP: Build & Validate / build (20) (push) Failing after 14s
Publish to npm / publish (push) Failing after 14s
MCP: Build & Validate / build (22) (push) Failing after 14s
MCP: Standards Compliance / File Naming Standards (push) Successful in 6s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 6s
MCP: Standards Compliance / Line Length Check (push) Failing after 8s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 11s
MCP: Standards Compliance / File Size Limits (push) Successful in 7s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 10s
MCP: Standards Compliance / Binary File Detection (push) Successful in 9s
Generic: Project CI / Lint & Validate (push) Successful in 26s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 6s
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 4s
MCP: Standards Compliance / Performance Metrics (push) Successful in 4s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 11s
MCP: Build & Release / Build, Validate & Release (push) Failing after 45s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 34s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 59s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 56s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 55s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 50s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m12s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 54s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 53s
MCP: Standards Compliance / Repository Health Check (push) Successful in 53s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m18s
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-10 02:20:29 +00:00
Jonathan Miller b905219d57 ci: allow manual dispatch for npm publish workflow
Universal: Changelog Validation / Validate CHANGELOG.md (push) Has been cancelled
Generic: Project CI / Lint & Validate (push) Has been cancelled
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (actions) (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (javascript) (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Publish to npm / publish (push) Has been cancelled
Generic: Repo Health / Access control (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 / Site Health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
MCP: Standards Compliance / Secret Scanning (push) Has been cancelled
MCP: Standards Compliance / License Header Validation (push) Has been cancelled
MCP: Standards Compliance / Repository Structure Validation (push) Has been cancelled
MCP: Standards Compliance / Coding Standards Check (push) Has been cancelled
MCP: Standards Compliance / Version Consistency Check (push) Has been cancelled
MCP: Standards Compliance / Workflow Configuration Check (push) Has been cancelled
MCP: Standards Compliance / Documentation Quality Check (push) Has been cancelled
MCP: Standards Compliance / README Completeness Check (push) Has been cancelled
MCP: Standards Compliance / Git Repository Hygiene (push) Has been cancelled
MCP: Standards Compliance / Script Integrity Validation (push) Has been cancelled
MCP: Standards Compliance / Line Length Check (push) Has been cancelled
MCP: Standards Compliance / File Naming Standards (push) Has been cancelled
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Has been cancelled
MCP: Standards Compliance / Code Complexity Analysis (push) Has been cancelled
MCP: Standards Compliance / Code Duplication Detection (push) Has been cancelled
MCP: Standards Compliance / Dead Code Detection (push) Has been cancelled
MCP: Standards Compliance / File Size Limits (push) Has been cancelled
MCP: Standards Compliance / Binary File Detection (push) Has been cancelled
MCP: Standards Compliance / TODO/FIXME Tracking (push) Has been cancelled
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Has been cancelled
MCP: Standards Compliance / Unused Dependencies Check (push) Has been cancelled
MCP: Standards Compliance / Broken Link Detection (push) Has been cancelled
MCP: Standards Compliance / API Documentation Coverage (push) Has been cancelled
MCP: Standards Compliance / Accessibility Check (push) Has been cancelled
MCP: Standards Compliance / Performance Metrics (push) Has been cancelled
MCP: Standards Compliance / Enterprise Readiness Check (push) Has been cancelled
MCP: Standards Compliance / Repository Health Check (push) Has been cancelled
MCP: Standards Compliance / Terraform Configuration Validation (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
Universal: Sync Version on Merge / Propagate README version (push) Has been cancelled
2026-06-09 10:45:23 -05:00
Jonathan Miller 5c4f65c8b2 ci: add npm publish workflow on merge to main
Universal: Changelog Validation / Validate CHANGELOG.md (push) Has been cancelled
Generic: Project CI / Lint & Validate (push) Has been cancelled
Generic: Project CI / Tests (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (actions) (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (javascript) (push) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Publish to npm / publish (push) Has been cancelled
Generic: Repo Health / Access control (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 / Site Health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
MCP: Standards Compliance / Secret Scanning (push) Has been cancelled
MCP: Standards Compliance / License Header Validation (push) Has been cancelled
MCP: Standards Compliance / Repository Structure Validation (push) Has been cancelled
MCP: Standards Compliance / Coding Standards Check (push) Has been cancelled
MCP: Standards Compliance / Version Consistency Check (push) Has been cancelled
MCP: Standards Compliance / Workflow Configuration Check (push) Has been cancelled
MCP: Standards Compliance / Documentation Quality Check (push) Has been cancelled
MCP: Standards Compliance / README Completeness Check (push) Has been cancelled
MCP: Standards Compliance / Git Repository Hygiene (push) Has been cancelled
MCP: Standards Compliance / Script Integrity Validation (push) Has been cancelled
MCP: Standards Compliance / Line Length Check (push) Has been cancelled
MCP: Standards Compliance / File Naming Standards (push) Has been cancelled
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Has been cancelled
MCP: Standards Compliance / Code Complexity Analysis (push) Has been cancelled
MCP: Standards Compliance / Code Duplication Detection (push) Has been cancelled
MCP: Standards Compliance / Dead Code Detection (push) Has been cancelled
MCP: Standards Compliance / File Size Limits (push) Has been cancelled
MCP: Standards Compliance / Binary File Detection (push) Has been cancelled
MCP: Standards Compliance / TODO/FIXME Tracking (push) Has been cancelled
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Has been cancelled
MCP: Standards Compliance / Unused Dependencies Check (push) Has been cancelled
MCP: Standards Compliance / Broken Link Detection (push) Has been cancelled
MCP: Standards Compliance / API Documentation Coverage (push) Has been cancelled
MCP: Standards Compliance / Accessibility Check (push) Has been cancelled
MCP: Standards Compliance / Performance Metrics (push) Has been cancelled
MCP: Standards Compliance / Enterprise Readiness Check (push) Has been cancelled
MCP: Standards Compliance / Repository Health Check (push) Has been cancelled
MCP: Standards Compliance / Terraform Configuration Validation (push) Has been cancelled
MCP: Standards Compliance / Compliance Summary (push) Has been cancelled
Universal: Sync Version on Merge / Propagate README version (push) Has been cancelled
Builds and publishes to npm registry when version changes.
Skips publish if current version already exists on npm.
Uses org-level NPM_TOKEN secret.
2026-06-09 10:42:31 -05:00
Jonathan Miller c9eb6cfc89 feat: add issue metadata tools and status/priority/type params
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
Universal: Changelog Validation / Validate CHANGELOG.md (push) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
MCP: Standards Compliance / License Header Validation (push) Has been cancelled
MCP: Standards Compliance / Secret Scanning (push) Has been cancelled
MCP: Standards Compliance / Repository Structure Validation (push) Has been cancelled
MCP: Standards Compliance / Coding Standards Check (push) Has been cancelled
MCP: Standards Compliance / Workflow Configuration Check (push) Has been cancelled
MCP: Standards Compliance / Git Repository Hygiene (push) Has been cancelled
MCP: Standards Compliance / Documentation Quality Check (push) Has been cancelled
MCP: Standards Compliance / README Completeness Check (push) Has been cancelled
MCP: Build & Validate / build (22) (push) Has been cancelled
MCP: Tool Inventory / inventory (push) Has been cancelled
MCP: Build & Validate / build (20) (push) Has been cancelled
MCP: Standards Compliance / Script Integrity Validation (push) Has been cancelled
MCP: Standards Compliance / Line Length Check (push) Has been cancelled
MCP: Standards Compliance / File Naming Standards (push) Has been cancelled
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Has been cancelled
MCP: Standards Compliance / File Size Limits (push) Has been cancelled
Generic: Project CI / Lint & Validate (push) Has been cancelled
MCP: Standards Compliance / Dead Code Detection (push) Has been cancelled
MCP: Standards Compliance / Binary File Detection (push) Has been cancelled
MCP: Standards Compliance / TODO/FIXME Tracking (push) Has been cancelled
MCP: Standards Compliance / Broken Link Detection (push) Has been cancelled
MCP: Standards Compliance / API Documentation Coverage (push) Has been cancelled
MCP: Standards Compliance / Accessibility Check (push) Has been cancelled
MCP: Standards Compliance / Performance Metrics (push) Has been cancelled
MCP: Build & Release / Build, Validate & Release (push) Has been cancelled
MCP: Standards Compliance / Terraform Configuration Validation (push) Has been cancelled
MCP: Standards Compliance / Version Consistency Check (push) Has been cancelled
MCP: Standards Compliance / Code Duplication Detection (push) Has been cancelled
MCP: Standards Compliance / Code Complexity Analysis (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (actions) (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (javascript) (push) Has been cancelled
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Has been cancelled
MCP: Standards Compliance / Unused Dependencies Check (push) Has been cancelled
MCP: Standards Compliance / Enterprise Readiness Check (push) Has been cancelled
MCP: Standards Compliance / Repository Health Check (push) Has been cancelled
Universal: Sync Version on Merge / Propagate README version (push) Has been cancelled
- gitea_org_issue_statuses_list, gitea_org_issue_priorities_list, gitea_org_issue_types_list
- gitea_issue_set_status, gitea_issue_set_priority (convenience wrappers)
- gitea_issue_create/update now accept status_id, priority_id, type_id
2026-06-08 05:16:01 -05:00
Jonathan Miller 622060373d fix(ci): use pre-installed mokoplatform instead of GitHub clone + PHP setup
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
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Universal: Changelog Validation / Validate CHANGELOG.md (push) Has been cancelled
MCP: Standards Compliance / License Header Validation (push) Has been cancelled
MCP: Standards Compliance / Secret Scanning (push) Has been cancelled
MCP: Standards Compliance / README Completeness Check (push) Has been cancelled
MCP: Standards Compliance / Repository Structure Validation (push) Has been cancelled
MCP: Standards Compliance / Coding Standards Check (push) Has been cancelled
MCP: Standards Compliance / Workflow Configuration Check (push) Has been cancelled
MCP: Standards Compliance / Git Repository Hygiene (push) Has been cancelled
MCP: Standards Compliance / Documentation Quality Check (push) Has been cancelled
MCP: Standards Compliance / File Naming Standards (push) Has been cancelled
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Has been cancelled
MCP: Standards Compliance / Line Length Check (push) Has been cancelled
Generic: Project CI / Lint & Validate (push) Has been cancelled
MCP: Standards Compliance / File Size Limits (push) Has been cancelled
MCP: Standards Compliance / Binary File Detection (push) Has been cancelled
MCP: Standards Compliance / TODO/FIXME Tracking (push) Has been cancelled
MCP: Standards Compliance / Dead Code Detection (push) Has been cancelled
MCP: Standards Compliance / Broken Link Detection (push) Has been cancelled
MCP: Standards Compliance / API Documentation Coverage (push) Has been cancelled
MCP: Standards Compliance / Accessibility Check (push) Has been cancelled
MCP: Standards Compliance / Performance Metrics (push) Has been cancelled
MCP: Standards Compliance / Terraform Configuration Validation (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (javascript) (push) Has been cancelled
MCP: Standards Compliance / Version Consistency Check (push) Has been cancelled
MCP: Standards Compliance / Code Complexity Analysis (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (actions) (push) Has been cancelled
MCP: Standards Compliance / Code Duplication Detection (push) Has been cancelled
Universal: Sync Version on Merge / Propagate README version (push) Has been cancelled
MCP: Standards Compliance / Script Integrity Validation (push) Has been cancelled
MCP: Standards Compliance / Unused Dependencies Check (push) Has been cancelled
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Has been cancelled
MCP: Standards Compliance / Enterprise Readiness Check (push) Has been cancelled
MCP: Standards Compliance / Repository Health Check (push) Has been cancelled
The self-hosted runners don't support shivammathur/setup-php or GitHub
clone of MokoStandards. Use the pre-installed /opt/mokoplatform on the
runner host instead.
2026-06-07 14:46:43 -05:00
Jonathan Miller bc8bc0b53a feat(manifest): add manifest get/update tools with all distribution fields
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
Generic: Repo Health / Site Health (push) Has been cancelled
Universal: Changelog Validation / Validate CHANGELOG.md (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
MCP: Standards Compliance / Secret Scanning (push) Has been cancelled
MCP: Standards Compliance / License Header Validation (push) Has been cancelled
MCP: Standards Compliance / Repository Structure Validation (push) Has been cancelled
MCP: Standards Compliance / Coding Standards Check (push) Has been cancelled
MCP: Build & Validate / build (20) (push) Has been cancelled
MCP: Standards Compliance / Workflow Configuration Check (push) Has been cancelled
MCP: Standards Compliance / Documentation Quality Check (push) Has been cancelled
MCP: Standards Compliance / README Completeness Check (push) Has been cancelled
MCP: Standards Compliance / Git Repository Hygiene (push) Has been cancelled
MCP: Standards Compliance / File Naming Standards (push) Has been cancelled
Generic: Project CI / Lint & Validate (push) Has been cancelled
MCP: Standards Compliance / Script Integrity Validation (push) Has been cancelled
MCP: Standards Compliance / Line Length Check (push) Has been cancelled
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Has been cancelled
MCP: Tool Inventory / inventory (push) Has been cancelled
MCP: Standards Compliance / File Size Limits (push) Has been cancelled
MCP: Standards Compliance / Binary File Detection (push) Has been cancelled
MCP: Standards Compliance / Dead Code Detection (push) Has been cancelled
MCP: Standards Compliance / TODO/FIXME Tracking (push) Has been cancelled
MCP: Standards Compliance / Broken Link Detection (push) Has been cancelled
MCP: Build & Release / Build, Validate & Release (push) Has been cancelled
MCP: Standards Compliance / API Documentation Coverage (push) Has been cancelled
MCP: Standards Compliance / Accessibility Check (push) Has been cancelled
MCP: Standards Compliance / Performance Metrics (push) Has been cancelled
MCP: Standards Compliance / Terraform Configuration Validation (push) Has been cancelled
MCP: Build & Validate / build (22) (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (actions) (push) Has been cancelled
MCP: Standards Compliance / Version Consistency Check (push) Has been cancelled
MCP: Standards Compliance / Unused Dependencies Check (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (javascript) (push) Has been cancelled
MCP: Standards Compliance / Code Duplication Detection (push) Has been cancelled
MCP: Standards Compliance / Code Complexity Analysis (push) Has been cancelled
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Has been cancelled
Universal: Sync Version on Merge / Propagate README version (push) Has been cancelled
MCP: Standards Compliance / Repository Health Check (push) Has been cancelled
MCP: Standards Compliance / Enterprise Readiness Check (push) Has been cancelled
2026-06-07 14:27:59 -05:00
Jonathan Miller ff290663d2 fix: support request body in DELETE methods (fixes #14)
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
Generic: Repo Health / Access control (push) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Universal: Changelog Validation / Validate CHANGELOG.md (push) Has been cancelled
MCP: Standards Compliance / Secret Scanning (push) Has been cancelled
MCP: Standards Compliance / License Header Validation (push) Has been cancelled
MCP: Standards Compliance / Repository Structure Validation (push) Has been cancelled
MCP: Tool Inventory / inventory (push) Has been cancelled
MCP: Standards Compliance / Workflow Configuration Check (push) Has been cancelled
MCP: Standards Compliance / Documentation Quality Check (push) Has been cancelled
MCP: Standards Compliance / Coding Standards Check (push) Has been cancelled
MCP: Standards Compliance / README Completeness Check (push) Has been cancelled
MCP: Standards Compliance / Git Repository Hygiene (push) Has been cancelled
MCP: Build & Validate / build (20) (push) Has been cancelled
MCP: Build & Validate / build (22) (push) Has been cancelled
MCP: Standards Compliance / File Naming Standards (push) Has been cancelled
MCP: Standards Compliance / Line Length Check (push) Has been cancelled
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Has been cancelled
MCP: Standards Compliance / TODO/FIXME Tracking (push) Has been cancelled
MCP: Standards Compliance / File Size Limits (push) Has been cancelled
MCP: Standards Compliance / Binary File Detection (push) Has been cancelled
MCP: Standards Compliance / Dead Code Detection (push) Has been cancelled
MCP: Standards Compliance / Broken Link Detection (push) Has been cancelled
MCP: Standards Compliance / API Documentation Coverage (push) Has been cancelled
MCP: Standards Compliance / Accessibility Check (push) Has been cancelled
MCP: Standards Compliance / Performance Metrics (push) Has been cancelled
Generic: Project CI / Lint & Validate (push) Has been cancelled
MCP: Standards Compliance / Terraform Configuration Validation (push) Has been cancelled
MCP: Build & Release / Build, Validate & Release (push) Has been cancelled
MCP: Standards Compliance / Version Consistency Check (push) Has been cancelled
Universal: Sync Version on Merge / Propagate README version (push) Has been cancelled
MCP: Standards Compliance / Code Complexity Analysis (push) Has been cancelled
MCP: Standards Compliance / Code Duplication Detection (push) Has been cancelled
MCP: Standards Compliance / Unused Dependencies Check (push) Has been cancelled
MCP: Standards Compliance / Script Integrity Validation (push) Has been cancelled
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Has been cancelled
MCP: Standards Compliance / Repository Health Check (push) Has been cancelled
MCP: Standards Compliance / Enterprise Readiness Check (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (actions) (push) Has been cancelled
Universal: CodeQL Analysis / Analyze (javascript) (push) Has been cancelled
gitea_file_delete was using POST with _method:'DELETE' which caused
Gitea to treat it as a file create, returning "file already exists".
Also fix gitea_api_request DELETE case to pass body through.
2026-06-07 13:59:51 -05:00
jmiller 3627b1f03f chore: sync security-audit.yml from Template-Generic [skip ci] 2026-06-07 17:56:09 +00:00
jmiller 236b138aac chore: sync pre-release.yml from Template-Generic [skip ci] 2026-06-07 17:56:08 +00:00
jmiller 7f2f00bd56 chore: sync notify.yml from Template-Generic [skip ci] 2026-06-07 17:56:07 +00:00
jmiller 87f5563c0f chore: sync gitleaks.yml from Template-Generic [skip ci] 2026-06-07 17:56:05 +00:00
jmiller 349346fad4 chore: sync deploy-manual.yml from Template-Generic [skip ci] 2026-06-07 17:56:04 +00:00
jmiller 067babc221 chore: sync cleanup.yml from Template-Generic [skip ci] 2026-06-07 17:56:03 +00:00
jmiller a98d81eb2a chore: sync ci-generic.yml from Template-Generic [skip ci] 2026-06-07 17:56:02 +00:00
jmiller 2b4e8c2777 chore: sync auto-release.yml from Template-Generic [skip ci] 2026-06-07 17:56:00 +00:00
jmiller b382a338b7 chore: sync .mokogitea/workflows/pr-check.yml from moko-platform [skip ci] 2026-06-04 15:58:19 +00:00
jmiller 99077c1f61 chore: sync .mokogitea/workflows/pr-check.yml from moko-platform [skip ci] 2026-06-04 15:40:45 +00:00
jmiller 217bca5bd9 chore: sync .mokogitea/workflows/pr-check.yml from moko-platform [skip ci] 2026-06-04 15:32:08 +00:00
jmiller 41fb69c912 chore: sync .mokogitea/workflows/pr-check.yml from moko-platform [skip ci] 2026-06-04 15:18:56 +00:00
jmiller 1a3877bfe3 chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-06-04 14:23:21 +00:00
jmiller 3f52a0ad00 chore: sync .mokogitea/workflows/repo-health.yml from moko-platform [skip ci] 2026-06-04 13:47:09 +00:00
Moko Consulting 314f649a9e chore(ci): sync CI issue reporter from Template-Joomla
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 4s
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 3s
MCP: Standards Compliance / Secret Scanning (push) Successful in 5s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 3s
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 / README Completeness Check (push) Failing after 4s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 6s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 5s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 7s
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 6s
MCP: Standards Compliance / File Size Limits (push) Successful in 4s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 4s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 6s
MCP: Standards Compliance / Binary File Detection (push) Successful in 6s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 43s
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 4s
MCP: Standards Compliance / Performance Metrics (push) Successful in 4s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 48s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 6s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 50s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 43s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 44s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 34s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 49s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 55s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 48s
MCP: Standards Compliance / Repository Health Check (push) Successful in 52s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Release configuration (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-02 21:33:50 +00:00
Moko Consulting d9f8eae0e7 chore(ci): sync CI issue reporter from Template-Joomla
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 3s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 47s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 51s
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 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 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 5s
MCP: Standards Compliance / Line Length Check (push) Failing after 5s
MCP: Standards Compliance / File Naming Standards (push) Successful in 3s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 3s
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 5s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 4s
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 / Version Consistency Check (push) Successful in 42s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 6s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 42s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 41s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 44s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 46s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 48s
MCP: Standards Compliance / Repository Health Check (push) Successful in 49s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 43s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Release configuration (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-02 21:33:49 +00:00
Moko Consulting 10de749d98 chore(ci): sync CI issue reporter from Template-Joomla
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 3s
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 3s
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 11s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 5s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 3s
MCP: Standards Compliance / README Completeness Check (push) Failing after 2s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 3s
MCP: Standards Compliance / File Naming Standards (push) Successful in 3s
MCP: Standards Compliance / Line Length Check (push) Failing after 4s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 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 3s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 54s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 55s
MCP: Standards Compliance / TODO/FIXME Tracking (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 4s
MCP: Standards Compliance / Performance Metrics (push) Successful in 4s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 44s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 6s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 40s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 40s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 41s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 48s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 45s
MCP: Standards Compliance / Repository Health Check (push) Successful in 46s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 31s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Release configuration (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-02 21:33:48 +00:00
Moko Consulting 0dd031750f chore(ci): add CI issue reporter for auto-filing gate failures
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 5s
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 5s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 5s
MCP: Standards Compliance / License Header Validation (push) Failing after 5s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 4s
MCP: Standards Compliance / Workflow Configuration Check (push) Failing after 5s
MCP: Standards Compliance / Documentation Quality Check (push) Successful in 5s
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 / File Size Limits (push) Successful in 4s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 6s
MCP: Standards Compliance / Binary File Detection (push) Successful in 5s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 48s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 7s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 6s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 5s
MCP: Standards Compliance / Performance Metrics (push) Successful in 3s
MCP: Standards Compliance / Accessibility Check (push) Successful in 5s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m1s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 9s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 52s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 46s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 48s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 34s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 54s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 56s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 52s
MCP: Standards Compliance / Repository Health Check (push) Successful in 53s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Release configuration (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-02 20:37:14 +00:00
Moko Consulting 7d652ab1e4 chore(ci): add CI issue reporter for auto-filing gate failures
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 5s
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 6s
MCP: Standards Compliance / License Header Validation (push) Failing after 4s
MCP: Standards Compliance / Coding Standards Check (push) Failing after 6s
MCP: Standards Compliance / Repository Structure Validation (push) Failing after 7s
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 5s
MCP: Standards Compliance / Git Repository Hygiene (push) Successful in 6s
MCP: Standards Compliance / File Naming Standards (push) Successful in 5s
MCP: Standards Compliance / Line Length Check (push) Failing after 5s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 7s
MCP: Standards Compliance / Insecure Code Pattern Detection (push) Successful in 4s
MCP: Standards Compliance / File Size Limits (push) Successful in 4s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 6s
MCP: Standards Compliance / Binary File Detection (push) Successful in 5s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 4s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 4s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 6s
MCP: Standards Compliance / Accessibility Check (push) Successful in 4s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 49s
MCP: Standards Compliance / Performance Metrics (push) Successful in 7s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 6s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 1m5s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 51s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 53s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 52s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 50s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 1m0s
MCP: Standards Compliance / Repository Health Check (push) Successful in 54s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 58s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 28s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Release configuration (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-02 20:37:13 +00:00
Moko Consulting aa5872c7b3 chore(ci): add CI issue reporter for auto-filing gate failures
Universal: Changelog Validation / Validate CHANGELOG.md (push) Failing after 6s
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 3s
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 6s
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 / Insecure Code Pattern Detection (push) Successful in 4s
MCP: Standards Compliance / File Naming Standards (push) Successful in 4s
MCP: Standards Compliance / Script Integrity Validation (push) Successful in 6s
MCP: Standards Compliance / Line Length Check (push) Failing after 6s
MCP: Standards Compliance / File Size Limits (push) Successful in 4s
Universal: CodeQL Analysis / Analyze (actions) (push) Failing after 45s
MCP: Standards Compliance / Dead Code Detection (push) Successful in 5s
MCP: Standards Compliance / Binary File Detection (push) Successful in 6s
MCP: Standards Compliance / TODO/FIXME Tracking (push) Successful in 5s
MCP: Standards Compliance / API Documentation Coverage (push) Successful in 5s
MCP: Standards Compliance / Broken Link Detection (push) Successful in 7s
MCP: Standards Compliance / Accessibility Check (push) Successful in 6s
MCP: Standards Compliance / Performance Metrics (push) Successful in 6s
MCP: Standards Compliance / Terraform Configuration Validation (push) Successful in 7s
Universal: CodeQL Analysis / Analyze (javascript) (push) Failing after 1m2s
MCP: Standards Compliance / Version Consistency Check (push) Successful in 52s
MCP: Standards Compliance / Code Complexity Analysis (push) Successful in 50s
MCP: Standards Compliance / Code Duplication Detection (push) Successful in 49s
MCP: Standards Compliance / Unused Dependencies Check (push) Successful in 49s
MCP: Standards Compliance / Dependency Vulnerability Scanning (push) Successful in 52s
MCP: Standards Compliance / Enterprise Readiness Check (push) Successful in 56s
MCP: Standards Compliance / Repository Health Check (push) Successful in 55s
Universal: Sync Version on Merge / Propagate README version (push) Failing after 39s
Universal: CodeQL Analysis / Security Scan Summary (push) Has been cancelled
Generic: Repo Health / Release configuration (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-02 20:37:12 +00:00
jmiller b46d341cbb chore: sync .mokogitea/workflows/cascade-dev.yml from moko-platform [skip ci] 2026-05-31 01:42:01 +00:00
jmiller 9c0e487cb0 chore: sync CONTRIBUTING.md from moko-platform [skip ci] 2026-05-31 01:10:10 +00:00
jmiller 47abe66030 chore: sync .mokogitea/workflows/pr-check.yml from moko-platform [skip ci] 2026-05-30 16:01:38 +00:00
jmiller 76a24549b6 chore: sync CONTRIBUTING.md from moko-platform [skip ci] 2026-05-30 14:59:41 +00:00
jmiller e8e943fa87 chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-30 14:56:07 +00:00
jmiller 519fe8f7ac chore: sync .mokogitea/workflows/auto-bump.yml from moko-platform [skip ci] 2026-05-30 14:54:15 +00:00
jmiller 679e3a4f1e chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-30 05:53:15 +00:00
jmiller cbfe1ed735 chore: sync .mokogitea/workflows/auto-bump.yml from moko-platform [skip ci] 2026-05-30 05:51:19 +00:00
jmiller 53cd4d5ddd chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-30 03:41:03 +00:00
jmiller f67d60e382 chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-30 01:14:58 +00:00
jmiller 411e55aebc chore: add .mokogitea/branch-protection.yml from moko-platform [skip ci] 2026-05-29 10:30:13 +00:00
jmiller ad27ed37a0 chore: sync CONTRIBUTING.md from moko-platform [skip ci] 2026-05-29 10:27:41 +00:00
jmiller 111abda586 chore: sync .mokogitea/workflows/branch-cleanup.yml from moko-platform [skip ci] 2026-05-29 10:26:04 +00:00
jmiller ee94c05820 chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-29 10:24:35 +00:00
jmiller b44f94cbac chore: sync .mokogitea/workflows/auto-bump.yml from moko-platform [skip ci] 2026-05-29 10:23:06 +00:00
jmiller 7930a319c5 chore: sync .mokogitea/workflows/pre-release.yml from moko-platform [skip ci] 2026-05-28 20:53:31 +00:00
jmiller 87259d7ec5 chore: sync .mokogitea/workflows/update-server.yml from moko-platform [skip ci] 2026-05-28 20:48:33 +00:00
jmiller b03a1ef80f chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-28 20:43:23 +00:00
jmiller 2bd7202756 chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-28 20:37:56 +00:00
jmiller 1fa5e81417 docs: add infrastructure changes to CHANGELOG [skip ci] 2026-05-27 05:46:18 +00:00
jmiller bc65e6879d chore: add branch-cleanup workflow [skip ci] 2026-05-27 03:52:48 +00:00
gitea-actions[bot] bd39cfba4c feat(ci): add version branch creation on stable release [skip ci] 2026-05-27 02:19:35 +00:00
jmiller 67e0340ad2 chore(ci): update pre-release.yml from moko-platform [skip ci] 2026-05-26 22:50:59 +00:00
jmiller 9d554db693 chore(ci): update auto-bump.yml from moko-platform [skip ci] 2026-05-26 22:49:48 +00:00
jmiller 6adf32f190 chore(ci): update auto-release.yml from moko-platform [skip ci] 2026-05-26 22:48:35 +00:00
jmiller 2f25534cd2 chore(ci): update pre-release.yml from moko-platform [skip ci] 2026-05-26 22:37:04 +00:00
jmiller ba75bedef3 chore(ci): update auto-release.yml from moko-platform [skip ci] 2026-05-26 22:35:42 +00:00
jmiller 9b73022656 chore(ci): update auto-bump.yml from moko-platform [skip ci] 2026-05-26 22:25:18 +00:00
jmiller e9cd7904d1 chore(ci): update auto-release.yml from moko-platform [skip ci] 2026-05-26 22:24:03 +00:00
jmiller d97f9d8915 chore(ci): update pre-release.yml from moko-platform [skip ci] 2026-05-26 22:13:26 +00:00
jmiller aac66471be chore(ci): add auto-bump.yml from moko-platform [skip ci] 2026-05-26 22:12:13 +00:00
jmiller 121d6728c6 chore: sync .mokogitea/workflows/update-server.yml from moko-platform [skip ci] 2026-05-26 20:12:45 +00:00
jmiller 6360473b2c chore: sync .mokogitea/workflows/pre-release.yml from moko-platform [skip ci] 2026-05-26 20:10:52 +00:00
jmiller 5450c3be38 chore(ci): add update-server.yml universal workflow [skip ci] 2026-05-26 19:57:06 +00:00
jmiller 8f4928ab52 chore(ci): update pre-release.yml from moko-platform [skip ci] 2026-05-26 19:36:43 +00:00
jmiller 2147a248f1 chore(ci): update auto-release.yml from moko-platform [skip ci] 2026-05-26 19:36:42 +00:00
jmiller 5882a1c5bb chore: add .mokogitea/workflows/update-server.yml from moko-platform [skip ci] 2026-05-26 19:04:11 +00:00
jmiller f55c99f6cf chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-26 03:07:33 +00:00
jmiller c039323c59 chore: sync .mokogitea/workflows/pre-release.yml from moko-platform [skip ci] 2026-05-26 03:05:40 +00:00
jmiller c9c62d1664 feat(ci): add issue-branch.yml [skip ci] 2026-05-25 05:12:41 +00:00
jmiller 3ac0d7b0ae fix(ci): update pre-release.yml - PHP CLI tools, fix broken platform detection [skip ci] 2026-05-25 04:13:09 +00:00
jmiller f7bbc4eddf fix(ci): add branch output to auto-release [skip ci] 2026-05-23 19:47:56 +00:00
31 changed files with 3450 additions and 2301 deletions
+251
View File
@@ -0,0 +1,251 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
# SPDX-License-Identifier: GPL-3.0-or-later
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Automation
# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
# PATH: /.gitea/workflows/branch-protection.yml
# BRIEF: Apply standardised branch protection rules to all governed repositories
#
# +========================================================================+
# | BRANCH PROTECTION SETUP |
# +========================================================================+
# | |
# | Applies protection rules for: main, dev, rc, beta, alpha |
# | |
# | main — Require PR, block rejected reviews, no force push |
# | dev — Allow push, no force push, no delete |
# | rc — Allow push, no force push, no delete |
# | beta — Allow push, no force push, no delete |
# | alpha — Allow push, no force push, no delete |
# | |
# | jmiller has override authority on all branches. |
# | |
# +========================================================================+
name: Branch Protection Setup
on:
schedule:
- cron: '0 2 * * 1' # Weekly Monday 02:00 UTC
workflow_dispatch:
inputs:
dry_run:
description: 'Preview mode (no changes)'
required: false
type: boolean
default: false
repos:
description: 'Comma-separated repo names (empty = all governed repos)'
required: false
type: string
default: ''
env:
GITEA_URL: https://git.mokoconsulting.tech
GITEA_ORG: MokoConsulting
permissions:
contents: read
jobs:
protect:
name: Apply Branch Protection Rules
runs-on: ubuntu-latest
steps:
- name: Determine target repos
id: repos
env:
GA_TOKEN: ${{ secrets.GA_TOKEN }}
run: |
API="${GITEA_URL}/api/v1"
# Platform/standards/infra repos to exclude
EXCLUDE="gitea-org-config org-profile gitea-private .mokogitea-private MokoStandards moko-platform MokoTesting"
EXCLUDE="$EXCLUDE MokoStandards-Template-Client MokoStandards-Template-Dolibarr MokoStandards-Template-Generic MokoStandards-Template-Joomla MokoDoliProjTemplate"
if [ -n "${{ inputs.repos }}" ]; then
# User-specified repos
REPOS=$(echo "${{ inputs.repos }}" | tr ',' ' ')
else
# Fetch all org repos
PAGE=1
REPOS=""
while true; do
BATCH=$(curl -sS \
-H "Authorization: token ${GA_TOKEN}" \
"${API}/orgs/${GITEA_ORG}/repos?page=${PAGE}&limit=50" \
| jq -r '.[].name // empty')
[ -z "$BATCH" ] && break
REPOS="$REPOS $BATCH"
PAGE=$((PAGE + 1))
done
# Filter out excluded repos
FILTERED=""
for REPO in $REPOS; do
SKIP=false
for EX in $EXCLUDE; do
if [ "$REPO" = "$EX" ]; then
SKIP=true
break
fi
done
if [ "$SKIP" = "false" ]; then
FILTERED="$FILTERED $REPO"
fi
done
REPOS="$FILTERED"
fi
echo "repos=$REPOS" >> "$GITHUB_OUTPUT"
COUNT=$(echo "$REPOS" | wc -w)
echo "📋 Target repos (${COUNT}): $REPOS"
- name: Apply protection rules
env:
GA_TOKEN: ${{ secrets.GA_TOKEN }}
DRY_RUN: ${{ inputs.dry_run || 'false' }}
run: |
API="${GITEA_URL}/api/v1"
REPOS="${{ steps.repos.outputs.repos }}"
SUCCESS=0
FAILED=0
SKIPPED=0
# ── Rule definitions ──────────────────────────────────────
# Only the CI bot (jmiller token) can push directly.
# All human contributors must use PRs.
# Force push disabled on all branches.
RULE_MAIN='{
"rule_name": "main",
"enable_push": true,
"enable_push_whitelist": true,
"push_whitelist_usernames": ["jmiller"],
"enable_force_push": false,
"enable_force_push_allowlist": false,
"force_push_allowlist_usernames": [],
"enable_merge_whitelist": false,
"required_approvals": 0,
"dismiss_stale_approvals": true,
"block_on_rejected_reviews": true,
"block_on_outdated_branch": false,
"priority": 1
}'
RULE_DEV='{
"rule_name": "dev",
"enable_push": true,
"enable_push_whitelist": true,
"push_whitelist_usernames": ["jmiller"],
"enable_force_push": false,
"enable_force_push_allowlist": false,
"force_push_allowlist_usernames": [],
"enable_merge_whitelist": false,
"required_approvals": 0,
"block_on_rejected_reviews": false,
"priority": 2
}'
RULE_RC='{
"rule_name": "rc",
"enable_push": true,
"enable_push_whitelist": true,
"push_whitelist_usernames": ["jmiller"],
"enable_force_push": false,
"enable_force_push_allowlist": false,
"force_push_allowlist_usernames": [],
"enable_merge_whitelist": false,
"required_approvals": 0,
"block_on_rejected_reviews": false,
"priority": 3
}'
RULE_BETA='{
"rule_name": "beta",
"enable_push": true,
"enable_push_whitelist": true,
"push_whitelist_usernames": ["jmiller"],
"enable_force_push": false,
"enable_force_push_allowlist": false,
"force_push_allowlist_usernames": [],
"enable_merge_whitelist": false,
"required_approvals": 0,
"block_on_rejected_reviews": false,
"priority": 4
}'
RULE_ALPHA='{
"rule_name": "alpha",
"enable_push": true,
"enable_push_whitelist": true,
"push_whitelist_usernames": ["jmiller"],
"enable_force_push": false,
"enable_force_push_allowlist": false,
"force_push_allowlist_usernames": [],
"enable_merge_whitelist": false,
"required_approvals": 0,
"block_on_rejected_reviews": false,
"priority": 5
}'
RULES=("$RULE_MAIN" "$RULE_DEV" "$RULE_RC" "$RULE_BETA" "$RULE_ALPHA")
RULE_NAMES=("main" "dev" "rc" "beta" "alpha")
# ── Apply rules to each repo ──────────────────────────────
for REPO in $REPOS; do
echo ""
echo "═══ ${REPO} ═══"
for i in "${!RULES[@]}"; do
RULE="${RULES[$i]}"
NAME="${RULE_NAMES[$i]}"
if [ "$DRY_RUN" = "true" ]; then
echo " [DRY RUN] Would apply rule: ${NAME}"
SKIPPED=$((SKIPPED + 1))
continue
fi
# Delete existing rule if present (idempotent recreate)
ENCODED_NAME=$(echo "$NAME" | sed 's|/|%2F|g')
curl -sS -o /dev/null -w "" \
-X DELETE \
-H "Authorization: token ${GA_TOKEN}" \
"${API}/repos/${GITEA_ORG}/${REPO}/branch_protections/${ENCODED_NAME}" 2>/dev/null || true
# Create rule
RESPONSE=$(curl -sS -w "\n%{http_code}" \
-X POST \
-H "Authorization: token ${GA_TOKEN}" \
-H "Content-Type: application/json" \
-d "$RULE" \
"${API}/repos/${GITEA_ORG}/${REPO}/branch_protections")
HTTP=$(echo "$RESPONSE" | tail -1)
BODY=$(echo "$RESPONSE" | sed '$d')
if [ "$HTTP" = "201" ]; then
echo " ✅ ${NAME}"
SUCCESS=$((SUCCESS + 1))
else
echo " ❌ ${NAME} (HTTP ${HTTP}): $(echo "$BODY" | jq -r '.message // .' 2>/dev/null | head -1)"
FAILED=$((FAILED + 1))
fi
done
done
# ── Summary ───────────────────────────────────────────────
echo ""
echo "════════════════════════════════════════"
echo " ✅ Success: ${SUCCESS}"
echo " ❌ Failed: ${FAILED}"
echo " ⏭️ Skipped: ${SKIPPED}"
echo "════════════════════════════════════════"
if [ "$FAILED" -gt 0 ]; then
echo "::warning::${FAILED} rule(s) failed to apply"
fi
-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
View File
@@ -0,0 +1,66 @@
# 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
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 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"
File diff suppressed because it is too large Load Diff
+48
View File
@@ -0,0 +1,48 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: MokoStandards.Universal
# REPO: https://git.mokoconsulting.tech/MokoConsulting/mokocli
# PATH: /.mokogitea/workflows/branch-cleanup.yml
# VERSION: 01.00.00
# BRIEF: Delete feature branches after PR merge
name: "Branch Cleanup"
on:
pull_request:
types: [closed]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
cleanup:
name: Delete merged branch
runs-on: ubuntu-latest
if: >-
github.event.pull_request.merged == true &&
github.event.pull_request.head.ref != 'dev' &&
github.event.pull_request.head.ref != 'main'
steps:
- name: Delete source branch
run: |
BRANCH="${{ github.event.pull_request.head.ref }}"
API="${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}/api/v1/repos/${{ github.repository }}/branches"
ENCODED=$(php -r "echo rawurlencode('${BRANCH}');")
STATUS=$(curl -sf -o /dev/null -w "%{http_code}" -X DELETE \
-H "Authorization: token ${{ secrets.MOKOGITEA_TOKEN }}" \
"${API}/${ENCODED}" 2>/dev/null || true)
if [ "$STATUS" = "204" ]; then
echo "Deleted branch: ${BRANCH}" >> $GITHUB_STEP_SUMMARY
elif [ "$STATUS" = "404" ]; then
echo "Branch already deleted: ${BRANCH}" >> $GITHUB_STEP_SUMMARY
else
echo "::warning::Failed to delete branch ${BRANCH} (HTTP ${STATUS})"
fi
+7 -210
View File
@@ -1,213 +1,10 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech> # DISABLED — auto-release Step 11 recreates dev from main after every release.
# # Cascade-dev is redundant and causes version conflicts when both main and dev
# SPDX-License-Identifier: GPL-3.0-or-later # have different version numbers in templateDetails.xml / manifest.xml.
# name: "Cascade Main → Dev (DISABLED)"
# FILE INFORMATION on: workflow_dispatch
# DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Maintenance
# REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/moko-platform
# PATH: /templates/workflows/cascade-dev.yml.template
# VERSION: 02.00.00
# BRIEF: Forward-merge main → all open branches after every push to main
#
# +========================================================================+
# | CASCADE MAIN → ALL BRANCHES |
# +========================================================================+
# | |
# | Triggers on every push to main (PR merges, bot commits, etc.) |
# | |
# | 1. List all branches matching: dev, rc/*, beta/*, alpha/* |
# | 2. For each: create PR (main → branch), auto-merge if clean |
# | 3. On conflict: leave PR open for manual resolution |
# | |
# +========================================================================+
name: "Universal: Cascade Main → Dev"
on:
push:
branches:
- main
workflow_dispatch:
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
pull-requests: write
jobs: jobs:
cascade: noop:
name: Cascade main → branches
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: >-
!contains(github.event.head_commit.message, '[skip ci]') &&
!contains(github.event.head_commit.message, '[skip cascade]')
steps: steps:
- name: Discover target branches - run: echo "Cascade disabled — auto-release handles dev recreation"
id: branches
env:
GA_TOKEN: ${{ secrets.GA_TOKEN }}
run: |
API="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
# Fetch all branches (paginated)
PAGE=1
ALL_BRANCHES=""
while true; do
BATCH=$(curl -sS \
-H "Authorization: token ${GA_TOKEN}" \
"${API}/branches?page=${PAGE}&limit=50" \
| jq -r '.[].name // empty')
[ -z "$BATCH" ] && break
ALL_BRANCHES="$ALL_BRANCHES $BATCH"
PAGE=$((PAGE + 1))
done
# Filter to cascade targets: dev, dev/*, rc/*, beta/*, alpha/*
TARGETS=""
for BRANCH in $ALL_BRANCHES; do
case "$BRANCH" in
dev|dev/*|rc/*|beta/*|alpha/*)
TARGETS="$TARGETS $BRANCH"
;;
esac
done
TARGETS=$(echo "$TARGETS" | xargs) # trim whitespace
if [ -z "$TARGETS" ]; then
echo "targets=" >> "$GITHUB_OUTPUT"
echo "️ No cascade target branches found"
else
echo "targets=$TARGETS" >> "$GITHUB_OUTPUT"
COUNT=$(echo "$TARGETS" | wc -w)
echo "📋 Found ${COUNT} target branch(es): ${TARGETS}"
fi
- name: Cascade to all target branches
if: steps.branches.outputs.targets != ''
env:
GA_TOKEN: ${{ secrets.GA_TOKEN }}
run: |
API="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
SHORT_SHA="${GITHUB_SHA:0:7}"
TARGETS="${{ steps.branches.outputs.targets }}"
SUCCESS=0
CONFLICTS=0
SKIPPED=0
FAILED=0
for BRANCH in $TARGETS; do
echo ""
echo "═══ main → ${BRANCH} ═══"
# Check if branch is already up to date
ENCODED_BRANCH=$(echo "$BRANCH" | sed 's|/|%2F|g')
RESPONSE=$(curl -sS \
-H "Authorization: token ${GA_TOKEN}" \
"${API}/compare/${ENCODED_BRANCH}...main")
AHEAD=$(echo "$RESPONSE" | jq '.total_commits // 0')
if [ "$AHEAD" -eq 0 ]; then
echo " ✅ Already up to date"
SKIPPED=$((SKIPPED + 1))
continue
fi
echo " ️ main is ${AHEAD} commit(s) ahead"
# Check for existing cascade PR
EXISTING=$(curl -sS \
-H "Authorization: token ${GA_TOKEN}" \
"${API}/pulls?state=open&head=${GITEA_ORG}:main&base=${ENCODED_BRANCH}&limit=1")
EXISTING_COUNT=$(echo "$EXISTING" | jq 'length')
PR_NUMBER=""
if [ "$EXISTING_COUNT" -gt 0 ]; then
PR_NUMBER=$(echo "$EXISTING" | jq -r '.[0].number')
echo " ️ Reusing existing PR #${PR_NUMBER}"
else
# Create cascade PR
PR_RESPONSE=$(curl -sS -w "\n%{http_code}" \
-X POST \
-H "Authorization: token ${GA_TOKEN}" \
-H "Content-Type: application/json" \
-d "{
\"title\": \"chore: cascade main → ${BRANCH} (${SHORT_SHA}) [skip ci]\",
\"body\": \"## Automatic cascade\\n\\nForward-merging \`main\` (${SHORT_SHA}) into \`${BRANCH}\`.\\n\\nIf conflicts exist, resolve manually and merge.\\n\\n> Auto-created by **Cascade Main → Dev**.\",
\"head\": \"main\",
\"base\": \"${BRANCH}\"
}" \
"${API}/pulls")
HTTP_CODE=$(echo "$PR_RESPONSE" | tail -1)
BODY=$(echo "$PR_RESPONSE" | sed '$d')
PR_NUMBER=$(echo "$BODY" | jq -r '.number // empty')
if [ "$HTTP_CODE" != "201" ] || [ -z "$PR_NUMBER" ]; then
MSG=$(echo "$BODY" | jq -r '.message // .' 2>/dev/null | head -1)
echo " ❌ Failed to create PR (HTTP ${HTTP_CODE}): ${MSG}"
FAILED=$((FAILED + 1))
continue
fi
echo " ✅ Created PR #${PR_NUMBER}"
fi
# Try auto-merge
PR_DATA=$(curl -sS \
-H "Authorization: token ${GA_TOKEN}" \
"${API}/pulls/${PR_NUMBER}")
MERGEABLE=$(echo "$PR_DATA" | jq -r '.mergeable // false')
if [ "$MERGEABLE" != "true" ]; then
echo " ⚠️ Conflicts — PR #${PR_NUMBER} left open"
CONFLICTS=$((CONFLICTS + 1))
continue
fi
MERGE_RESPONSE=$(curl -sS -w "\n%{http_code}" \
-X POST \
-H "Authorization: token ${GA_TOKEN}" \
-H "Content-Type: application/json" \
-d "{
\"Do\": \"merge\",
\"merge_message_field\": \"chore: cascade main → ${BRANCH} [skip ci]\",
\"delete_branch_after_merge\": false
}" \
"${API}/pulls/${PR_NUMBER}/merge")
MERGE_HTTP=$(echo "$MERGE_RESPONSE" | tail -1)
if [ "$MERGE_HTTP" = "200" ] || [ "$MERGE_HTTP" = "204" ]; then
echo " ✅ Merged — ${BRANCH} is in sync"
SUCCESS=$((SUCCESS + 1))
else
MERGE_BODY=$(echo "$MERGE_RESPONSE" | sed '$d')
echo " ⚠️ Merge failed (HTTP ${MERGE_HTTP}) — PR #${PR_NUMBER} left open"
CONFLICTS=$((CONFLICTS + 1))
fi
done
# Summary
echo ""
echo "════════════════════════════════════════"
echo " ✅ Merged: ${SUCCESS}"
echo " ⚠️ Conflicts: ${CONFLICTS}"
echo " ⏭️ Up to date: ${SKIPPED}"
echo " ❌ Failed: ${FAILED}"
echo "════════════════════════════════════════"
if [ "$FAILED" -gt 0 ]; then
exit 1
fi
+191
View File
@@ -0,0 +1,191 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: MokoStandards.CI
# REPO: https://git.mokoconsulting.tech/MokoConsulting/Template-Generic
# PATH: /.gitea/workflows/ci-generic.yml
# VERSION: 01.00.00
# BRIEF: CI pipeline — lint, validate, and test for generic projects (PHP + Node.js)
name: "Generic: Project CI"
on:
workflow_dispatch:
permissions:
contents: read
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
# ── Lint & Validate ───────────────────────────────────────────────────
lint:
name: Lint & Validate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Detect toolchain
id: detect
run: |
HAS_PHP=false
HAS_NODE=false
[ -f "composer.json" ] && HAS_PHP=true
[ -f "package.json" ] && HAS_NODE=true
echo "has_php=$HAS_PHP" >> "$GITHUB_OUTPUT"
echo "has_node=$HAS_NODE" >> "$GITHUB_OUTPUT"
echo "Toolchain: PHP=$HAS_PHP Node=$HAS_NODE"
- name: Setup PHP
if: steps.detect.outputs.has_php == 'true'
run: |
if ! command -v php &> /dev/null; then
sudo apt-get update -qq
sudo apt-get install -y -qq php-cli php-mbstring php-xml >/dev/null 2>&1
fi
php -v
- name: Setup Node.js
if: steps.detect.outputs.has_node == 'true'
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install PHP dependencies
if: steps.detect.outputs.has_php == 'true'
run: |
if [ -f "composer.json" ]; then
composer install --no-interaction --prefer-dist --quiet 2>/dev/null || true
fi
- name: Install Node.js dependencies
if: steps.detect.outputs.has_node == 'true'
run: |
if [ -f "package.json" ]; then
npm ci --quiet 2>/dev/null || npm install --quiet 2>/dev/null || true
fi
- name: PHP syntax check
if: steps.detect.outputs.has_php == 'true'
run: |
ERRORS=0
while IFS= read -r -d '' file; do
if ! php -l "$file" 2>&1 | grep -q "No syntax errors"; then
echo "::error file=${file}::PHP syntax error"
ERRORS=$((ERRORS + 1))
fi
done < <(find . -name "*.php" -not -path "./.git/*" -not -path "./vendor/*" -not -path "./node_modules/*" -print0)
echo "## PHP Lint" >> $GITHUB_STEP_SUMMARY
if [ "$ERRORS" -eq 0 ]; then
echo "All PHP files passed syntax check." >> $GITHUB_STEP_SUMMARY
else
echo "${ERRORS} file(s) with syntax errors." >> $GITHUB_STEP_SUMMARY
exit 1
fi
- name: TypeScript/JavaScript lint
if: steps.detect.outputs.has_node == 'true'
run: |
if [ -f "node_modules/.bin/eslint" ]; then
npx eslint src/ --quiet 2>&1 || { echo "::error::ESLint errors found"; exit 1; }
echo "## ESLint" >> $GITHUB_STEP_SUMMARY
echo "All files passed ESLint." >> $GITHUB_STEP_SUMMARY
elif [ -f ".eslintrc.json" ] || [ -f ".eslintrc.js" ] || [ -f "eslint.config.js" ]; then
echo "::warning::ESLint config found but eslint not installed"
else
echo "No ESLint configured — skipping"
fi
- name: TypeScript compile check
if: steps.detect.outputs.has_node == 'true'
run: |
if [ -f "tsconfig.json" ] && [ -f "node_modules/.bin/tsc" ]; then
npx tsc --noEmit 2>&1 || { echo "::error::TypeScript compilation errors"; exit 1; }
echo "## TypeScript" >> $GITHUB_STEP_SUMMARY
echo "TypeScript compilation passed." >> $GITHUB_STEP_SUMMARY
fi
- name: PHPStan static analysis
if: steps.detect.outputs.has_php == 'true'
run: |
if [ -f "phpstan.neon" ] && [ -f "vendor/bin/phpstan" ]; then
vendor/bin/phpstan analyse --no-progress 2>&1 || { echo "::warning::PHPStan found issues"; }
fi
# ── Tests ─────────────────────────────────────────────────────────────
test:
name: Tests
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Detect toolchain
id: detect
run: |
HAS_PHP=false
HAS_NODE=false
[ -f "composer.json" ] && HAS_PHP=true
[ -f "package.json" ] && HAS_NODE=true
echo "has_php=$HAS_PHP" >> "$GITHUB_OUTPUT"
echo "has_node=$HAS_NODE" >> "$GITHUB_OUTPUT"
- name: Setup PHP
if: steps.detect.outputs.has_php == 'true'
run: |
if ! command -v php &> /dev/null; then
sudo apt-get update -qq
sudo apt-get install -y -qq php-cli php-mbstring php-xml >/dev/null 2>&1
fi
- name: Setup Node.js
if: steps.detect.outputs.has_node == 'true'
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: |
[ -f "composer.json" ] && composer install --no-interaction --prefer-dist --quiet 2>/dev/null || true
[ -f "package.json" ] && { npm ci --quiet 2>/dev/null || npm install --quiet 2>/dev/null || true; }
- name: Run PHP tests
if: steps.detect.outputs.has_php == 'true'
run: |
if [ -f "vendor/bin/phpunit" ]; then
vendor/bin/phpunit --testdox 2>&1
echo "## PHPUnit" >> $GITHUB_STEP_SUMMARY
echo "Tests passed." >> $GITHUB_STEP_SUMMARY
elif [ -f "phpunit.xml" ] || [ -f "phpunit.xml.dist" ]; then
echo "::warning::PHPUnit config found but phpunit not installed"
else
echo "No PHPUnit configured — skipping"
fi
- name: Run Node.js tests
if: steps.detect.outputs.has_node == 'true'
run: |
if jq -e '.scripts.test' package.json > /dev/null 2>&1; then
npm test 2>&1
echo "## Node.js Tests" >> $GITHUB_STEP_SUMMARY
echo "Tests passed." >> $GITHUB_STEP_SUMMARY
else
echo "No test script in package.json — skipping"
fi
- name: Build check
run: |
if [ -f "Makefile" ]; then
make build 2>&1 || echo "::warning::Build failed or not configured"
elif [ -f "package.json" ] && jq -e '.scripts.build' package.json > /dev/null 2>&1; then
npm run build 2>&1 || echo "::warning::Build failed"
fi
+2 -2
View File
@@ -4,8 +4,8 @@
# #
# FILE INFORMATION # FILE INFORMATION
# DEFGROUP: Gitea.Workflow # DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Maintenance # INGROUP: MokoStandards.Maintenance
# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform # REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards
# PATH: /.gitea/workflows/cleanup.yml # PATH: /.gitea/workflows/cleanup.yml
# VERSION: 01.00.00 # VERSION: 01.00.00
# BRIEF: Scheduled cleanup — delete merged branches and old workflow runs # BRIEF: Scheduled cleanup — delete merged branches and old workflow runs
+76
View File
@@ -0,0 +1,76 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
# SPDX-License-Identifier: GPL-3.0-or-later
name: "Publish to Composer"
on:
push:
tags:
- 'v*'
- '[0-9]*.[0-9]*.[0-9]*'
release:
types: [published]
workflow_dispatch:
env:
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
jobs:
publish:
name: Publish Package
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
- name: Setup PHP
run: |
if ! command -v php &> /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
- name: Install dependencies
run: composer install --no-dev --no-interaction --prefer-dist --quiet
- name: Determine version
id: version
run: |
VERSION=$(php -r "echo json_decode(file_get_contents('composer.json'))->version;")
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
echo "Package version: ${VERSION}"
# Gitea Composer Registry — auto-publishes from tags
# The tag push itself registers the package at:
# https://git.mokoconsulting.tech/api/packages/MokoConsulting/composer
- name: Verify Gitea registry
run: |
echo "Gitea Composer registry auto-publishes from tags."
echo "Package available at: ${GITEA_URL}/api/packages/MokoConsulting/composer"
echo "Install: composer require mokoconsulting/mokocli"
# Packagist — notify of new version
- name: Notify Packagist
if: secrets.PACKAGIST_TOKEN != ''
run: |
VERSION="${{ steps.version.outputs.version }}"
echo "Notifying Packagist of version ${VERSION}..."
curl -sf -X POST \
-H "Content-Type: application/json" \
-d '{"repository":{"url":"https://git.mokoconsulting.tech/MokoConsulting/mokocli"}}' \
"https://packagist.org/api/update-package?username=mokoconsulting&apiToken=${{ secrets.PACKAGIST_TOKEN }}" \
&& echo "Packagist notified" \
|| echo "::warning::Packagist notification failed (package may not be registered yet)"
- name: Summary
run: |
VERSION="${{ steps.version.outputs.version }}"
echo "## Composer Package Published" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "| Registry | Status |" >> $GITHUB_STEP_SUMMARY
echo "|----------|--------|" >> $GITHUB_STEP_SUMMARY
echo "| Gitea | \`composer require mokoconsulting/mokocli:${VERSION}\` |" >> $GITHUB_STEP_SUMMARY
echo "| Packagist | \`composer require mokoconsulting/mokocli\` |" >> $GITHUB_STEP_SUMMARY
+11 -24
View File
@@ -4,8 +4,8 @@
# #
# FILE INFORMATION # FILE INFORMATION
# DEFGROUP: Gitea.Workflow # DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Deploy # INGROUP: MokoStandards.Deploy
# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform # REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
# PATH: /templates/workflows/joomla/deploy-manual.yml.template # PATH: /templates/workflows/joomla/deploy-manual.yml.template
# VERSION: 04.07.00 # VERSION: 04.07.00
# BRIEF: Manual SFTP deploy to dev server for Joomla repos # BRIEF: Manual SFTP deploy to dev server for Joomla repos
@@ -40,7 +40,7 @@ jobs:
run: | run: |
php -v && composer --version php -v && composer --version
- name: Setup moko-platform tools - name: Setup MokoStandards tools
env: env:
GA_TOKEN: ${{ secrets.GA_TOKEN || secrets.GA_TOKEN || github.token }} GA_TOKEN: ${{ secrets.GA_TOKEN || secrets.GA_TOKEN || github.token }}
MOKO_CLONE_TOKEN: ${{ secrets.GA_TOKEN || secrets.GA_TOKEN || github.token }} MOKO_CLONE_TOKEN: ${{ secrets.GA_TOKEN || secrets.GA_TOKEN || github.token }}
@@ -48,10 +48,10 @@ jobs:
COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GA_TOKEN || github.token }}"}}' COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GA_TOKEN || github.token }}"}}'
run: | run: |
git clone --depth 1 --branch main --quiet \ git clone --depth 1 --branch main --quiet \
"https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/moko-platform.git" \ "https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/MokoStandards-API.git" \
/tmp/moko-platform-api 2>/dev/null || true /tmp/mokostandards-api 2>/dev/null || true
if [ -d "/tmp/moko-platform-api" ] && [ -f "/tmp/moko-platform-api/composer.json" ]; then if [ -d "/tmp/mokostandards-api" ] && [ -f "/tmp/mokostandards-api/composer.json" ]; then
cd /tmp/moko-platform-api && composer install --no-dev --no-interaction --quiet 2>/dev/null || true cd /tmp/mokostandards-api && composer install --no-dev --no-interaction --quiet 2>/dev/null || true
fi fi
- name: Check FTP configuration - name: Check FTP configuration
@@ -101,28 +101,15 @@ jobs:
DEPLOY_ARGS=(--path . --src-dir "$SOURCE_DIR" --config /tmp/sftp-config.json) DEPLOY_ARGS=(--path . --src-dir "$SOURCE_DIR" --config /tmp/sftp-config.json)
[ "${{ inputs.clear_remote }}" = "true" ] && DEPLOY_ARGS+=(--clear-remote) [ "${{ inputs.clear_remote }}" = "true" ] && DEPLOY_ARGS+=(--clear-remote)
PLATFORM=$(php /tmp/moko-platform-api/cli/platform_detect.php --path . 2>/dev/null || true) PLATFORM=$(php /tmp/mokostandards-api/cli/platform_detect.php --path . 2>/dev/null || true)
if [ "$PLATFORM" = "waas-component" ] && [ -f "/tmp/moko-platform-api/deploy/deploy-joomla.php" ]; then if [ "$PLATFORM" = "waas-component" ] && [ -f "/tmp/mokostandards-api/deploy/deploy-joomla.php" ]; then
php /tmp/moko-platform-api/deploy/deploy-joomla.php "${DEPLOY_ARGS[@]}" php /tmp/mokostandards-api/deploy/deploy-joomla.php "${DEPLOY_ARGS[@]}"
else else
php /tmp/moko-platform-api/deploy/deploy-sftp.php "${DEPLOY_ARGS[@]}" php /tmp/mokostandards-api/deploy/deploy-sftp.php "${DEPLOY_ARGS[@]}"
fi fi
rm -f /tmp/deploy_key /tmp/sftp-config.json rm -f /tmp/deploy_key /tmp/sftp-config.json
- name: Post-deploy health check
if: success() && steps.check.outputs.skip != 'true'
run: |
if [ -f "deploy/health-check.php" ]; then
SITE_URL="${{ vars.DEV_SITE_URL }}"
if [ -n "$SITE_URL" ]; then
php deploy/health-check.php --url "$SITE_URL" --checks http --timeout 30 || echo "::warning::Health check failed after deploy"
else
echo "DEV_SITE_URL not configured, skipping health check"
fi
fi
- name: Summary - name: Summary
if: always() if: always()
run: | run: |
+2 -6
View File
@@ -4,8 +4,8 @@
# #
# FILE INFORMATION # FILE INFORMATION
# DEFGROUP: Gitea.Workflow # DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Security # INGROUP: MokoStandards.Security
# REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/moko-platform # REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
# PATH: /templates/workflows/gitleaks.yml.template # PATH: /templates/workflows/gitleaks.yml.template
# VERSION: 01.00.00 # VERSION: 01.00.00
# BRIEF: Secret scanning — detect leaked credentials, API keys, and tokens # BRIEF: Secret scanning — detect leaked credentials, API keys, and tokens
@@ -25,10 +25,6 @@
name: "Universal: Secret Scanning" name: "Universal: Secret Scanning"
on: on:
pull_request:
branches:
- main
- 'dev/**'
schedule: schedule:
- cron: '0 5 * * 1' # Weekly Monday 05:00 UTC - cron: '0 5 * * 1' # Weekly Monday 05:00 UTC
workflow_dispatch: workflow_dispatch:
+73
View File
@@ -0,0 +1,73 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# FILE INFORMATION
# DEFGROUP: Gitea.Workflow
# INGROUP: mokocli.Automation
# VERSION: 01.00.00
# BRIEF: Auto-create feature branch when an issue is opened
name: "Universal: Issue Branch"
on:
issues:
types: [opened]
permissions:
contents: write
issues: write
env:
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
jobs:
create-branch:
name: Create feature branch
runs-on: ubuntu-latest
steps:
- name: Create branch and comment
run: |
TOKEN="${{ secrets.GA_TOKEN }}"
API="${GITEA_URL}/api/v1/repos/${{ github.repository }}"
ISSUE_NUM="${{ github.event.issue.number }}"
ISSUE_TITLE="${{ github.event.issue.title }}"
# Build slug from title: lowercase, replace non-alnum with dash, trim
SLUG=$(echo "${ISSUE_TITLE}" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g' | sed 's/--*/-/g' | sed 's/^-//;s/-$//' | cut -c1-40)
BRANCH="feature/${ISSUE_NUM}-${SLUG}"
# Check dev branch exists
DEV_EXISTS=$(curl -sf -o /dev/null -w '%{http_code}' \
-H "Authorization: token ${TOKEN}" \
"${API}/branches/dev" 2>/dev/null || echo "000")
if [ "${DEV_EXISTS}" != "200" ]; then
echo "No dev branch -- skipping"
exit 0
fi
# Create branch from dev
HTTP=$(curl -sf -o /dev/null -w '%{http_code}' -X POST \
-H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
"${API}/branches" \
-d "{\"new_branch_name\":\"${BRANCH}\",\"old_branch_name\":\"dev\"}" 2>/dev/null || echo "000")
if [ "${HTTP}" = "201" ]; then
echo "Created branch: ${BRANCH}"
# Comment on issue with branch link
REPO_URL="${GITEA_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 \
-H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
"${API}/issues/${ISSUE_NUM}/comments" \
-d "{\"body\":\"${BODY}\"}" > /dev/null 2>&1
echo "Commented on issue #${ISSUE_NUM}"
else
echo "Failed to create branch (HTTP ${HTTP}) -- may already exist"
fi
+10 -8
View File
@@ -88,15 +88,17 @@ jobs:
# ── Version ────────────────────────────────────────────────────── # ── Version ──────────────────────────────────────────────────────
- name: Setup MokoStandards tools - name: Setup MokoStandards tools
env:
GH_TOKEN: ${{ secrets.GH_TOKEN || github.token }}
COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GH_TOKEN || github.token }}"}}'
run: | run: |
git clone --depth 1 --branch version/04 --quiet \ if [ -d /opt/mokoplatform/api/cli ] && [ -f /opt/mokoplatform/vendor/autoload.php ]; then
"https://x-access-token:${GH_TOKEN}@github.com/mokoconsulting-tech/MokoStandards.git" \ ln -sf /opt/mokoplatform /tmp/mokostandards
/tmp/mokostandards echo "Using pre-installed /opt/mokoplatform"
cd /tmp/mokostandards elif [ -d /opt/moko-platform/api/cli ]; then
composer install --no-dev --no-interaction --quiet ln -sf /opt/moko-platform /tmp/mokostandards
echo "Using pre-installed /opt/moko-platform"
else
echo "::warning::MokoStandards tools not found on runner"
echo "MOKO_SKIP=true" >> "$GITHUB_ENV"
fi
- name: Read version from README.md - name: Read version from README.md
id: version id: version
+2 -2
View File
@@ -4,8 +4,8 @@
# #
# FILE INFORMATION # FILE INFORMATION
# DEFGROUP: Gitea.Workflow # DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Notifications # INGROUP: MokoStandards.Notifications
# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform # REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards
# PATH: /.gitea/workflows/notify.yml # PATH: /.gitea/workflows/notify.yml
# VERSION: 01.00.00 # VERSION: 01.00.00
# BRIEF: Push notifications via ntfy on release success or workflow failure # BRIEF: Push notifications via ntfy on release success or workflow failure
+113
View File
@@ -0,0 +1,113 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
# SPDX-License-Identifier: GPL-3.0-or-later
name: "Publish to npm"
on:
push:
branches:
- 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
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- 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
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 }}
- name: Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+534 -196
View File
@@ -1,196 +1,534 @@
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech> # Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
# #
# FILE INFORMATION # FILE INFORMATION
# DEFGROUP: Gitea.Workflow # DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.CI # INGROUP: moko-platform.CI
# REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/moko-platform # REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/moko-platform
# PATH: /templates/workflows/universal/pr-check.yml.template # PATH: /templates/workflows/universal/pr-check.yml.template
# VERSION: 05.00.00 # VERSION: 09.23.00
# BRIEF: PR gate — branch policy + code validation before merge # BRIEF: PR gate — branch policy + code validation before merge
name: "Universal: PR Check" name: "Universal: PR Check"
on: on:
pull_request: pull_request:
types: [opened, synchronize, reopened, edited] types: [opened, synchronize, reopened, edited]
permissions: permissions:
contents: read contents: read
pull-requests: write pull-requests: write
env: env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs: jobs:
# ── Branch Policy ────────────────────────────────────────────────────── # ── Branch Policy ──────────────────────────────────────────────────────
branch-policy: branch-policy:
name: Branch Policy name: Branch Policy
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check branch merge target - name: Check branch merge target
run: | run: |
HEAD="${{ github.head_ref }}" HEAD="${{ github.head_ref }}"
BASE="${{ github.base_ref }}" BASE="${{ github.base_ref }}"
echo "PR: ${HEAD} → ${BASE}" echo "PR: ${HEAD} → ${BASE}"
ALLOWED=true ALLOWED=true
REASON="" REASON=""
case "$HEAD" in case "$HEAD" in
feature/*|feat/*) feature/*|feat/*)
if [ "$BASE" != "dev" ]; then if [ "$BASE" != "dev" ]; then
ALLOWED=false ALLOWED=false
REASON="Feature branches must target 'dev', not '${BASE}'" REASON="Feature branches must target 'dev', not '${BASE}'"
fi fi
;; ;;
fix/*|bugfix/*) fix/*|bugfix/*)
if [ "$BASE" != "dev" ]; then if [ "$BASE" != "dev" ]; then
ALLOWED=false ALLOWED=false
REASON="Fix branches must target 'dev', not '${BASE}'" REASON="Fix branches must target 'dev', not '${BASE}'"
fi fi
;; ;;
hotfix/*) patch/*)
if [ "$BASE" != "dev" ] && [ "$BASE" != "main" ]; then if [ "$BASE" != "dev" ] && [ "$BASE" != "rc" ]; then
ALLOWED=false ALLOWED=false
REASON="Hotfix branches can only target 'dev' or 'main', not '${BASE}'" REASON="Patch branches must target 'dev' or 'rc', not '${BASE}'"
fi fi
;; ;;
alpha/*|beta/*) hotfix/*)
if [ "$BASE" != "dev" ]; then if [ "$BASE" != "dev" ] && [ "$BASE" != "main" ]; then
ALLOWED=false ALLOWED=false
REASON="Pre-release branches must target 'dev', not '${BASE}'" REASON="Hotfix branches can only target 'dev' or 'main', not '${BASE}'"
fi fi
;; ;;
rc/*) rc)
if [ "$BASE" != "main" ]; then if [ "$BASE" != "main" ]; then
ALLOWED=false ALLOWED=false
REASON="Release candidate branches must target 'main', not '${BASE}'" REASON="RC branch can only merge into 'main', not '${BASE}'"
fi fi
;; ;;
dev) dev)
if [ "$BASE" != "main" ]; then if [ "$BASE" != "main" ]; then
ALLOWED=false ALLOWED=false
REASON="Dev branch can only merge into 'main', not '${BASE}'" REASON="Dev branch can only merge into 'main', not '${BASE}'"
fi fi
;; ;;
esac esac
if [ "$ALLOWED" = false ]; then if [ "$ALLOWED" = false ]; then
echo "::error::${REASON}" echo "::error::${REASON}"
echo "## Branch Policy Violation" >> $GITHUB_STEP_SUMMARY echo "## Branch Policy Violation" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY
echo "${REASON}" >> $GITHUB_STEP_SUMMARY echo "${REASON}" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY
echo "### Allowed merge paths:" >> $GITHUB_STEP_SUMMARY echo "### Allowed merge paths:" >> $GITHUB_STEP_SUMMARY
echo "- \`feature/*\` → \`dev\`" >> $GITHUB_STEP_SUMMARY echo "- \`feature/*\` → \`dev\`" >> $GITHUB_STEP_SUMMARY
echo "- \`fix/*\` → \`dev\`" >> $GITHUB_STEP_SUMMARY echo "- \`fix/*\` → \`dev\`" >> $GITHUB_STEP_SUMMARY
echo "- \`hotfix/*\` → \`dev\` or \`main\`" >> $GITHUB_STEP_SUMMARY echo "- \`hotfix/*\` → \`dev\` or \`main\`" >> $GITHUB_STEP_SUMMARY
echo "- \`dev\` → \`main\`" >> $GITHUB_STEP_SUMMARY echo "- \`dev\` → \`main\`" >> $GITHUB_STEP_SUMMARY
echo "- \`rc/*\` → \`main\`" >> $GITHUB_STEP_SUMMARY echo "- \`rc/*\` → \`main\`" >> $GITHUB_STEP_SUMMARY
exit 1 exit 1
fi fi
echo "Branch policy: OK (${HEAD} → ${BASE})" echo "Branch policy: OK (${HEAD} → ${BASE})"
echo "## Branch Policy: Passed" >> $GITHUB_STEP_SUMMARY echo "## Branch Policy: Passed" >> $GITHUB_STEP_SUMMARY
# ── Code Validation ──────────────────────────────────────────────────── # ── Secret Scanning ──────────────────────────────────────────────────
validate: gitleaks:
name: Validate PR name: Secret Scan
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps:
steps: - name: Checkout
- name: Checkout uses: actions/checkout@v4
uses: actions/checkout@v4 with:
fetch-depth: 0
- name: Detect platform
id: platform - name: Install Gitleaks
run: | run: |
# Read platform from XML manifest (<platform> tag) or plain text fallback GITLEAKS_VERSION="8.21.2"
PLATFORM=$(sed -n 's/.*<platform>\([^<]*\)<\/platform>.*/\1/p' .mokogitea/manifest.xml 2>/dev/null | head -1) curl -sSL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" \
[ -z "$PLATFORM" ] && PLATFORM=$(cat .mokogitea/manifest.xml 2>/dev/null | tr -d '[:space:]') | tar -xz -C /usr/local/bin gitleaks
[ -z "$PLATFORM" ] && PLATFORM="generic"
echo "platform=$PLATFORM" >> "$GITHUB_OUTPUT" - name: Scan PR commits for secrets
run: |
- name: Setup PHP if gitleaks detect --source . --verbose \
if: steps.platform.outputs.platform == 'joomla' || steps.platform.outputs.platform == 'dolibarr' --log-opts=${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} 2>&1; then
run: | echo "**No secrets detected.**" >> $GITHUB_STEP_SUMMARY
if ! command -v php &> /dev/null; then else
sudo apt-get update -qq echo "::error::Potential secrets detected in PR commits"
sudo apt-get install -y -qq php-cli php-mbstring php-xml >/dev/null 2>&1 exit 1
fi fi
- name: PHP syntax check # ── Code Validation ────────────────────────────────────────────────────
if: steps.platform.outputs.platform == 'joomla' || steps.platform.outputs.platform == 'dolibarr' validate:
run: | name: Validate PR
ERRORS=0 runs-on: ubuntu-latest
while IFS= read -r -d '' file; do
if ! php -l "$file" 2>&1 | grep -q "No syntax errors"; then steps:
ERRORS=$((ERRORS + 1)) - name: Checkout
fi uses: actions/checkout@v4
done < <(find . -name "*.php" -not -path "./.git/*" -not -path "./vendor/*" -print0)
echo "PHP lint: ${ERRORS} error(s)" - name: Check for merge conflict markers
[ "$ERRORS" -eq 0 ] || { echo "::error::PHP syntax errors found"; exit 1; } run: |
CONFLICTS=$(grep -rn '<<<<<<< \|>>>>>>> \|^=======$' --include='*.php' --include='*.xml' --include='*.css' --include='*.js' --include='*.json' --include='*.md' --include='*.yml' --include='*.yaml' --include='*.ini' --include='*.txt' . 2>/dev/null | grep -v '.git/' || true)
- name: Validate platform manifest if [ -n "$CONFLICTS" ]; then
run: | echo "::error::Merge conflict markers found in source files"
PLATFORM="${{ steps.platform.outputs.platform }}" echo "## Conflict Markers Found" >> $GITHUB_STEP_SUMMARY
case "$PLATFORM" in echo '```' >> $GITHUB_STEP_SUMMARY
joomla) echo "$CONFLICTS" >> $GITHUB_STEP_SUMMARY
MANIFEST=$(find . -maxdepth 3 -name "*.xml" ! -path "./.git/*" -exec grep -l '<extension' {} \; 2>/dev/null | head -1) echo '```' >> $GITHUB_STEP_SUMMARY
if [ -z "$MANIFEST" ]; then exit 1
echo "::warning::No Joomla manifest found (WaaS site)" fi
exit 0 echo "No conflict markers found"
fi
echo "Manifest: ${MANIFEST}" - name: Detect platform
if command -v php &> /dev/null; then id: platform
php -r "libxml_use_internal_errors(true); \$x = simplexml_load_file('$MANIFEST'); if(!\$x){foreach(libxml_get_errors() as \$e) echo \$e->message; exit(1);}" || { echo "::error::Manifest XML is malformed"; exit 1; } run: |
fi # Read platform from XML manifest (<platform> tag) or plain text fallback
for ELEMENT in name version description; do PLATFORM=$(sed -n 's/.*<platform>\([^<]*\)<\/platform>.*/\1/p' .mokogitea/manifest.xml 2>/dev/null | head -1)
grep -q "<${ELEMENT}>" "$MANIFEST" || { echo "::error::Missing <${ELEMENT}> in manifest"; exit 1; } [ -z "$PLATFORM" ] && PLATFORM=$(cat .mokogitea/manifest.xml 2>/dev/null | tr -d '[:space:]')
done [ -z "$PLATFORM" ] && PLATFORM="generic"
echo "Joomla manifest valid" echo "platform=$PLATFORM" >> "$GITHUB_OUTPUT"
;;
dolibarr) - name: Setup PHP
MOD_FILE=$(find . -maxdepth 4 -name "mod*.class.php" ! -path "./.git/*" -exec grep -l 'extends DolibarrModules' {} \; 2>/dev/null | head -1) if: steps.platform.outputs.platform == 'joomla' || steps.platform.outputs.platform == 'dolibarr'
if [ -z "$MOD_FILE" ]; then run: |
echo "::error::No mod*.class.php found" if ! command -v php &> /dev/null; then
exit 1 sudo apt-get update -qq
fi sudo apt-get install -y -qq php-cli php-mbstring php-xml >/dev/null 2>&1
echo "Dolibarr module: ${MOD_FILE}" fi
;;
*) - name: PHP syntax check
echo "Generic platform — no manifest validation" if: steps.platform.outputs.platform == 'joomla' || steps.platform.outputs.platform == 'dolibarr'
;; run: |
esac ERRORS=0
while IFS= read -r -d '' file; do
- name: Check update stream format if ! php -l "$file" 2>&1 | grep -q "No syntax errors"; then
run: | ERRORS=$((ERRORS + 1))
PLATFORM="${{ steps.platform.outputs.platform }}" fi
case "$PLATFORM" in done < <(find . -name "*.php" -not -path "./.git/*" -not -path "./vendor/*" -print0)
joomla) echo "PHP lint: ${ERRORS} error(s)"
if [ -f "updates.xml" ]; then [ "$ERRORS" -eq 0 ] || { echo "::error::PHP syntax errors found"; exit 1; }
if command -v php &> /dev/null; then
php -r "libxml_use_internal_errors(true); \$x = simplexml_load_file('updates.xml'); if(!\$x){foreach(libxml_get_errors() as \$e) echo \$e->message; exit(1);}" || { echo "::error::updates.xml is malformed"; exit 1; } - name: Joomla JEXEC guard check
fi if: steps.platform.outputs.platform == 'joomla'
echo "updates.xml valid" run: |
fi ERRORS=0
;; while IFS= read -r -d '' file; do
dolibarr) # Skip vendor, node_modules, and index.html stub files
[ -f "update.txt" ] && echo "update.txt present" || echo "::warning::No update.txt" case "$file" in ./vendor/*|./node_modules/*) continue ;; esac
;; # Check first 10 lines for JEXEC or JPATH guard
esac if ! head -20 "$file" | grep -qE "defined\s*\(\s*['\"](_JEXEC|JPATH_BASE|\\\\JPATH_PLATFORM)['\"]"; then
echo "::error file=${file}::Missing JEXEC guard: ${file}"
- name: Verify package source ERRORS=$((ERRORS + 1))
run: | fi
SOURCE_DIR="src" done < <(find . -name "*.php" -path "*/src/*" -not -path "./.git/*" -not -path "./vendor/*" -print0)
[ ! -d "$SOURCE_DIR" ] && SOURCE_DIR="htdocs" if [ "$ERRORS" -gt 0 ]; then
if [ ! -d "$SOURCE_DIR" ]; then echo "::error::${ERRORS} PHP file(s) missing defined('_JEXEC') or die guard"
echo "::warning::No src/ or htdocs/ directory" echo "## JEXEC Guard Check: Failed" >> $GITHUB_STEP_SUMMARY
exit 0 echo "${ERRORS} file(s) in src/ are missing the Joomla execution guard." >> $GITHUB_STEP_SUMMARY
fi exit 1
FILE_COUNT=$(find "$SOURCE_DIR" -type f | wc -l) fi
echo "Source: ${FILE_COUNT} files" echo "JEXEC guard: OK"
[ "$FILE_COUNT" -gt 0 ] || { echo "::error::Source directory is empty"; exit 1; }
- name: Joomla directory listing protection
if: steps.platform.outputs.platform == 'joomla'
run: |
MISSING=0
SOURCE_DIR="src"
[ ! -d "$SOURCE_DIR" ] && exit 0
while IFS= read -r dir; do
if [ ! -f "${dir}/index.html" ]; then
echo "::warning::Missing index.html in ${dir} (directory listing protection)"
MISSING=$((MISSING + 1))
fi
done < <(find "$SOURCE_DIR" -type d -not -path "./.git/*" -not -path "*/vendor/*" -not -path "*/node_modules/*")
if [ "$MISSING" -gt 0 ]; then
echo "## Directory Protection" >> $GITHUB_STEP_SUMMARY
echo "${MISSING} director(ies) missing index.html" >> $GITHUB_STEP_SUMMARY
fi
echo "Directory protection: ${MISSING} missing (advisory)"
- name: Joomla script file and asset checks
if: steps.platform.outputs.platform == 'joomla'
run: |
ERRORS=0
MANIFEST=$(find . -maxdepth 3 -name "*.xml" ! -path "./.git/*" -exec grep -l '<extension' {} \; 2>/dev/null | head -1)
[ -z "$MANIFEST" ] && exit 0
MANIFEST_DIR=$(dirname "$MANIFEST")
# Check scriptfile exists if declared
SCRIPTFILE=$(sed -n 's/.*<scriptfile>\([^<]*\)<\/scriptfile>.*/\1/p' "$MANIFEST" 2>/dev/null)
if [ -n "$SCRIPTFILE" ]; then
if [ ! -f "${MANIFEST_DIR}/${SCRIPTFILE}" ]; then
echo "::error::Manifest declares <scriptfile>${SCRIPTFILE}</scriptfile> but file not found at ${MANIFEST_DIR}/${SCRIPTFILE}"
ERRORS=$((ERRORS + 1))
else
echo "Script file: ${MANIFEST_DIR}/${SCRIPTFILE} (OK)"
fi
fi
# Require joomla.asset.json and validate it
ASSET_JSON=$(find "$MANIFEST_DIR" -name "joomla.asset.json" -not -path "./.git/*" 2>/dev/null | head -1)
if [ -z "$ASSET_JSON" ]; then
echo "::error::joomla.asset.json not found — Joomla asset system is required"
ERRORS=$((ERRORS + 1))
else
if command -v php &> /dev/null; then
php -r "json_decode(file_get_contents('$ASSET_JSON')); if(json_last_error()!==JSON_ERROR_NONE){echo json_last_error_msg();exit(1);}" 2>&1 || {
echo "::error::joomla.asset.json is not valid JSON"
ERRORS=$((ERRORS + 1))
}
fi
echo "joomla.asset.json: valid"
fi
# Validate all XML files in src/ are well-formed
XML_ERRORS=0
if command -v php &> /dev/null; then
while IFS= read -r -d '' xmlfile; do
if ! php -r "libxml_use_internal_errors(true); \$x = simplexml_load_file('$xmlfile'); if(!\$x){foreach(libxml_get_errors() as \$e) echo trim(\$e->message) . ' in $xmlfile'; exit(1);}" 2>&1; then
XML_ERRORS=$((XML_ERRORS + 1))
fi
done < <(find "$MANIFEST_DIR" -name "*.xml" -not -path "./.git/*" -print0)
fi
if [ "$XML_ERRORS" -gt 0 ]; then
echo "::error::${XML_ERRORS} XML file(s) are malformed"
ERRORS=$((ERRORS + 1))
else
echo "XML well-formedness: OK"
fi
[ "$ERRORS" -gt 0 ] && exit 1
echo "Joomla asset checks: OK"
- name: Validate platform manifest
run: |
PLATFORM="${{ steps.platform.outputs.platform }}"
case "$PLATFORM" in
joomla)
MANIFEST=$(find . -maxdepth 3 -name "*.xml" ! -path "./.git/*" -exec grep -l '<extension' {} \; 2>/dev/null | head -1)
if [ -z "$MANIFEST" ]; then
echo "::warning::No Joomla manifest found (WaaS site)"
exit 0
fi
echo "Manifest: ${MANIFEST}"
if command -v php &> /dev/null; then
php -r "libxml_use_internal_errors(true); \$x = simplexml_load_file('$MANIFEST'); if(!\$x){foreach(libxml_get_errors() as \$e) echo \$e->message; exit(1);}" || { echo "::error::Manifest XML is malformed"; exit 1; }
fi
for ELEMENT in name version description; do
grep -q "<${ELEMENT}>" "$MANIFEST" || { echo "::error::Missing <${ELEMENT}> in manifest"; exit 1; }
done
# Block legacy raw/branch update server URLs on MokoGitea
RAW_URLS=$(grep -n 'raw/branch' "$MANIFEST" | grep -i 'mokoconsulting\|mokogitea\|git\.mokoconsulting\.tech' || true)
if [ -n "$RAW_URLS" ]; then
echo "::error::Manifest contains legacy raw/branch update server URL on MokoGitea. Use the Gitea Pages URL instead (e.g. /{REPO}/updates.xml not /{REPO}/raw/branch/main/updates.xml)"
echo "$RAW_URLS"
exit 1
fi
echo "Joomla manifest valid"
;;
dolibarr)
MOD_FILE=$(find . -maxdepth 4 -name "mod*.class.php" ! -path "./.git/*" -exec grep -l 'extends DolibarrModules' {} \; 2>/dev/null | head -1)
if [ -z "$MOD_FILE" ]; then
echo "::error::No mod*.class.php found"
exit 1
fi
echo "Dolibarr module: ${MOD_FILE}"
;;
*)
echo "Generic platform — no manifest validation"
;;
esac
- name: Check update stream format
run: |
PLATFORM="${{ steps.platform.outputs.platform }}"
case "$PLATFORM" in
joomla)
if [ -f "updates.xml" ]; then
if command -v php &> /dev/null; then
php -r "libxml_use_internal_errors(true); \$x = simplexml_load_file('updates.xml'); if(!\$x){foreach(libxml_get_errors() as \$e) echo \$e->message; exit(1);}" || { echo "::error::updates.xml is malformed"; exit 1; }
fi
echo "updates.xml valid"
fi
;;
dolibarr)
[ -f "update.txt" ] && echo "update.txt present" || echo "::warning::No update.txt"
;;
esac
- name: Validate Joomla language files
if: steps.platform.outputs.platform == 'joomla'
run: |
ERRORS=0
WARNINGS=0
# Require both en-GB and en-US language directories
LANG_ROOT=$(find . -path "*/language" -type d -not -path "./.git/*" 2>/dev/null | head -1)
if [ -z "$LANG_ROOT" ]; then
echo "No language/ directory found — skipping"
exit 0
fi
if [ ! -d "$LANG_ROOT/en-GB" ]; then
echo "::error::Missing en-GB language directory (${LANG_ROOT}/en-GB)"
ERRORS=$((ERRORS + 1))
fi
if [ ! -d "$LANG_ROOT/en-US" ]; then
echo "::error::Missing en-US language directory (${LANG_ROOT}/en-US)"
ERRORS=$((ERRORS + 1))
fi
# Check that en-GB and en-US have matching .ini files
if [ -d "$LANG_ROOT/en-GB" ] && [ -d "$LANG_ROOT/en-US" ]; then
for GB_INI in "$LANG_ROOT/en-GB"/*.ini; do
[ ! -f "$GB_INI" ] && continue
US_INI="$LANG_ROOT/en-US/$(basename "$GB_INI")"
if [ ! -f "$US_INI" ]; then
echo "::error::$(basename "$GB_INI") exists in en-GB but missing from en-US"
ERRORS=$((ERRORS + 1))
fi
done
for US_INI in "$LANG_ROOT/en-US"/*.ini; do
[ ! -f "$US_INI" ] && continue
GB_INI="$LANG_ROOT/en-GB/$(basename "$US_INI")"
if [ ! -f "$GB_INI" ]; then
echo "::error::$(basename "$US_INI") exists in en-US but missing from en-GB"
ERRORS=$((ERRORS + 1))
fi
done
fi
# Find all .ini language files
INI_FILES=$(find . -path "*/language/*/*.ini" -not -path "./.git/*" 2>/dev/null)
if [ -z "$INI_FILES" ]; then
echo "No .ini language files found"
[ "$ERRORS" -gt 0 ] && exit 1
exit 0
fi
echo "Found $(echo "$INI_FILES" | wc -l) language file(s)"
for FILE in $INI_FILES; do
FNAME=$(basename "$FILE")
LINENUM=0
SEEN_KEYS=""
while IFS= read -r line || [ -n "$line" ]; do
LINENUM=$((LINENUM + 1))
# Skip empty lines and comments
[ -z "$line" ] && continue
echo "$line" | grep -qE '^\s*;' && continue
echo "$line" | grep -qE '^\s*$' && continue
# Must match KEY="VALUE" format
if ! echo "$line" | grep -qE '^[A-Z_][A-Z0-9_]*=".*"$'; then
echo "::error file=${FILE},line=${LINENUM}::Malformed line: ${line}"
ERRORS=$((ERRORS + 1))
continue
fi
# Extract key and check for duplicates
KEY=$(echo "$line" | sed 's/=.*//')
if echo "$SEEN_KEYS" | grep -qx "$KEY"; then
echo "::error file=${FILE},line=${LINENUM}::Duplicate key: ${KEY}"
ERRORS=$((ERRORS + 1))
fi
SEEN_KEYS="${SEEN_KEYS}
${KEY}"
done < "$FILE"
echo " ${FILE}: checked ${LINENUM} lines"
done
# Cross-check en-GB vs en-US key consistency
GB_DIR=$(find . -path "*/language/en-GB" -type d -not -path "./.git/*" 2>/dev/null | head -1)
US_DIR=$(find . -path "*/language/en-US" -type d -not -path "./.git/*" 2>/dev/null | head -1)
if [ -n "$GB_DIR" ] && [ -n "$US_DIR" ]; then
for GB_FILE in "$GB_DIR"/*.ini; do
[ ! -f "$GB_FILE" ] && continue
FNAME=$(basename "$GB_FILE")
US_FILE="$US_DIR/$FNAME"
[ ! -f "$US_FILE" ] && continue
GB_KEYS=$(grep -oP '^[A-Z_][A-Z0-9_]*(?==)' "$GB_FILE" 2>/dev/null | sort)
US_KEYS=$(grep -oP '^[A-Z_][A-Z0-9_]*(?==)' "$US_FILE" 2>/dev/null | sort)
# Keys in en-GB but not en-US
MISSING_US=$(comm -23 <(echo "$GB_KEYS") <(echo "$US_KEYS"))
if [ -n "$MISSING_US" ]; then
echo "::warning::Keys in en-GB/$FNAME but missing from en-US/$FNAME:"
echo "$MISSING_US" | while read -r k; do echo " - $k"; done
WARNINGS=$((WARNINGS + 1))
fi
# Keys in en-US but not en-GB
MISSING_GB=$(comm -13 <(echo "$GB_KEYS") <(echo "$US_KEYS"))
if [ -n "$MISSING_GB" ]; then
echo "::warning::Keys in en-US/$FNAME but missing from en-GB/$FNAME:"
echo "$MISSING_GB" | while read -r k; do echo " - $k"; done
WARNINGS=$((WARNINGS + 1))
fi
done
fi
{
echo "### Language File Validation"
echo "| Metric | Count |"
echo "|---|---|"
echo "| Files checked | $(echo "$INI_FILES" | wc -l) |"
echo "| Errors | ${ERRORS} |"
echo "| Warnings | ${WARNINGS} |"
} >> $GITHUB_STEP_SUMMARY
if [ "$ERRORS" -gt 0 ]; then
echo "::error::Language validation failed with ${ERRORS} error(s)"
exit 1
fi
echo "Language files: OK (${WARNINGS} warning(s))"
- name: Check changelog has unreleased entry
run: |
if [ ! -f "CHANGELOG.md" ]; then
echo "::warning::No CHANGELOG.md found"
exit 0
fi
# Check for content under [Unreleased] section
if ! grep -q "## \[Unreleased\]" CHANGELOG.md; then
echo "::error::CHANGELOG.md missing [Unreleased] section"
exit 1
fi
# Check there's at least one entry (Added/Changed/Fixed/Removed) under Unreleased
UNRELEASED_CONTENT=$(sed -n '/## \[Unreleased\]/,/## \[/p' CHANGELOG.md | grep -cE '^\s*-\s' || true)
if [ "$UNRELEASED_CONTENT" -eq 0 ]; then
echo "::error::CHANGELOG.md [Unreleased] section has no entries. Add a changelog entry describing your changes."
echo "## Changelog Check: Failed" >> $GITHUB_STEP_SUMMARY
echo "The \`[Unreleased]\` section in CHANGELOG.md has no entries." >> $GITHUB_STEP_SUMMARY
echo "Add a line like \`- Description of your change\` under a heading (\`### Added\`, \`### Changed\`, \`### Fixed\`, etc.)" >> $GITHUB_STEP_SUMMARY
exit 1
fi
echo "Changelog: ${UNRELEASED_CONTENT} entry/entries in [Unreleased]"
- name: Verify package source
run: |
SOURCE_DIR="src"
[ ! -d "$SOURCE_DIR" ] && SOURCE_DIR="htdocs"
if [ ! -d "$SOURCE_DIR" ]; then
echo "::warning::No src/ or htdocs/ directory"
exit 0
fi
FILE_COUNT=$(find "$SOURCE_DIR" -type f | wc -l)
echo "Source: ${FILE_COUNT} files"
[ "$FILE_COUNT" -gt 0 ] || { echo "::error::Source directory is empty"; exit 1; }
# ── Pre-Release RC Build ─────────────────────────────────────────────────
pre-release:
name: Build RC Package
runs-on: ubuntu-latest
needs: [branch-policy, validate]
steps:
- name: Trigger RC pre-release
env:
GA_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
REPO: ${{ github.repository }}
BRANCH: ${{ github.head_ref }}
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
run: |
curl -s -X POST "${GITEA_URL}/api/v1/repos/${REPO}/actions/workflows/pre-release.yml/dispatches" -H "Authorization: token ${GITEA_TOKEN}" -H "Content-Type: application/json" -d "{\"ref\":\"${BRANCH}\",\"inputs\":{\"stability\":\"release-candidate\"}}"
echo "### Pre-Release" >> $GITHUB_STEP_SUMMARY
echo "Triggered RC build on branch \`${BRANCH}\`" >> $GITHUB_STEP_SUMMARY
# ── Issue Reporter ──────────────────────────────────────────────────────
report-issues:
name: Report Issues
runs-on: ubuntu-latest
needs: [branch-policy, validate]
if: >-
always() &&
needs.validate.result == 'failure'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: automation/ci-issue-reporter.sh
sparse-checkout-cone-mode: false
- name: "File issue for PR validation failure"
env:
GITEA_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
GITEA_URL: ${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}
run: |
chmod +x automation/ci-issue-reporter.sh
./automation/ci-issue-reporter.sh \
--gate "PR Validation" \
--workflow "PR Check" \
--severity error \
--details "PR validation failed (syntax, manifest, changelog, or source checks). See the CI run for the specific check that failed."
+170 -148
View File
@@ -4,15 +4,26 @@
# #
# FILE INFORMATION # FILE INFORMATION
# DEFGROUP: Gitea.Workflow # DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Release # INGROUP: mokocli.Release
# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform # REPO: https://git.mokoconsulting.tech/MokoConsulting/mokocli
# PATH: /templates/workflows/universal/pre-release.yml.template # PATH: /templates/workflows/universal/pre-release.yml.template
# VERSION: 05.00.00 # VERSION: 05.01.00
# BRIEF: Manual pre-release — builds dev/alpha/beta/rc packages from any branch # BRIEF: Auto pre-release on push to dev/alpha/beta/rc branches
name: "Universal: Pre-Release" name: "Universal: Pre-Release"
on: on:
push:
branches:
- dev
- 'fix/**'
- 'patch/**'
- 'hotfix/**'
- 'bugfix/**'
- 'chore/**'
- alpha
- beta
- rc
workflow_dispatch: workflow_dispatch:
inputs: inputs:
stability: stability:
@@ -35,40 +46,74 @@ env:
jobs: jobs:
build: build:
name: "Build Pre-Release (${{ inputs.stability }})" name: "Build Pre-Release (${{ inputs.stability || github.ref_name }})"
runs-on: release runs-on: release
if: >-
github.event_name == 'workflow_dispatch' ||
github.event_name == 'push'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
token: ${{ secrets.GA_TOKEN }} token: ${{ secrets.MOKOGITEA_TOKEN }}
ref: ${{ github.ref_name }}
- name: Setup PHP - name: Setup mokocli tools
run: |
if ! command -v php &> /dev/null; then
sudo apt-get update -qq
sudo apt-get install -y -qq php-cli php-mbstring php-xml php-zip php-curl >/dev/null 2>&1
fi
- name: Setup moko-platform tools
env: env:
MOKO_CLONE_TOKEN: ${{ secrets.GA_TOKEN }} MOKO_CLONE_TOKEN: ${{ secrets.MOKOGITEA_TOKEN }}
MOKO_CLONE_HOST: git.mokoconsulting.tech/MokoConsulting MOKO_CLONE_HOST: git.mokoconsulting.tech/MokoConsulting
run: | run: |
git clone --depth 1 --branch main --quiet "https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/moko-platform.git" /tmp/moko-platform-api # 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 - name: Detect platform
id: platform id: platform
run: | run: |
php /tmp/moko-platform-api/cli/manifest_read.php --path . --github-output # 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: Resolve metadata - name: Check platform eligibility (Joomla only)
id: meta id: eligibility
run: | run: |
STABILITY="${{ inputs.stability }}" PLATFORM="${{ steps.platform.outputs.platform }}"
MOKO_API="/tmp/moko-platform-api/cli" 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 case "$STABILITY" in
development) SUFFIX="-dev"; TAG="development" ;; development) SUFFIX="-dev"; TAG="development" ;;
@@ -77,39 +122,50 @@ jobs:
release-candidate) SUFFIX="-rc"; TAG="release-candidate" ;; release-candidate) SUFFIX="-rc"; TAG="release-candidate" ;;
esac esac
# Bump patch version # Bump version via CLI: patch for dev/alpha/beta, minor for RC
BUMP_OUTPUT=$(php ${MOKO_API}/version_bump.php --path .) case "$STABILITY" in
VERSION=$(echo "$BUMP_OUTPUT" | grep -oP '\d{2}\.\d{2}\.\d{2}$' || true) release-candidate) BUMP="minor" ;;
[ -z "$VERSION" ] && VERSION=$(php ${MOKO_API}/version_read.php --path .) *) BUMP="patch" ;;
echo "Version: ${VERSION}" esac
# Update platform-specific manifest php ${MOKO_CLI}/version_bump.php --path . $([ "$BUMP" = "minor" ] && echo "--minor") 2>/dev/null || true
php ${MOKO_API}/version_set_platform.php --path . --version "${VERSION}"
# 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 # Commit version bump
git config --local user.email "gitea-actions[bot]@mokoconsulting.tech" git config --local user.email "gitea-actions[bot]@mokoconsulting.tech"
git config --local user.name "gitea-actions[bot]" git config --local user.name "gitea-actions[bot]"
git remote set-url origin "https://jmiller:${{ secrets.GA_TOKEN }}@git.mokoconsulting.tech/${{ github.repository }}.git" git remote set-url origin "https://x-access-token:${{ secrets.MOKOGITEA_TOKEN }}@git.mokoconsulting.tech/${{ github.repository }}.git"
git add -A git add -A
git diff --cached --quiet || { git diff --cached --quiet || {
git commit -m "chore(version): bump to ${VERSION} [skip ci]" git commit -m "chore(version): pre-release bump to ${VERSION} [skip ci]"
git push origin HEAD 2>&1 git push origin HEAD 2>&1
} }
# Detect element from Joomla/Dolibarr manifest # Auto-detect element via manifest_element.php
PLATFORM="${{ steps.platform.outputs.platform }}" php ${MOKO_CLI}/manifest_element.php \
EXT_ELEMENT=$(php ${MOKO_API}/manifest_read.php --path . --field name 2>/dev/null | tr -d ' ' | tr '[:upper:]' '[:lower:]' || true) --path . --version "$VERSION" --stability "$STABILITY" \
# For Joomla, prefer <element> tag --repo "${GITEA_REPO}" --github-output
if [ "$PLATFORM" = "joomla" ]; then
MANIFEST=$(find . -maxdepth 3 -name "*.xml" ! -path "./.git/*" -exec grep -l '<extension' {} \; 2>/dev/null | head -1 || true)
if [ -n "$MANIFEST" ]; then
ELEM=$(grep -oP "<element>\K[^<]+" "$MANIFEST" 2>/dev/null | head -1)
[ -n "$ELEM" ] && EXT_ELEMENT="$ELEM"
fi
fi
[ -z "$EXT_ELEMENT" ] && EXT_ELEMENT=$(echo "${GITEA_REPO}" | tr '[:upper:]' '[:lower:]' | tr -d ' -')
ZIP_NAME="${EXT_ELEMENT}-${VERSION}${SUFFIX}.zip" # 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 "version=${VERSION}" >> "$GITHUB_OUTPUT"
echo "stability=${STABILITY}" >> "$GITHUB_OUTPUT" echo "stability=${STABILITY}" >> "$GITHUB_OUTPUT"
@@ -120,127 +176,93 @@ jobs:
echo "=== Pre-Release: ${EXT_ELEMENT} ${VERSION}${SUFFIX} ===" echo "=== Pre-Release: ${EXT_ELEMENT} ${VERSION}${SUFFIX} ==="
- name: Build package - name: Create release
id: zip
run: |
VERSION="${{ steps.meta.outputs.version }}"
SUFFIX="${{ steps.meta.outputs.suffix }}"
PLATFORM="${{ steps.platform.outputs.platform }}"
if [ "$PLATFORM" = "joomla" ]; then
php /tmp/moko-platform-api/cli/joomla_build.php --path . --version "${VERSION}" --suffix "${SUFFIX}" --output build --github-output
else
# Generic build: zip src/ directory
SOURCE_DIR="src"
[ ! -d "$SOURCE_DIR" ] && SOURCE_DIR="htdocs"
[ ! -d "$SOURCE_DIR" ] && { echo "::error::No src/ or htdocs/"; exit 1; }
EXT_ELEMENT="${{ steps.meta.outputs.ext_element }}"
ZIP_NAME="${EXT_ELEMENT}-${VERSION}${SUFFIX}.zip"
mkdir -p build
cd "$SOURCE_DIR" && zip -r "../build/${ZIP_NAME}" . && cd ..
SHA256=$(sha256sum "build/${ZIP_NAME}" | cut -d' ' -f1)
echo "zip_name=${ZIP_NAME}" >> "$GITHUB_OUTPUT"
echo "zip_path=build/${ZIP_NAME}" >> "$GITHUB_OUTPUT"
echo "sha256=${SHA256}" >> "$GITHUB_OUTPUT"
fi
- name: Create or replace Gitea release
id: release id: release
continue-on-error: true if: steps.eligibility.outputs.proceed == 'true'
run: | run: |
TAG="${{ steps.meta.outputs.tag }}" TAG="${{ steps.meta.outputs.tag }}"
VERSION="${{ steps.meta.outputs.version }}" VERSION="${{ steps.meta.outputs.version }}"
STABILITY="${{ steps.meta.outputs.stability }}" API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
SHA256="${{ steps.zip.outputs.sha256 }}" php ${MOKO_CLI}/release_create.php \
ZIP_NAME="${{ steps.zip.outputs.zip_name }}" --path . --version "$VERSION" --tag "$TAG" \
EXT_ELEMENT="${{ steps.meta.outputs.ext_element }}" --token "${{ secrets.MOKOGITEA_TOKEN }}" --api-base "$API_BASE" \
TOKEN="${{ secrets.GA_TOKEN }}" --repo "${GITEA_REPO}" --branch "${{ github.ref_name }}" --prerelease
API="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
BRANCH=$(git branch --show-current)
BODY="## ${VERSION} ($(date +%Y-%m-%d)) - name: Update release notes from CHANGELOG.md
**Channel:** ${STABILITY} if: steps.eligibility.outputs.proceed == 'true'
**SHA-256:** \`${SHA256}\`" run: |
TAG="${{ steps.meta.outputs.tag }}"
VERSION="${{ steps.meta.outputs.version }}"
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
# Delete existing release # Extract [Unreleased] section from changelog (everything between [Unreleased] and next ## heading)
EXISTING_ID=$(curl -sS -H "Authorization: token ${TOKEN}" \ if [ -f "CHANGELOG.md" ]; then
"${API}/releases/tags/${TAG}" | jq -r '.id // empty' 2>/dev/null) NOTES=$(awk '/^## \[Unreleased\]/{found=1; next} /^## \[/{if(found) exit} found{print}' CHANGELOG.md)
if [ -n "$EXISTING_ID" ]; then [ -z "$NOTES" ] && NOTES="Release ${VERSION}"
curl -sS -X DELETE -H "Authorization: token ${TOKEN}" \ else
"${API}/releases/${EXISTING_ID}" 2>/dev/null || true NOTES="Release ${VERSION}"
curl -sS -X DELETE -H "Authorization: token ${TOKEN}" \
"${API}/tags/${TAG}" 2>/dev/null || true
fi fi
# Create release # Update release body via API
RELEASE_ID=$(curl -sS -X POST -H "Authorization: token ${TOKEN}" \ RELEASE_ID=$(curl -sf -H "Authorization: token ${{ secrets.MOKOGITEA_TOKEN }}" \
-H "Content-Type: application/json" \ "${API_BASE}/releases/tags/${TAG}" | python3 -c "import json,sys; print(json.load(sys.stdin).get('id',''))" 2>/dev/null || true)
"${API}/releases" \
-d "$(jq -n \
--arg tag "$TAG" \
--arg target "$BRANCH" \
--arg name "${EXT_ELEMENT} ${VERSION} (${STABILITY})" \
--arg body "$BODY" \
'{tag_name: $tag, target_commitish: $target, name: $name, body: $body, prerelease: true}'
)" | jq -r '.id')
echo "release_id=${RELEASE_ID}" >> "$GITHUB_OUTPUT" 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
# Upload ZIP - name: Build package and upload
curl -sS -X POST -H "Authorization: token ${TOKEN}" \ id: package
-H "Content-Type: application/octet-stream" \ if: steps.eligibility.outputs.proceed == 'true'
"${API}/releases/${RELEASE_ID}/assets?name=${ZIP_NAME}" \
--data-binary "@${{ steps.zip.outputs.zip_path }}"
echo "Released: ${EXT_ELEMENT} ${VERSION} (${STABILITY})"
- name: "Update updates.xml"
if: steps.platform.outputs.platform == 'joomla'
run: | run: |
VERSION="${{ steps.meta.outputs.version }}" VERSION="${{ steps.meta.outputs.version }}"
STABILITY="${{ steps.meta.outputs.stability }}" TAG="${{ steps.meta.outputs.tag }}"
SHA256="${{ steps.zip.outputs.sha256 }}" API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
php /tmp/moko-platform-api/cli/updates_xml_build.php --path . --version "$VERSION" --stability "$STABILITY" --sha "$SHA256" --gitea-url "$GITEA_URL" --org "$GITEA_ORG" --repo "$GITEA_REPO" php ${MOKO_CLI}/release_package.php \
if ! git diff --quiet updates.xml 2>/dev/null; then --path . --version "$VERSION" --tag "$TAG" \
git config --local user.email "gitea-actions[bot]@mokoconsulting.tech" --token "${{ secrets.MOKOGITEA_TOKEN }}" --api-base "$API_BASE" \
git config --local user.name "gitea-actions[bot]" --repo "${GITEA_REPO}" --output /tmp || true
git add updates.xml
git commit -m "chore: update $STABILITY channel $VERSION [skip ci]"
git push origin HEAD 2>&1 || echo "WARNING: push failed"
fi
- name: "Sync updates.xml to all branches" # updates.xml is generated dynamically by MokoGitea license server
if: steps.platform.outputs.platform == 'joomla' # No need to build, commit, or sync updates.xml from workflows
run: |
php /tmp/moko-platform-api/cli/updates_xml_sync.php --path . --current "${{ github.ref_name }}" --branches main,dev --version "${{ steps.meta.outputs.version }}" --token "${{ secrets.GA_TOKEN }}" --org "${GITEA_ORG}" --repo "${GITEA_REPO}" --gitea-url "${GITEA_URL}"
- name: "Delete lesser pre-release channels (cascade)" - name: "Delete lesser pre-release channels (cascade)"
if: steps.eligibility.outputs.proceed == 'true'
continue-on-error: true continue-on-error: true
run: | run: |
API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}" API_BASE="${GITEA_URL}/api/v1/repos/${GITEA_ORG}/${GITEA_REPO}"
TOKEN="${{ secrets.GA_TOKEN }}" 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 }}" STABILITY="${{ steps.meta.outputs.stability }}"
ZIP_NAME="${{ steps.meta.outputs.zip_name }}"
# Cascade: rc → beta,alpha,dev | beta → alpha,dev | alpha → dev | dev → nothing SHA256="${{ steps.package.outputs.sha256_zip }}"
case "$STABILITY" in echo "## Pre-Release Complete" >> $GITHUB_STEP_SUMMARY
release-candidate) TAGS_TO_DELETE="beta alpha development" ;; echo "" >> $GITHUB_STEP_SUMMARY
beta) TAGS_TO_DELETE="alpha development" ;; echo "| Field | Value |" >> $GITHUB_STEP_SUMMARY
alpha) TAGS_TO_DELETE="development" ;; echo "|-------|-------|" >> $GITHUB_STEP_SUMMARY
*) TAGS_TO_DELETE="" ;; echo "| Version | \`${VERSION}\` |" >> $GITHUB_STEP_SUMMARY
esac echo "| Channel | ${STABILITY} |" >> $GITHUB_STEP_SUMMARY
echo "| Package | \`${ZIP_NAME}\` |" >> $GITHUB_STEP_SUMMARY
[ -z "$TAGS_TO_DELETE" ] && exit 0 echo "| SHA-256 | \`${SHA256:-n/a}\` |" >> $GITHUB_STEP_SUMMARY
for TAG in $TAGS_TO_DELETE; do
RELEASE_ID=$(curl -sS -H "Authorization: token ${TOKEN}" \
"${API_BASE}/releases/tags/${TAG}" 2>/dev/null | \
python3 -c "import sys,json; print(json.load(sys.stdin).get('id',''))" 2>/dev/null || true)
if [ -n "$RELEASE_ID" ] && [ "$RELEASE_ID" != "None" ]; then
curl -sS -X DELETE -H "Authorization: token ${TOKEN}" \
"${API_BASE}/releases/${RELEASE_ID}" 2>/dev/null || true
curl -sS -X DELETE -H "Authorization: token ${TOKEN}" \
"${API_BASE}/tags/${TAG}" 2>/dev/null || true
echo "Deleted: ${TAG} (id: ${RELEASE_ID})"
fi
done
+66
View File
@@ -0,0 +1,66 @@
# 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
run: |
BRANCH="${{ github.event.pull_request.head.ref }}"
SUFFIX="${BRANCH#rc/}"
DEV_BRANCH="dev/${SUFFIX}"
API="${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}/api/v1/repos/${{ github.repository }}/branches"
TOKEN="${{ secrets.MOKOGITEA_TOKEN }}"
# 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
# Delete rc/ branch
ENCODED=$(php -r "echo rawurlencode('${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
+2 -18
View File
@@ -4,8 +4,8 @@
# #
# FILE INFORMATION # FILE INFORMATION
# DEFGROUP: Gitea.Workflow # DEFGROUP: Gitea.Workflow
# INGROUP: moko-platform.Security # INGROUP: MokoStandards.Security
# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform # REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards
# PATH: /.gitea/workflows/security-audit.yml # PATH: /.gitea/workflows/security-audit.yml
# VERSION: 01.00.00 # VERSION: 01.00.00
# BRIEF: Dependency vulnerability scanning for composer and npm packages # BRIEF: Dependency vulnerability scanning for composer and npm packages
@@ -80,19 +80,3 @@ jobs:
-H "Priority: high" \ -H "Priority: high" \
-d "Security audit found vulnerabilities. Review dependency updates." \ -d "Security audit found vulnerabilities. Review dependency updates." \
"${NTFY_URL}/${NTFY_TOPIC}" || true "${NTFY_URL}/${NTFY_TOPIC}" || true
- name: Joomla version audit
if: always()
run: |
if [ -f "monitoring/joomla-version-audit.php" ] && [ -n "$JOOMLA_SITES" ]; then
echo "$JOOMLA_SITES" > /tmp/sites.json
php monitoring/joomla-version-audit.php --sites /tmp/sites.json || true
echo "### Joomla Version Audit" >> $GITHUB_STEP_SUMMARY
rm -f /tmp/sites.json
else
echo "Joomla audit skipped (no script or JOOMLA_SITES_JSON not configured)"
fi
env:
JOOMLA_SITES: ${{ vars.JOOMLA_SITES_JSON }}
+11 -14
View File
@@ -47,22 +47,19 @@ jobs:
token: ${{ secrets.GH_TOKEN || github.token }} token: ${{ secrets.GH_TOKEN || github.token }}
fetch-depth: 0 fetch-depth: 0
- name: Set up PHP
uses: shivammathur/setup-php@fcafdd6392932010c2bd5094439b8e33be2a8a09 # v2.37.0
with:
php-version: '8.1'
tools: composer
- name: Setup MokoStandards tools - name: Setup MokoStandards tools
env:
GH_TOKEN: ${{ secrets.GH_TOKEN || github.token }}
COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GH_TOKEN || github.token }}"}}'
run: | run: |
git clone --depth 1 --branch version/04 --quiet \ # Use pre-installed mokoplatform on runner host (symlink /opt/mokoplatform -> /opt/moko-platform)
"https://x-access-token:${GH_TOKEN}@github.com/mokoconsulting-tech/MokoStandards.git" \ if [ -d /opt/mokoplatform/api/cli ] && [ -f /opt/mokoplatform/vendor/autoload.php ]; then
/tmp/mokostandards ln -sf /opt/mokoplatform /tmp/mokostandards
cd /tmp/mokostandards echo "Using pre-installed /opt/mokoplatform"
composer install --no-dev --no-interaction --quiet elif [ -d /opt/moko-platform/api/cli ]; then
ln -sf /opt/moko-platform /tmp/mokostandards
echo "Using pre-installed /opt/moko-platform"
else
echo "::warning::MokoStandards tools not found on runner - skipping"
echo "MOKO_SKIP=true" >> "$GITHUB_ENV"
fi
- name: Auto-bump patch version - name: Auto-bump patch version
if: ${{ github.event_name == 'push' && github.actor != 'github-actions[bot]' }} if: ${{ github.event_name == 'push' && github.actor != 'github-actions[bot]' }}
+312
View File
@@ -0,0 +1,312 @@
# 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
@@ -0,0 +1,73 @@
# 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:
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.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: |
GITEA_URL="${{ vars.GITEA_URL || 'https://git.mokoconsulting.tech' }}"
git clone --depth 1 "${GITEA_URL}/MokoConsulting/mokocli.git" /tmp/mokocli
- 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}
+17
View File
@@ -13,6 +13,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Added
- `gitea_org_issue_statuses_list` -- list issue status definitions for an org
- `gitea_org_issue_priorities_list` -- list issue priority definitions for an org
- `gitea_org_issue_types_list` -- list issue type definitions for an org
- `gitea_issue_set_status` -- set/clear status on an issue (convenience wrapper)
- `gitea_issue_set_priority` -- set/clear priority on an issue (convenience wrapper)
- `gitea_issue_create` now accepts `status_id`, `priority_id`, `type_id` params
- `gitea_issue_update` now accepts `status_id`, `priority_id`, `type_id` params
### Changed
- Migrated all workflow and template paths from `.github/` to `.mokogitea/`
- Template source paths updated: `templates/gitea/` to `templates/mokogitea/`
- HCL definition files removed -- Template repos are now the canonical source
### Added
- `branch-cleanup.yml`: auto-delete merged feature branches after PR merge
### Changed ### Changed
- **Renamed** package from `@mokoconsulting/gitea-api-mcp` to `@mokoconsulting/mokogitea-api-mcp` to distinguish Moko's forked Gitea MCP from upstream - **Renamed** package from `@mokoconsulting/gitea-api-mcp` to `@mokoconsulting/mokogitea-api-mcp` to distinguish Moko's forked Gitea MCP from upstream
- **Renamed** McpServer name and bin entry to `mokogitea-api-mcp` - **Renamed** McpServer name and bin entry to `mokogitea-api-mcp`
+161 -189
View File
@@ -1,189 +1,161 @@
<!-- Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech> # Contributing to Moko Consulting Projects
SPDX-License-Identifier: GPL-3.0-or-later
DEFGROUP: gitea-api-mcp.Documentation Thank you for your interest in contributing. All Moko Consulting repositories follow this universal workflow and version policy.
REPO: https://git.mokoconsulting.tech/MokoConsulting/gitea-api-mcp
--> ## Branching Workflow
# Contributing to gitea-api-mcp ```
feature/* ──PR──> dev ──draft PR──> (renamed to rc) ──merge──> main
Thank you for your interest in contributing to gitea-api-mcp. This document provides guidelines and information for contributors. ```
## Table of Contents ### Step by step
- [Getting Started](#getting-started) 1. **Create a feature branch** from `dev`:
- [Development Setup](#development-setup) ```bash
- [Gitea API Explorer](#gitea-api-explorer) git checkout dev && git pull
- [Code Style](#code-style) git checkout -b feature/my-change
- [Commit Conventions](#commit-conventions) ```
- [Branch Protection Rules](#branch-protection-rules)
- [Pull Request Process](#pull-request-process) 2. **Work and commit** on your feature branch. Push to origin.
- [Adding a New Tool](#adding-a-new-tool)
3. **Open a PR**: `feature/my-change` → `dev`. After review and checks, merge it.
## Getting Started
4. **When ready for release**, open a **draft PR**: `dev` → `main`.
1. Fork the repository on Gitea: https://git.mokoconsulting.tech/MokoConsulting/gitea-api-mcp - This automatically renames the source branch to `rc` (release candidate)
2. Clone your fork locally - An RC pre-release is built and uploaded
3. Create a feature branch from `main`
4. Make your changes 5. **Alpha and beta branches** are created by manually renaming the branch before the RC stage:
5. Submit a pull request - Rename `dev` to `alpha` for early testing → alpha pre-release is built
- Rename `alpha` to `beta` for feature-complete testing → beta pre-release is built
## Development Setup - When the draft PR is created, the branch is renamed to `rc`
```bash 6. **Once PR checks pass** on the `rc` branch, mark the PR as ready and merge to `main`.
git clone https://git.mokoconsulting.tech/YourUsername/gitea-api-mcp.git
cd gitea-api-mcp 7. **Merging to main** triggers the stable release pipeline:
npm install - Minor version bump (e.g., `02.09.xx` → `02.10.00`)
npm run build - Stability suffix stripped (clean version)
``` - Gitea release created with ZIP/tar.gz packages
- `updates.xml` updated (Joomla extensions)
For live recompilation during development: - `dev` branch recreated from `main`
```bash ### Branch summary
npm run dev
``` | Branch | Purpose | Created by |
|--------|---------|-----------|
Ensure you have a valid `~/.gitea-api-mcp.json` config file pointing to a test Gitea instance before testing. | `feature/*` | New features and fixes | Developer |
| `dev` | Integration branch | Auto-recreated after release |
## Gitea API Explorer | `alpha` | Alpha pre-release testing | Manual rename from `dev` |
| `beta` | Beta pre-release testing | Manual rename from `alpha` |
When adding or modifying tools, refer to your Gitea instance's built-in API explorer: | `rc` | Release candidate | Auto-renamed on draft PR to main |
| `main` | Stable releases | Protected, merge only |
``` | `version/XX.YY.ZZ` | Archived release snapshots | Auto-created by CI |
https://your-gitea-instance/api/swagger
``` ### Protected branches
For the Moko Consulting instance: | Branch | Direct push | Merge via |
|--------|------------|-----------|
``` | `main` | Blocked (CI bot whitelisted) | PR merge only |
https://git.mokoconsulting.tech/api/swagger | `dev` | Blocked (CI bot whitelisted) | PR merge from feature/* |
``` | `rc` | Blocked (CI bot whitelisted) | Auto-created on draft PR |
| `alpha` | Blocked (CI bot whitelisted) | Manual rename |
The Swagger UI provides: | `beta` | Blocked (CI bot whitelisted) | Manual rename |
- Full endpoint documentation with request/response schemas | `feature/*` | Open | N/A (source branch) |
- Interactive API testing ("Try it out" button)
- Authentication configuration for testing ## Version Policy
- Parameter type and validation details
### Format
## Code Style
All versions use `XX.YY.ZZ` — three two-digit segments, zero-padded:
- Use TypeScript strict mode
- Follow the existing patterns in `src/index.ts` for tool registration - **XX** — Major version (breaking changes)
- Use the `OwnerRepo`, `PaginationParams`, and `ConnectionParam` shared parameter objects - **YY** — Minor version (new features, bumped on release to main)
- Format responses through `formatResponse()` - **ZZ** — Patch version (auto-incremented on every push to dev/feature branches)
- Include mokostandards file headers on all new source files
Rollover: patch `99` → `00` increments minor; minor `99` → `00` increments major.
### File Header Template
### Stability suffixes
```typescript
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech> Each branch appends a suffix to indicate stability:
*
* This file is part of a Moko Consulting project. | Branch | Suffix | Example |
* |--------|--------|---------|
* SPDX-License-Identifier: GPL-3.0-or-later | `main` | (none) | `02.09.00` |
* | `dev` | `-dev` | `02.09.01-dev` |
* FILE INFORMATION | `feature/*` | `-dev` | `02.09.01-dev` |
* DEFGROUP: gitea-api-mcp.<GroupName> | `alpha` | `-alpha` | `02.09.01-alpha` |
* INGROUP: gitea-api-mcp | `beta` | `-beta` | `02.09.01-beta` |
* REPO: https://git.mokoconsulting.tech/MokoConsulting/gitea-api-mcp | `rc` | `-rc` | `02.09.01-rc` |
* PATH: /src/<filename>.ts
* VERSION: 01.00.00 ### Auto version bump
* BRIEF: <One-line description>
*/ On every push to `dev`, `feature/*`, or `patch/*`:
```
1. Patch version incremented
## Commit Conventions 2. Stability suffix `-dev` applied
3. All version-bearing files updated (manifests, CHANGELOG, PHP headers, etc.)
This project uses [Conventional Commits](https://www.conventionalcommits.org/): 4. Commit created with `[skip ci]` to avoid loops
``` ### Release version flow
<type>(<scope>): <description>
Version bumps happen at specific release events:
[optional body]
| Event | Bump | Example |
[optional footer(s)] |-------|------|---------|
``` | Feature merged to dev | Patch bump after dev release | `02.09.01-dev` → release → `02.09.02-dev` |
| Dev promoted to RC | Minor bump | `02.09.02-dev` → `02.10.00-rc` |
### Types | RC merged to main | Minor bump | `02.10.00-rc` → `02.11.00` (stable) |
| Dev recreated from main | Patch bump | `02.11.00` → `02.11.01-dev` |
| Type | Description |
|------|-------------| ### Release stream copies
| `feat` | New feature (new tool, new parameter) |
| `fix` | Bug fix | When a higher-stability release is published, copies are created for all lesser streams with the same base version:
| `docs` | Documentation only |
| `refactor` | Code change that neither fixes a bug nor adds a feature | - **RC `02.10.00-rc`** also creates: `02.10.00-dev`, `02.10.00-alpha`, `02.10.00-beta`
| `chore` | Build process, dependency updates | - **Stable `02.11.00`** also creates: `02.11.00-dev`, `02.11.00-alpha`, `02.11.00-beta`, `02.11.00-rc`
| `test` | Adding or updating tests |
This ensures Joomla sites on ANY stability channel see the update (Joomla only shows versions higher than what's installed).
### Scope
### Version files
Use the tool category as scope when applicable:
The version tools update all files containing version stamps:
```
feat(issues): add gitea_issue_lock tool - `.mokogitea/manifest.xml` (canonical source)
fix(client): handle 204 No Content responses - Joomla XML manifests (`<version>` tag)
docs(readme): update tool count - `README.md`, `CHANGELOG.md` (`VERSION:` pattern)
``` - `package.json`, `pyproject.toml`
- Any text file with a `VERSION: XX.YY.ZZ` label
## Branch Protection Rules
Files synced from other repos (with a `# REPO:` header) are not touched.
The `main` branch has the following protections:
## Code Standards
- Direct pushes to `main` are not allowed
- All changes must come through pull requests - **PHP**: PSR-12, tabs for indentation
- At least one approval is required before merging - **Copyright**: all files must include the Moko Consulting copyright header
- Status checks must pass before merging - **License**: SPDX identifier `GPL-3.0-or-later` (or as specified per repo)
- Force pushes are disabled - **Attribution**: use `Authored-by: Moko Consulting` in commits, not individual names
### Branch Naming ## Commit Messages
``` Use conventional commit format:
feat/short-description
fix/issue-number-description ```
docs/what-changed type(scope): short description
refactor/what-changed
``` Optional body with context.
## Pull Request Process Authored-by: Moko Consulting
```
1. Ensure your branch is up to date with `main`
2. Update documentation if you added or changed tools Types: `feat`, `fix`, `chore`, `docs`, `style`, `refactor`, `test`, `ci`
3. Update `CHANGELOG.md` under an `[Unreleased]` section
4. Fill out the PR template with a clear description Special flags in commit messages:
5. Request review from a maintainer - `[skip ci]` — skip all CI workflows
6. Address any review feedback - `[skip bump]` — skip auto version bump only
7. Squash-merge will be used for final integration
## Reporting Issues
## Adding a New Tool
Use the repository's issue tracker with the appropriate template.
1. Identify the Gitea API endpoint in the Swagger explorer
2. Add the tool registration in `src/index.ts` under the appropriate category section ---
3. Follow the existing parameter patterns:
- Use `OwnerRepo` for tools that operate on a specific repository *Moko Consulting <hello@mokoconsulting.tech>*
- Use `PaginationParams` for list endpoints
- Always include `ConnectionParam` for multi-connection support
4. Use `z.string().describe('...')` for all parameters with clear descriptions
5. Route through `formatResponse()` for consistent output
6. Update the tool tables in `README.md` and `docs/API.md`
7. Add the tool to `CHANGELOG.md`
### Example
```typescript
server.tool(
'gitea_example_action',
'Description of what this tool does',
{
...OwnerRepo,
some_param: z.string().describe('What this parameter controls'),
...PaginationParams,
...ConnectionParam,
},
async ({ owner, repo, some_param, page, limit, connection }) => {
const params: Record<string, string> = { ...pageQuery({ page, limit }) };
if (some_param) params['some_param'] = some_param;
return formatResponse(
await clientFor(connection).get(`/repos/${owner}/${repo}/example`, params),
);
},
);
```
+4 -1
View File
@@ -250,12 +250,15 @@ If `connection` is omitted, the `defaultConnection` is used.
| `gitea_webhooks_list` | List webhooks for a repository | | `gitea_webhooks_list` | List webhooks for a repository |
| `gitea_webhook_create` | Create a webhook | | `gitea_webhook_create` | Create a webhook |
### Wiki (2 tools) ### Wiki (5 tools)
| Tool | Description | | Tool | Description |
|------|-------------| |------|-------------|
| `gitea_wiki_pages_list` | List wiki pages | | `gitea_wiki_pages_list` | List wiki pages |
| `gitea_wiki_page_get` | Get a wiki page | | `gitea_wiki_page_get` | Get a wiki page |
| `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 |
### Notifications (2 tools) ### Notifications (2 tools)
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@mokoconsulting/mcp-mokogitea-api", "name": "@mokoconsulting/mcp-mokogitea-api",
"version": "1.0.0", "version": "1.4.3",
"description": "MCP server for Gitea REST API v1 operations", "description": "MCP server for Gitea REST API v1 operations",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",
@@ -29,6 +29,6 @@
"author": "Moko Consulting <hello@mokoconsulting.tech>", "author": "Moko Consulting <hello@mokoconsulting.tech>",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.mokoconsulting.tech/MokoConsulting/gitea-api-mcp.git" "url": "https://git.mokoconsulting.tech/MokoConsulting/mcp-mokogitea-api.git"
} }
} }
-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); });
+16 -2
View File
@@ -51,8 +51,22 @@ export class GiteaClient {
return this.request(this.buildUrl(endpoint), 'PUT', body); return this.request(this.buildUrl(endpoint), 'PUT', body);
} }
async delete(endpoint: string): Promise<ApiResponse> { async delete(endpoint: string, body?: unknown): Promise<ApiResponse> {
return this.request(this.buildUrl(endpoint), 'DELETE'); 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 { private buildUrl(endpoint: string, params?: Record<string, string>): string {
+201 -23
View File
@@ -61,7 +61,7 @@ const OwnerRepo = {
const server = new McpServer({ const server = new McpServer({
name: 'mokogitea-api-mcp', name: 'mokogitea-api-mcp',
version: '1.0.0', version: '1.4.2',
}); });
// ── User / Auth ───────────────────────────────────────────────────────── // ── User / Auth ─────────────────────────────────────────────────────────
@@ -309,8 +309,7 @@ server.tool(
const client = clientFor(connection); const client = clientFor(connection);
const body: Record<string, unknown> = { sha, message }; const body: Record<string, unknown> = { sha, message };
if (branch) body.branch = branch; if (branch) body.branch = branch;
// Gitea DELETE with body needs special handling return formatResponse(await client.delete(`/repos/${owner}/${repo}/contents/${filepath}`, body));
return formatResponse(await client.post(`/repos/${owner}/${repo}/contents/${filepath}`, { ...body, _method: 'DELETE' }));
}, },
); );
@@ -436,24 +435,30 @@ server.tool(
...OwnerRepo, ...OwnerRepo,
title: z.string().describe('Issue title'), title: z.string().describe('Issue title'),
body: z.string().optional().describe('Issue body (markdown)'), body: z.string().optional().describe('Issue body (markdown)'),
labels: z.array(z.number()).optional().describe('Label IDs'), labels: z.array(z.union([z.number(), z.string()])).optional().describe('Label IDs or names (use gitea_labels_list to discover available labels)'),
milestone: z.number().optional().describe('Milestone ID'), milestone: z.number().optional().describe('Milestone ID'),
assignees: z.array(z.string()).optional().describe('Usernames to assign'), assignees: z.array(z.string()).optional().describe('Usernames to assign'),
status_id: z.number().optional().describe('Issue status definition ID (use gitea_org_issue_statuses_list to discover)'),
priority_id: z.number().optional().describe('Issue priority definition ID (use gitea_org_issue_priorities_list to discover)'),
type_id: z.number().optional().describe('Issue type definition ID (use gitea_org_issue_types_list to discover)'),
...ConnectionParam, ...ConnectionParam,
}, },
async ({ owner, repo, title, body: issueBody, labels, milestone, assignees, connection }) => { async ({ owner, repo, title, body: issueBody, labels, milestone, assignees, status_id, priority_id, type_id, connection }) => {
const body: Record<string, unknown> = { title }; const body: Record<string, unknown> = { title };
if (issueBody) body.body = issueBody; if (issueBody) body.body = issueBody;
if (labels) body.labels = labels; if (labels) body.labels = labels;
if (milestone) body.milestone = milestone; if (milestone) body.milestone = milestone;
if (assignees) body.assignees = assignees; if (assignees) body.assignees = assignees;
if (status_id !== undefined) body.status_id = status_id;
if (priority_id !== undefined) body.priority_id = priority_id;
if (type_id !== undefined) body.type_id = type_id;
return formatResponse(await clientFor(connection).post(`/repos/${owner}/${repo}/issues`, body)); return formatResponse(await clientFor(connection).post(`/repos/${owner}/${repo}/issues`, body));
}, },
); );
server.tool( server.tool(
'gitea_issue_update', 'gitea_issue_update',
'Update an issue', 'Update an issue (supports title, body, state, assignees, milestone, and org-level metadata)',
{ {
...OwnerRepo, ...OwnerRepo,
number: z.number().describe('Issue number'), number: z.number().describe('Issue number'),
@@ -462,19 +467,53 @@ server.tool(
state: z.enum(['open', 'closed']).optional().describe('State'), state: z.enum(['open', 'closed']).optional().describe('State'),
assignees: z.array(z.string()).optional().describe('Assignees'), assignees: z.array(z.string()).optional().describe('Assignees'),
milestone: z.number().optional().describe('Milestone ID'), milestone: z.number().optional().describe('Milestone ID'),
status_id: z.number().optional().describe('Issue status definition ID (use gitea_org_issue_statuses_list to discover; 0 to clear)'),
priority_id: z.number().optional().describe('Issue priority definition ID (use gitea_org_issue_priorities_list to discover; 0 to clear)'),
type_id: z.number().optional().describe('Issue type definition ID (use gitea_org_issue_types_list to discover; 0 to clear)'),
...ConnectionParam, ...ConnectionParam,
}, },
async ({ owner, repo, number, title, body: issueBody, state, assignees, milestone, connection }) => { async ({ owner, repo, number, title, body: issueBody, state, assignees, milestone, status_id, priority_id, type_id, connection }) => {
const body: Record<string, unknown> = {}; const body: Record<string, unknown> = {};
if (title !== undefined) body.title = title; if (title !== undefined) body.title = title;
if (issueBody !== undefined) body.body = issueBody; if (issueBody !== undefined) body.body = issueBody;
if (state) body.state = state; if (state) body.state = state;
if (assignees) body.assignees = assignees; if (assignees) body.assignees = assignees;
if (milestone !== undefined) body.milestone = milestone; if (milestone !== undefined) body.milestone = milestone;
if (status_id !== undefined) body.status_id = status_id;
if (priority_id !== undefined) body.priority_id = priority_id;
if (type_id !== undefined) body.type_id = type_id;
return formatResponse(await clientFor(connection).patch(`/repos/${owner}/${repo}/issues/${number}`, body)); return formatResponse(await clientFor(connection).patch(`/repos/${owner}/${repo}/issues/${number}`, body));
}, },
); );
server.tool(
'gitea_issue_set_status',
'Set or clear the status on an issue (convenience wrapper around issue update)',
{
...OwnerRepo,
number: z.number().describe('Issue number'),
status_id: z.number().describe('Status definition ID (0 to clear)'),
...ConnectionParam,
},
async ({ owner, repo, number, status_id, connection }) => {
return formatResponse(await clientFor(connection).patch(`/repos/${owner}/${repo}/issues/${number}`, { status_id }));
},
);
server.tool(
'gitea_issue_set_priority',
'Set or clear the priority on an issue (convenience wrapper around issue update)',
{
...OwnerRepo,
number: z.number().describe('Issue number'),
priority_id: z.number().describe('Priority definition ID (0 to clear)'),
...ConnectionParam,
},
async ({ owner, repo, number, priority_id, connection }) => {
return formatResponse(await clientFor(connection).patch(`/repos/${owner}/${repo}/issues/${number}`, { priority_id }));
},
);
server.tool( server.tool(
'gitea_issue_comments_list', 'gitea_issue_comments_list',
'List comments on an issue', 'List comments on an issue',
@@ -502,7 +541,7 @@ server.tool(
{ {
q: z.string().describe('Search query'), q: z.string().describe('Search query'),
state: z.enum(['open', 'closed', 'all']).optional().describe('State filter'), state: z.enum(['open', 'closed', 'all']).optional().describe('State filter'),
labels: z.string().optional().describe('Comma-separated label IDs'), labels: z.string().optional().describe('Comma-separated label IDs or names'),
type: z.enum(['issues', 'pulls']).optional().describe('Filter type'), type: z.enum(['issues', 'pulls']).optional().describe('Filter type'),
...PaginationParams, ...PaginationParams,
...ConnectionParam, ...ConnectionParam,
@@ -512,7 +551,7 @@ server.tool(
if (state) params['state'] = state; if (state) params['state'] = state;
if (labels) params['labels'] = labels; if (labels) params['labels'] = labels;
if (type) params['type'] = type; if (type) params['type'] = type;
return formatResponse(await clientFor(connection).get('/repos/search', params)); return formatResponse(await clientFor(connection).get('/repos/issues/search', params));
}, },
); );
@@ -520,7 +559,7 @@ server.tool(
server.tool( server.tool(
'gitea_labels_list', 'gitea_labels_list',
'List labels in a repository', 'List all labels in a repository (includes id, name, color, description — use to discover available type/priority/status labels)',
{ ...OwnerRepo, ...PaginationParams, ...ConnectionParam }, { ...OwnerRepo, ...PaginationParams, ...ConnectionParam },
async ({ owner, repo, page, limit, connection }) => formatResponse(await clientFor(connection).get(`/repos/${owner}/${repo}/labels`, pageQuery({ page, limit }))), async ({ owner, repo, page, limit, connection }) => formatResponse(await clientFor(connection).get(`/repos/${owner}/${repo}/labels`, pageQuery({ page, limit }))),
); );
@@ -618,7 +657,7 @@ server.tool(
head: z.string().describe('Source branch'), head: z.string().describe('Source branch'),
base: z.string().describe('Target branch'), base: z.string().describe('Target branch'),
body: z.string().optional().describe('PR description (markdown)'), body: z.string().optional().describe('PR description (markdown)'),
labels: z.array(z.number()).optional().describe('Label IDs'), labels: z.array(z.union([z.number(), z.string()])).optional().describe('Label IDs or names (use gitea_labels_list to discover available labels)'),
milestone: z.number().optional().describe('Milestone ID'), milestone: z.number().optional().describe('Milestone ID'),
assignees: z.array(z.string()).optional().describe('Assignees'), assignees: z.array(z.string()).optional().describe('Assignees'),
...ConnectionParam, ...ConnectionParam,
@@ -832,14 +871,23 @@ server.tool(
...ConnectionParam, ...ConnectionParam,
}, },
async ({ owner, repo, release_id, name, content_base64, connection }) => { async ({ owner, repo, release_id, name, content_base64, connection }) => {
const client = clientFor(connection); const conn = getConnection(config, connection);
// Gitea expects multipart form data for asset upload const baseUrl = conn.baseUrl.replace(/\/+$/, '') + '/api/v1';
// For now, use the API with the binary content const url = `${baseUrl}/repos/${owner}/${repo}/releases/${release_id}/assets?name=${encodeURIComponent(name)}`;
const res = await client.post( const buf = Buffer.from(content_base64, 'base64');
`/repos/${owner}/${repo}/releases/${release_id}/assets?name=${encodeURIComponent(name)}`, const resp = await fetch(url, {
Buffer.from(content_base64, 'base64'), method: 'POST',
); headers: {
return formatResponse(res); '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 });
}, },
); );
@@ -890,7 +938,7 @@ server.tool(
results.push({ repo, status: 'updated' }); results.push({ repo, status: 'updated' });
} else { } else {
// Create new file // Create new file
await client.post(`/repos/${owner}/${repo}/contents/${path}`, { await client.put(`/repos/${owner}/${repo}/contents/${path}`, {
content: content_base64, content: content_base64,
message, message,
branch: targetBranch, branch: targetBranch,
@@ -930,6 +978,29 @@ server.tool(
async ({ org, page, limit, connection }) => formatResponse(await clientFor(connection).get(`/orgs/${org}/members`, pageQuery({ page, limit }))), async ({ org, page, limit, connection }) => formatResponse(await clientFor(connection).get(`/orgs/${org}/members`, pageQuery({ page, limit }))),
); );
// ── Organization Issue Metadata ──────────────────────────────────────────
server.tool(
'gitea_org_issue_statuses_list',
'List issue status definitions for an organization (id, name, color, closes_issue — use to discover valid status_id values)',
{ org: z.string().describe('Organization name'), ...ConnectionParam },
async ({ org, connection }) => formatResponse(await clientFor(connection).get(`/orgs/${org}/issue-statuses`)),
);
server.tool(
'gitea_org_issue_priorities_list',
'List issue priority definitions for an organization (id, name, color, is_default — use to discover valid priority_id values)',
{ org: z.string().describe('Organization name'), ...ConnectionParam },
async ({ org, connection }) => formatResponse(await clientFor(connection).get(`/orgs/${org}/issue-priorities`)),
);
server.tool(
'gitea_org_issue_types_list',
'List issue type definitions for an organization (id, name, color, is_default — use to discover valid type_id values)',
{ org: z.string().describe('Organization name'), ...ConnectionParam },
async ({ org, connection }) => formatResponse(await clientFor(connection).get(`/orgs/${org}/issue-types`)),
);
// ── Users ─────────────────────────────────────────────────────────────── // ── Users ───────────────────────────────────────────────────────────────
server.tool( server.tool(
@@ -997,6 +1068,59 @@ server.tool(
async ({ owner, repo, page_name, connection }) => formatResponse(await clientFor(connection).get(`/repos/${owner}/${repo}/wiki/page/${page_name}`)), async ({ owner, repo, page_name, connection }) => formatResponse(await clientFor(connection).get(`/repos/${owner}/${repo}/wiki/page/${page_name}`)),
); );
server.tool(
'gitea_wiki_page_create',
'Create a new wiki page',
{
...OwnerRepo,
title: z.string().describe('Page title'),
content: z.string().describe('Page content (markdown)'),
message: z.string().optional().describe('Commit message for the wiki change'),
...ConnectionParam,
},
async ({ owner, repo, title, content, message, connection }) => {
const body: Record<string, unknown> = {
title,
content_base64: Buffer.from(content).toString('base64'),
};
if (message !== undefined) body.message = message;
return formatResponse(await clientFor(connection).post(`/repos/${owner}/${repo}/wiki/pages`, body));
},
);
server.tool(
'gitea_wiki_page_edit',
'Edit an existing wiki page',
{
...OwnerRepo,
page_name: z.string().describe('Current page name/slug'),
content: z.string().describe('New page content (markdown)'),
title: z.string().optional().describe('New page title (to rename)'),
message: z.string().optional().describe('Commit message for the wiki change'),
...ConnectionParam,
},
async ({ owner, repo, page_name, content, title, message, connection }) => {
const body: Record<string, unknown> = {
content_base64: Buffer.from(content).toString('base64'),
};
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));
},
);
server.tool(
'gitea_wiki_page_delete',
'Delete a wiki page',
{
...OwnerRepo,
page_name: z.string().describe('Page name/slug to delete'),
...ConnectionParam,
},
async ({ owner, repo, page_name, connection }) =>
formatResponse(await clientFor(connection).delete(`/repos/${owner}/${repo}/wiki/page/${page_name}`)),
);
// ── Notifications ─────────────────────────────────────────────────────── // ── Notifications ───────────────────────────────────────────────────────
server.tool( server.tool(
@@ -1179,7 +1303,7 @@ server.tool(
server.tool( server.tool(
'gitea_org_labels_list', 'gitea_org_labels_list',
'List labels for an organization (shared across repos)', 'List labels for an organization (shared across repos — includes id, name, color, description for type/priority/status discovery)',
{ {
org: z.string().describe('Organization name'), org: z.string().describe('Organization name'),
...PaginationParams, ...PaginationParams,
@@ -1489,7 +1613,7 @@ server.tool(
{ {
...OwnerRepo, ...OwnerRepo,
number: z.number().describe('Issue/PR number'), number: z.number().describe('Issue/PR number'),
labels: z.array(z.number()).describe('Label IDs to set'), labels: z.array(z.union([z.number(), z.string()])).describe('Label IDs or names to set (use gitea_labels_list to discover available labels)'),
...ConnectionParam, ...ConnectionParam,
}, },
async ({ owner, repo, number, labels, connection }) => formatResponse(await clientFor(connection).put(`/repos/${owner}/${repo}/issues/${number}/labels`, { labels })), async ({ owner, repo, number, labels, connection }) => formatResponse(await clientFor(connection).put(`/repos/${owner}/${repo}/issues/${number}/labels`, { labels })),
@@ -1561,7 +1685,7 @@ server.tool(
case 'POST': return formatResponse(await client.post(endpoint, body)); case 'POST': return formatResponse(await client.post(endpoint, body));
case 'PUT': return formatResponse(await client.put(endpoint, body)); case 'PUT': return formatResponse(await client.put(endpoint, body));
case 'PATCH': return formatResponse(await client.patch(endpoint, body)); case 'PATCH': return formatResponse(await client.patch(endpoint, body));
case 'DELETE': return formatResponse(await client.delete(endpoint)); case 'DELETE': return formatResponse(await client.delete(endpoint, body));
} }
}, },
); );
@@ -1581,6 +1705,60 @@ server.tool(
}, },
); );
// ── Metadata ────────────────────────────────────────────────────────────
server.tool(
'gitea_metadata_get',
'Get repo metadata (project identity, governance, distribution, build settings)',
{
owner: z.string().describe('Repository owner'),
repo: z.string().describe('Repository name'),
...ConnectionParam,
},
async ({ owner, repo, connection }) => {
const c = clientFor(connection);
return formatResponse(await c.get(`/repos/${owner}/${repo}/metadata`));
},
);
server.tool(
'gitea_metadata_update',
'Update repo metadata settings (merges with existing — only provided fields are changed)',
{
owner: z.string().describe('Repository owner'),
repo: z.string().describe('Repository name'),
name: z.string().optional().describe('Project name'),
org: z.string().optional().describe('Organization'),
description: z.string().optional().describe('Project description'),
version: z.string().optional().describe('Version string (e.g. 06.00.00)'),
version_prefix: z.string().optional().describe('Tag prefix for version display (e.g. v1.26.1-moko.)'),
license_spdx: z.string().optional().describe('SPDX license identifier'),
license_name: z.string().optional().describe('Human-readable license name (e.g. GNU General Public License v3)'),
element_name: z.string().optional().describe('Extension element name (e.g. pkg_mokosuitecrm, mod_mokojoomhero)'),
platform: z.string().optional().describe('Platform (joomla, wordpress, dolibarr, go, mcp, platform, generic)'),
standards_version: z.string().optional().describe('mokoplatform standards version (e.g. 05.01.00)'),
standards_source: z.string().optional().describe('URL to standards repo'),
maintainer: z.string().optional().describe('Maintainer name (e.g. Moko Consulting)'),
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. 6..*)'),
php_minimum: z.string().optional().describe('Minimum PHP version (e.g. 8.1)'),
language: z.string().optional().describe('Primary language (e.g. PHP, Go, TypeScript)'),
extension_type: z.string().optional().describe('Extension type (component, module, plugin, package, template, library, file)'),
entry_point: z.string().optional().describe('Build entry point path'),
...ConnectionParam,
},
async ({ owner, repo, connection, ...fields }) => {
const c = clientFor(connection);
const current = await c.get(`/repos/${owner}/${repo}/metadata`);
const merged = current.status < 400 ? { ...(current.data as Record<string, unknown>) } : {};
for (const [k, v] of Object.entries(fields)) {
if (v !== undefined) merged[k] = v;
}
return formatResponse(await c.put(`/repos/${owner}/${repo}/metadata`, merged));
},
);
// ── Start Server ──────────────────────────────────────────────────────── // ── Start Server ────────────────────────────────────────────────────────
async function main(): Promise<void> { async function main(): Promise<void> {
+1 -1
View File
@@ -15,5 +15,5 @@
"sourceMap": true "sourceMap": true
}, },
"include": ["src/**/*"], "include": ["src/**/*"],
"exclude": ["node_modules", "dist"] "exclude": ["node_modules", "dist", "src/server.ts", "src/sse.ts"]
} }