From dbd7ec8ae63b54df9f1b0c4512d99a0cc6f8b259 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Tue, 21 Apr 2026 21:03:21 -0500 Subject: [PATCH] fix: hardcode MokoStandards-API branch to main (remove {{standards_branch}} placeholder) Co-Authored-By: Claude Opus 4.6 (1M context) --- templates/workflows/joomla/auto-release.yml.template | 2 +- templates/workflows/joomla/ci-joomla.yml.template | 2 +- templates/workflows/joomla/deploy-manual.yml.template | 2 +- templates/workflows/joomla/update-server.yml.template | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/workflows/joomla/auto-release.yml.template b/templates/workflows/joomla/auto-release.yml.template index 94799c3..ca9aaf6 100644 --- a/templates/workflows/joomla/auto-release.yml.template +++ b/templates/workflows/joomla/auto-release.yml.template @@ -75,7 +75,7 @@ jobs: MOKO_CLONE_HOST: git.mokoconsulting.tech/MokoConsulting COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GH_MIRROR_TOKEN }}"}}' run: | - git clone --depth 1 --branch {{standards_branch}} --quiet \ + git clone --depth 1 --branch main --quiet \ "https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/MokoStandards-API.git" \ /tmp/mokostandards-api cd /tmp/mokostandards-api diff --git a/templates/workflows/joomla/ci-joomla.yml.template b/templates/workflows/joomla/ci-joomla.yml.template index f065415..df4104a 100644 --- a/templates/workflows/joomla/ci-joomla.yml.template +++ b/templates/workflows/joomla/ci-joomla.yml.template @@ -48,7 +48,7 @@ jobs: MOKO_CLONE_TOKEN: ${{ secrets.GA_TOKEN || secrets.GA_TOKEN || github.token }} MOKO_CLONE_HOST: ${{ secrets.GA_TOKEN && 'git.mokoconsulting.tech/MokoConsulting' || 'github.com/mokoconsulting-tech' }} run: | - git clone --depth 1 --branch {{standards_branch}} --quiet \ + git clone --depth 1 --branch main --quiet \ "https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/MokoStandards-API.git" \ /tmp/mokostandards-api diff --git a/templates/workflows/joomla/deploy-manual.yml.template b/templates/workflows/joomla/deploy-manual.yml.template index 3e7a22e..80a2289 100644 --- a/templates/workflows/joomla/deploy-manual.yml.template +++ b/templates/workflows/joomla/deploy-manual.yml.template @@ -49,7 +49,7 @@ jobs: MOKO_CLONE_HOST: ${{ secrets.GA_TOKEN && 'git.mokoconsulting.tech/MokoConsulting' || 'github.com/mokoconsulting-tech' }} COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GA_TOKEN || github.token }}"}}' run: | - git clone --depth 1 --branch {{standards_branch}} --quiet \ + git clone --depth 1 --branch main --quiet \ "https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/MokoStandards-API.git" \ /tmp/mokostandards-api 2>/dev/null || true if [ -d "/tmp/mokostandards-api" ] && [ -f "/tmp/mokostandards-api/composer.json" ]; then diff --git a/templates/workflows/joomla/update-server.yml.template b/templates/workflows/joomla/update-server.yml.template index 6dca78e..1afd7f3 100644 --- a/templates/workflows/joomla/update-server.yml.template +++ b/templates/workflows/joomla/update-server.yml.template @@ -73,7 +73,7 @@ jobs: MOKO_CLONE_HOST: git.mokoconsulting.tech/MokoConsulting COMPOSER_AUTH: '{"github-oauth":{"github.com":"${{ secrets.GH_MIRROR_TOKEN }}"}}' run: | - git clone --depth 1 --branch {{standards_branch}} --quiet \ + git clone --depth 1 --branch main --quiet \ "https://x-access-token:${MOKO_CLONE_TOKEN}@${MOKO_CLONE_HOST}/MokoStandards-API.git" \ /tmp/mokostandards-api 2>/dev/null || true if [ -d "/tmp/mokostandards-api" ] && [ -f "/tmp/mokostandards-api/composer.json" ]; then