From 327ffc70322c9ace5ad9254ee8348c786ff65205 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Wed, 22 Apr 2026 04:13:52 -0500 Subject: [PATCH] feat: release workflows run on dedicated 'release' runner Updated auto-release and update-server templates + docs. Co-Authored-By: Claude Opus 4.6 (1M context) --- templates/workflows/README.md | 4 ++-- templates/workflows/joomla/auto-release.yml.template | 2 +- templates/workflows/joomla/update-server.yml.template | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/workflows/README.md b/templates/workflows/README.md index 79267b0..5323538 100644 --- a/templates/workflows/README.md +++ b/templates/workflows/README.md @@ -139,8 +139,8 @@ The workflows are organized by platform and purpose: Workflow templates specifically designed for Joomla extensions (components, modules, plugins, libraries, packages, templates): -- **auto-release.yml.template** - Build & release pipeline for stable releases (triggers on merge to main). Reads version from README.md, sets platform version, builds ZIP+tar.gz packages, creates/updates Gitea releases, updates only the **stable** channel in updates.xml, and mirrors to GitHub. All patches release (including patch 00). -- **update-server.yml.template** - Multi-channel Joomla update server (triggers on dev/alpha/beta/rc branch merges). Builds packages, uploads to per-channel Gitea releases, updates only the **matching stability channel** in updates.xml via targeted Python regex replacement. Supports SFTP deploy to dev server. +- **auto-release.yml.template** - Build & release pipeline for stable releases (triggers on merge to main). Runs on the dedicated `release` runner. Reads version from README.md, installs PHP+Composer if missing, builds ZIP+tar.gz packages, bundles payload (e.g. MokoOnyx template), creates/updates Gitea releases on the `stable` tag, cascading updates to all channels in updates.xml, syncs to main via PR, and mirrors to GitHub. All patches release (including patch 00). +- **update-server.yml.template** - Multi-channel Joomla update server (triggers on dev/alpha/beta/rc branch merges). Runs on the dedicated `release` runner. Builds packages, uploads to per-channel Gitea releases, cascading updates to lower stability channels in updates.xml. Supports SFTP deploy to dev server. - **ci-joomla.yml.template** - Continuous integration workflow with PHP validation, XML checking, and manifest verification - **deploy-manual.yml.template** - Manual deployment workflow for Joomla extensions with release triggering - **repo_health.yml.template** - Repository health monitoring including documentation checks and standards validation diff --git a/templates/workflows/joomla/auto-release.yml.template b/templates/workflows/joomla/auto-release.yml.template index f51d7bc..832a45b 100644 --- a/templates/workflows/joomla/auto-release.yml.template +++ b/templates/workflows/joomla/auto-release.yml.template @@ -58,7 +58,7 @@ permissions: jobs: release: name: Build & Release Pipeline - runs-on: ubuntu-latest + runs-on: release if: >- github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' diff --git a/templates/workflows/joomla/update-server.yml.template b/templates/workflows/joomla/update-server.yml.template index b25f9c7..86a156a 100644 --- a/templates/workflows/joomla/update-server.yml.template +++ b/templates/workflows/joomla/update-server.yml.template @@ -56,7 +56,7 @@ permissions: jobs: update-xml: name: Update updates.xml - runs-on: ubuntu-latest + runs-on: release if: >- github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'