Public Access
docs: update all references to MokoConsulting org and Gitea URLs
- mokoconsulting-tech → MokoConsulting across all docs - github.com → git.mokoconsulting.tech - CLI examples updated with new org name Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# GitHub Workflow Templates Documentation
|
||||
|
||||
@@ -572,7 +572,7 @@ For issues with templates:
|
||||
|---|---|
|
||||
| Document | Workflow Templates Documentation |
|
||||
| Path | /docs/workflows/README.md |
|
||||
| Repository | https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards |
|
||||
| Repository | https://git.mokoconsulting.tech/MokoConsulting/MokoStandards |
|
||||
| Owner | Moko Consulting |
|
||||
| Status | Active |
|
||||
| Version | 04.00.04 |
|
||||
|
||||
@@ -8,13 +8,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/auto-release.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: Guide for the auto-release workflow — creates GitHub Releases on merge to main
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Auto Release
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/build-release.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: Build & Release pipeline — unified workflow for version branches, tags, and GitHub Releases
|
||||
|
||||
@@ -21,13 +21,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Workflow
|
||||
INGROUP: MokoStandards.Documentation
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/bulk-repo-sync.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: Comprehensive documentation for the bulk repository sync workflow
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||

|
||||

|
||||
|
||||
@@ -757,7 +757,7 @@ For questions or issues:
|
||||
1. **Documentation**: Review this guide and related documentation
|
||||
2. **Dry Run**: Test with dry-run mode to diagnose issues
|
||||
3. **Logs**: Check workflow logs for detailed error messages
|
||||
4. **Issues**: Open issue in [MokoStandards](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards/issues)
|
||||
4. **Issues**: Open issue in [MokoStandards](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards/issues)
|
||||
|
||||
### Contributing
|
||||
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards.Workflows
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API/
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API/
|
||||
VERSION: 04.06.00
|
||||
PATH: /docs/workflows/changelog-management.md
|
||||
BRIEF: Documentation for changelog management workflows and scripts
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Changelog Management System
|
||||
|
||||
|
||||
@@ -8,13 +8,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/demo-deployment.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: Guide for the SFTP demo server deployment workflow
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Demo Server Deployment
|
||||
|
||||
|
||||
@@ -6,13 +6,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards.Workflows
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/dev-branch-tracking.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: Dev branch tracking and issue coordination system documentation
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Dev Branch Tracking and Issue Coordination
|
||||
|
||||
|
||||
@@ -8,13 +8,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/dev-deployment.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: Guide for the SFTP development server deployment workflow
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Development Server Deployment
|
||||
|
||||
@@ -264,7 +264,7 @@ Expected behaviour for repos without a `src/` directory. No files are uploaded;
|
||||
| Applies To | All Repositories |
|
||||
| Jurisdiction | Tennessee, USA |
|
||||
| Owner | Moko Consulting |
|
||||
| Repo | https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards |
|
||||
| Repo | https://git.mokoconsulting.tech/MokoConsulting/MokoStandards |
|
||||
| Path | /docs/workflows/dev-deployment.md |
|
||||
| Version | 04.06.00 |
|
||||
| Status | Active |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Docs Index: /docs/workflows
|
||||
|
||||
|
||||
@@ -6,13 +6,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards.Workflows
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/release-system.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: Documentation for the unified release system
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Release System
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Reserve Dolibarr Module ID Workflow
|
||||
|
||||
@@ -30,7 +30,7 @@ The `reserve-dolibarr-module-id.yml` workflow automates the reservation of Dolib
|
||||
**File**: `.github/workflows/reserve-dolibarr-module-id.yml`
|
||||
**Trigger**: Manual (workflow_dispatch)
|
||||
**Permissions**: `contents: write`, `pull-requests: write`
|
||||
**Repository**: [https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
**Repository**: [https://git.mokoconsulting.tech/MokoConsulting/MokoStandards](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
## Architecture
|
||||
|
||||
@@ -246,7 +246,7 @@ Reserved: 2026-02-19 16:30:00 UTC
|
||||
DO NOT CHANGE THIS ID!
|
||||
|
||||
This ID is registered in the MokoStandards module registry:
|
||||
https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards/blob/main/docs/development/crm/module-registry.md
|
||||
https://git.mokoconsulting.tech/MokoConsulting/MokoStandards/blob/main/docs/development/crm/module-registry.md
|
||||
```
|
||||
|
||||
If `push_to_remote` is disabled (default), you can manually create this file and update the module descriptor later.
|
||||
@@ -280,7 +280,7 @@ The workflow generates a summary with:
|
||||
**Module Name:** MokoDoliExample
|
||||
**Reserved ID:** 185064
|
||||
**Repository:** https://git.mokoconsulting.tech/mokoconsulting-tech/MokoDoliExample
|
||||
**Pull Request:** https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards/pull/123
|
||||
**Pull Request:** https://git.mokoconsulting.tech/MokoConsulting/MokoStandards/pull/123
|
||||
|
||||
### Next Steps
|
||||
1. The GitHub Actions workflow has created the pull request above automatically
|
||||
@@ -679,7 +679,7 @@ For issues or questions about this workflow:
|
||||
| Applies To | MokoStandards Repository |
|
||||
| Jurisdiction | Tennessee, USA |
|
||||
| Owner | Moko Consulting |
|
||||
| Repo | https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards |
|
||||
| Repo | https://git.mokoconsulting.tech/MokoConsulting/MokoStandards |
|
||||
| Path | /docs/workflows/reserve-dolibarr-module-id.md |
|
||||
| Version | 04.00.04 |
|
||||
| Status | Active |
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards.Workflows
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API/
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API/
|
||||
VERSION: 04.06.00
|
||||
PATH: /docs/workflows/reusable-workflows.md
|
||||
BRIEF: Documentation for reusable GitHub Actions workflows
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Reusable Workflows
|
||||
|
||||
@@ -26,14 +26,14 @@ MokoStandards provides seven reusable GitHub Actions workflows that enable consi
|
||||
# Basic quality check
|
||||
jobs:
|
||||
quality:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
|
||||
# Type-aware build and release
|
||||
build:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-build.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-build.yml@main
|
||||
|
||||
release:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-release.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-release.yml@main
|
||||
with:
|
||||
version: '1.0.0'
|
||||
```
|
||||
@@ -68,7 +68,7 @@ Runs comprehensive PHP code quality checks using PHPCS, PHPStan, and Psalm with
|
||||
```yaml
|
||||
jobs:
|
||||
quality:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
with:
|
||||
php-versions: '["8.1", "8.2"]'
|
||||
tools: '["phpcs", "phpstan", "psalm"]'
|
||||
@@ -93,7 +93,7 @@ Matrix testing for Joomla extensions across PHP and Joomla versions with PHPUnit
|
||||
```yaml
|
||||
jobs:
|
||||
test:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-joomla-testing.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-joomla-testing.yml@main
|
||||
with:
|
||||
php-versions: '["8.1", "8.2"]'
|
||||
joomla-versions: '["4.4", "5.0", "5.1"]'
|
||||
@@ -118,7 +118,7 @@ Repository standards validation with configurable profiles (basic, full, strict)
|
||||
```yaml
|
||||
jobs:
|
||||
validate:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
with:
|
||||
profile: 'full'
|
||||
validate-security: true
|
||||
@@ -149,7 +149,7 @@ Automatically cleans up stale and merged branches with configurable exclusion pa
|
||||
```yaml
|
||||
jobs:
|
||||
cleanup:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-branch-cleanup.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-branch-cleanup.yml@main
|
||||
with:
|
||||
stale-days: 90
|
||||
delete-merged: true
|
||||
@@ -178,7 +178,7 @@ jobs:
|
||||
```yaml
|
||||
jobs:
|
||||
cleanup:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-branch-cleanup.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-branch-cleanup.yml@main
|
||||
with:
|
||||
stale-days: 60
|
||||
delete-merged: true
|
||||
@@ -200,7 +200,7 @@ Automatically detects project type and provides outputs for downstream workflows
|
||||
```yaml
|
||||
jobs:
|
||||
detect:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-project-detector.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-project-detector.yml@main
|
||||
```
|
||||
|
||||
**Outputs:**
|
||||
@@ -217,7 +217,7 @@ Universal build workflow that adapts to project type with automatic dependency m
|
||||
```yaml
|
||||
jobs:
|
||||
build:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-build.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-build.yml@main
|
||||
with:
|
||||
php-version: '8.1'
|
||||
node-version: '20.x'
|
||||
@@ -243,7 +243,7 @@ Creates releases with type-specific packaging and marketplace support.
|
||||
```yaml
|
||||
jobs:
|
||||
release:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-release.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-release.yml@main
|
||||
with:
|
||||
version: '1.0.0'
|
||||
prerelease: false
|
||||
@@ -272,7 +272,7 @@ Multi-environment deployment with type-specific logic and health checks.
|
||||
```yaml
|
||||
jobs:
|
||||
deploy:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
with:
|
||||
environment: staging
|
||||
deployment-method: rsync
|
||||
@@ -326,11 +326,11 @@ permissions:
|
||||
jobs:
|
||||
# Auto-detect project type
|
||||
detect:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-project-detector.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-project-detector.yml@main
|
||||
|
||||
# Validate code
|
||||
validate:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
with:
|
||||
profile: 'full'
|
||||
|
||||
@@ -338,7 +338,7 @@ jobs:
|
||||
quality:
|
||||
needs: detect
|
||||
if: needs.detect.outputs.has-php == 'true'
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
with:
|
||||
php-versions: '["8.1", "8.2"]'
|
||||
|
||||
@@ -346,7 +346,7 @@ jobs:
|
||||
test:
|
||||
needs: [detect, quality]
|
||||
if: needs.detect.outputs.project-type == 'joomla'
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-joomla-testing.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-joomla-testing.yml@main
|
||||
with:
|
||||
php-versions: '["8.1", "8.2"]'
|
||||
coverage: true
|
||||
@@ -356,13 +356,13 @@ jobs:
|
||||
# Build (works for all types)
|
||||
build:
|
||||
needs: [detect, validate]
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-build.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-build.yml@main
|
||||
|
||||
# Deploy to staging
|
||||
deploy-staging:
|
||||
needs: build
|
||||
if: github.ref == 'refs/heads/staging'
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
with:
|
||||
environment: staging
|
||||
deployment-method: rsync
|
||||
@@ -372,7 +372,7 @@ jobs:
|
||||
release:
|
||||
needs: [detect, build]
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-release.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-release.yml@main
|
||||
with:
|
||||
version: ${{ github.ref_name }}
|
||||
|
||||
@@ -380,7 +380,7 @@ jobs:
|
||||
deploy-production:
|
||||
needs: release
|
||||
if: github.event_name == 'release'
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
with:
|
||||
environment: production
|
||||
version: ${{ github.event.release.tag_name }}
|
||||
@@ -398,19 +398,19 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
with:
|
||||
profile: 'full'
|
||||
|
||||
quality:
|
||||
needs: validate
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
with:
|
||||
php-versions: '["8.1", "8.2"]'
|
||||
|
||||
test:
|
||||
needs: quality
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-joomla-testing.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-joomla-testing.yml@main
|
||||
with:
|
||||
coverage: true
|
||||
secrets:
|
||||
@@ -425,17 +425,17 @@ jobs:
|
||||
|
||||
**Recommended:** Pin to main branch for automatic updates
|
||||
```yaml
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
```
|
||||
|
||||
**Stable:** Pin to specific tag
|
||||
```yaml
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-php-quality.yml@v1.0.0
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-php-quality.yml@v1.0.0
|
||||
```
|
||||
|
||||
**Maximum Stability:** Pin to commit SHA
|
||||
```yaml
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-php-quality.yml@abc1234
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-php-quality.yml@abc1234
|
||||
```
|
||||
|
||||
### Secret Management
|
||||
@@ -461,14 +461,14 @@ jobs:
|
||||
# Dev branches: basic validation
|
||||
validate-dev:
|
||||
if: startsWith(github.ref, 'refs/heads/dev/')
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
with:
|
||||
profile: 'basic'
|
||||
|
||||
# Main branch: strict validation
|
||||
validate-main:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
with:
|
||||
profile: 'strict'
|
||||
fail-on-warnings: true
|
||||
@@ -479,7 +479,7 @@ jobs:
|
||||
## Troubleshooting
|
||||
|
||||
### Workflow Not Found
|
||||
**Error:** `Unable to resolve action mokoconsulting-tech/MokoStandards/.github/workflows/...`
|
||||
**Error:** `Unable to resolve action MokoConsulting/MokoStandards/.github/workflows/...`
|
||||
|
||||
**Solution:** Ensure calling repository has access to MokoStandards. For private repositories, configure proper access permissions.
|
||||
|
||||
@@ -536,7 +536,7 @@ jobs:
|
||||
# After: Reusable workflow
|
||||
jobs:
|
||||
quality:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
with:
|
||||
phpcs-standard: 'PSR12'
|
||||
tools: '["phpcs"]'
|
||||
|
||||
@@ -8,13 +8,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/rs-deployment.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: Guide for the SFTP release staging server deployment workflow
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Release Staging (RS) Server Deployment
|
||||
|
||||
|
||||
@@ -8,13 +8,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/shared-workflows.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: Reference for shared workflow templates synced to all governed repos
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Shared Workflow Templates
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Standards Compliance Workflow
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ Use sub-issues when:
|
||||
|
||||
### Method 1: Using the Issue Template (Manual)
|
||||
|
||||
1. Go to the [New Issue page](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards/issues/new/choose)
|
||||
1. Go to the [New Issue page](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards/issues/new/choose)
|
||||
2. Select the "Sub-Task" template
|
||||
3. Fill in the required fields:
|
||||
- **Parent Issue**: The issue number this sub-task belongs to (e.g., #193)
|
||||
|
||||
@@ -6,7 +6,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards.Workflows
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/update-server.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: How update files (update.txt and updates.xml) are generated per platform
|
||||
|
||||
@@ -21,13 +21,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards.Workflows
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/workflow-architecture.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: Workflow architecture, hierarchy, and design patterns
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# Workflow Architecture
|
||||
|
||||
@@ -103,7 +103,7 @@ Moko Consulting uses a three-tier architecture for GitHub Actions workflows:
|
||||
|
||||
### Tier 2: Public Reusable Workflows
|
||||
|
||||
**Location**: `mokoconsulting-tech/MokoStandards/.github/workflows/`
|
||||
**Location**: `MokoConsulting/MokoStandards/.github/workflows/`
|
||||
|
||||
**Characteristics**:
|
||||
- Public and community-accessible
|
||||
@@ -160,17 +160,17 @@ Automatically detect project type and execute appropriate build/test strategy.
|
||||
```yaml
|
||||
jobs:
|
||||
detect:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-project-detector.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-project-detector.yml@main
|
||||
|
||||
build-joomla:
|
||||
needs: detect
|
||||
if: needs.detect.outputs.project-type == 'joomla'
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-joomla-testing.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-joomla-testing.yml@main
|
||||
|
||||
build-generic:
|
||||
needs: detect
|
||||
if: needs.detect.outputs.project-type == 'generic'
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-build.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-build.yml@main
|
||||
```
|
||||
|
||||
**Benefits**:
|
||||
@@ -186,18 +186,18 @@ Build complex workflows by composing simple reusable workflows.
|
||||
jobs:
|
||||
# Step 1: Validate code
|
||||
validate:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-ci-validation.yml@main
|
||||
|
||||
# Step 2: Build if validation passes
|
||||
build:
|
||||
needs: validate
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-build.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-build.yml@main
|
||||
|
||||
# Step 3: Deploy if build passes
|
||||
deploy:
|
||||
needs: build
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
secrets: inherit
|
||||
```
|
||||
|
||||
@@ -218,7 +218,7 @@ jobs:
|
||||
matrix:
|
||||
php-version: ['7.4', '8.0', '8.1', '8.2']
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-php-quality.yml@main
|
||||
with:
|
||||
php-version: ${{ matrix.php-version }}
|
||||
```
|
||||
@@ -236,13 +236,13 @@ Deploy to different environments based on branch or tag.
|
||||
jobs:
|
||||
deploy-staging:
|
||||
if: github.ref == 'refs/heads/dev'
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
with:
|
||||
environment: staging
|
||||
|
||||
deploy-production:
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
with:
|
||||
environment: production
|
||||
```
|
||||
@@ -275,7 +275,7 @@ on:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
uses: mokoconsulting-tech/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
uses: MokoConsulting/MokoStandards/.github/workflows/reusable-deploy.yml@main
|
||||
with:
|
||||
environment: ${{ inputs.environment }}
|
||||
dry-run: ${{ inputs.dry-run }}
|
||||
@@ -546,7 +546,7 @@ jobs:
|
||||
## Metadata
|
||||
|
||||
* **Document**: .github/WORKFLOW_ARCHITECTURE.md
|
||||
* **Repository**: [MokoStandards](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
* **Repository**: [MokoStandards](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
* **Owner**: Moko Consulting Engineering Team
|
||||
* **Scope**: Workflow architecture and design patterns
|
||||
* **Lifecycle**: Active
|
||||
|
||||
@@ -6,13 +6,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Documentation
|
||||
INGROUP: MokoStandards.Workflows
|
||||
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/MokoStandards-API
|
||||
PATH: /docs/workflows/workflow-inventory.md
|
||||
VERSION: 04.06.00
|
||||
BRIEF: Complete inventory of GitHub Actions workflows for migration planning
|
||||
-->
|
||||
|
||||
[](https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards)
|
||||
[](https://git.mokoconsulting.tech/MokoConsulting/MokoStandards)
|
||||
|
||||
# GitHub Actions Workflow Inventory
|
||||
|
||||
|
||||
Reference in New Issue
Block a user