chore: Sync MokoStandards workflows and configurations #75
Merged
jmiller-moko
merged 1 commits from 2026-01-30 04:45:28 +00:00
chore/sync-mokostandards-updates into main
No Reviewers
Labels
Clear labels
automation
breaking-change
bug
build
ci-cd
config
css
dependencies
deploy-failure
docker
documentation
dolibarr
duplicate
enhancement
generic
good first issue
health-check
health: excellent
health: fair
health: good
health: poor
help wanted
html
invalid
javascript
joomla
major-release
minor-release
mokostandards
needs-changelog
needs-review
needs-testing
patch-release
php
priority: critical
priority: high
priority: low
priority: medium
push-failure
python
question
regression
release
release-candidate
security
size/l
size/m
size/s
size/xl
size/xs
size/xxl
standards-drift
standards-update
standards-violation
status: blocked
status: in-progress
status: on-hold
status: pending
status: wontfix
sync-failure
sync-report
template-validation-failure
test-failure
tests
type: bug
type: chore
type: enhancement
type: feature
type: refactor
type: release
type: test
type: version
typescript
version
version-branch
version-drift
version-update
wontfix
work-in-progress
bug
chore
documentation
enhancement
feature
priority: critical
priority: high
priority: low
priority: medium
refactor
scope: client
scope: dolibarr
scope: infrastructure
scope: joomla
scope: waas
security
status: blocked
status: duplicate
status: in-progress
status: needs-review
status: wontfix
Automated processes or scripts
Breaking API or functionality change
Something isn't working
Build system changes
CI/CD pipeline changes
Configuration file changes
CSS/styling changes
Dependency updates
Automated deploy failure tracking
Docker configuration changes
Documentation changes
Dolibarr module or extension
This issue or pull request already exists
New feature or request
Generic project or library
Good for newcomers
Repository health check results
Health score 90-100
Health score 50-69
Health score 70-89
Health score below 50
Extra attention is needed
HTML template changes
This doesn't seem right
JavaScript code changes
Joomla extension or component
Major version release (breaking changes)
Minor version release (XX.YY.00)
MokoStandards compliance
Awaiting code review
Requires manual or automated testing
Patch version release (XX.YY.ZZ)
PHP code changes
Critical priority, must be addressed immediately
High priority
Low priority
Medium priority
File push failure requiring attention
Python code changes
Further information is requested
Regression from a previous working state
Release related PR
Release candidate build
Security-related changes
Large change (101-300 lines)
Medium change (31-100 lines)
Small change (11-30 lines)
Extra large change (301-1000 lines)
Extra small change (1-10 lines)
Extremely large change (1000+ lines)
Repository drifted from MokoStandards
MokoStandards sync update
Standards compliance failure
Blocked by another issue or dependency
Currently being worked on
Temporarily on hold
Pending action or decision
This will not be worked on
Bulk sync failure requiring attention
Bulk sync run report
Template workflow validation failure
Automated test failure
Test suite changes
Something isn't working
Maintenance tasks
Enhancement to existing feature
New feature or request
Code refactoring
Release preparation or tracking
Test suite additions or changes
Version-related change
TypeScript code changes
Version bump or release
Version branch related
Version mismatch detected
Version bump and release PR
This will not be worked on
Work in progress, not ready for merge
Something is not working
Maintenance and housekeeping
Documentation improvements
Improvement to existing functionality
New feature or request
Must fix immediately
Should fix soon
Nice to have
Fix when convenient
Code restructuring without behavior change
Client-specific work
Dolibarr modules and customizations
Server, CI, backups, monitoring
Joomla templates and extensions
MokoWaaS platform
Security vulnerability or hardening
Waiting on external dependency
Duplicate of another issue
Being worked on
Ready for review
Will not be addressed
No Label
Milestone
No items
No Milestone
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MokoConsulting/MokoCassiopeia#75
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "chore/sync-mokostandards-updates"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR syncs workflows, scripts, and configurations from the MokoStandards repository.
Updated files:
Files are synced based on detected platform type (terraform/generic/dolibarr/joomla).
Please review and merge if appropriate for this repository.
Pull request overview
Syncs this repository’s CI/CD workflows, scripts, and configuration files with the MokoStandards baseline.
Changes:
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 16 comments.
Show a summary per file
Comments suppressed due to low confidence (1)
scripts/validate/auto_detect_platform.py:235
manifest_patternsis defined but never used. Either remove it, or iterate overmanifest_patternsinstead of hardcodingself.repo_path.glob("**/*.xml")so the patterns list actually controls the scan.💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This change downgrades the release action from
softprops/action-gh-release@v2to@v1. Unless there is a specific compatibility reason, prefer keeping the current major (v2) to avoid losing fixes/behavior from newer releases.This step no longer checks that
secrets.DEPLOY_KEYis set before writing it to~/.ssh/deploy_key. When the secret is missing/empty, this will create an invalid key file and later SSH/rsync will fail with a less actionable error. Please restore a fail-fast check whendeployment-methodis ssh/rsync.The SSH key cleanup step was removed. On self-hosted runners (or any runner reuse scenario), leaving
~/.ssh/deploy_keybehind is a credential-handling risk. Please re-add a cleanup step guarded withif: always()to delete the key (and ideallyknown_hosts) after deployment.These file requirements were switched to
<required>true|false</required>, but the validator (validate_structure_v2.py) only consumes<requirement-status>and defaults missing values torequired. Optional items (e.g., ROADMAP) will therefore be treated as required. Please revert to<requirement-status>or update the validator + schemas together.@@ -28,3 +27,4 @@<required>true</required><audience>general</audience><template>templates/licenses/GPL-3.0</template><license-type>GPL-3.0-or-later</license-type>This schema uses
<required>true|false</required>for files/directories, butscripts/validate/validate_structure_v2.pycurrently reads<requirement-status>and defaults missing values torequired. That means entries like ROADMAP (<required>false</required>) will still be treated as required. Please revert to<requirement-status>here, or update the validator + all schemas together.@@ -27,12 +27,13 @@ NOTE: Updates CHANGELOG.md and optionally updates VERSION in files"""import argparseimport jsonjsonis imported but not used in this script. Please remove it (or use it) to avoid unused-import lint issues.@@ -34,3 +35,3 @@from pathlib import Pathfrom typing import List, Optionalfrom typing import List, Optional, TupleTupleis imported fromtypingbut not used in this script. Please remove it to avoid unused-import lint issues.@@ -30,2 +30,4 @@import osimport reimport sysfrom datetime import datetimeosanddatetimeare imported but unused. Please remove them to keep the script minimal and avoid unused-import lint errors.@@ -28,6 +28,7 @@ VERSION: 05.00.00BRIEF: Validate copyright headers and file information in repository files"""import ososis imported but not used anywhere in this script. Please remove it to avoid unused-import lint issues.@@ -31,13 +31,14 @@ Exit codes:import argparseimport hashlibimport jsonimport ososis imported but not used in this script. Please remove it to avoid unused-import lint issues.@@ -40,3 +41,3 @@from typing import Dict, List, Optionalfrom typing import Dict, List, Optional, TupleasdictandTupleare imported but not used. Please remove them (or update the implementation to use them) to keep the module lint-clean.'except' clause does nothing but pass and there is no explanatory comment.
'except' clause does nothing but pass and there is no explanatory comment.
@@ -27,11 +27,12 @@ Exit codes:"""import sysimport ososis imported but not used anywhere in this file. Please remove it to avoid unused-import lint issues.@@ -33,3 +34,3 @@from pathlib import Pathfrom typing import List, Dict, Optional, Anyfrom typing import List, Dict, Tuple, Optional, Anyfrom dataclasses import dataclassTupleis imported fromtypingbut not used in this module. Please remove it to keep the imports clean.'except' clause does nothing but pass and there is no explanatory comment.