diff --git a/.mokogitea/workflows/pr-metadata-check.yml b/.mokogitea/workflows/pr-metadata-check.yml index b4c9cbd..5e2be9d 100644 --- a/.mokogitea/workflows/pr-metadata-check.yml +++ b/.mokogitea/workflows/pr-metadata-check.yml @@ -28,6 +28,8 @@ jobs: validate-metadata: name: "Validate Joomla Metadata" runs-on: ubuntu-latest + # Skip on template repos (Template-*) — they have no real extension manifest to validate. + if: ${{ !startsWith(github.event.repository.name, 'Template-') }} steps: - name: Checkout diff --git a/samples/script/script_component.php b/samples/script/script_component.php index d76930f..8a006d4 100644 --- a/samples/script/script_component.php +++ b/samples/script/script_component.php @@ -22,7 +22,7 @@ use Joomla\CMS\Log\Log; defined('_JEXEC') || die; -class {REPONAME}InstallerScript +class ComponentInstallerScript { /** * @var string The saved download key cached during preflight to survive updates diff --git a/samples/script/script_module.php b/samples/script/script_module.php index 19ccc0f..f9ace32 100644 --- a/samples/script/script_module.php +++ b/samples/script/script_module.php @@ -22,7 +22,7 @@ use Joomla\CMS\Log\Log; defined('_JEXEC') || die; -class {REPONAME}InstallerScript +class ModuleInstallerScript { /** * @var string The saved download key cached during preflight to survive updates diff --git a/samples/script/script_package.php b/samples/script/script_package.php index e1ea8e2..12afa1a 100644 --- a/samples/script/script_package.php +++ b/samples/script/script_package.php @@ -22,7 +22,7 @@ use Joomla\CMS\Log\Log; defined('_JEXEC') || die; -class {REPONAME}InstallerScript +class PackageInstallerScript { /** * @var string The saved download key cached during preflight to survive updates diff --git a/samples/script/script_plugin.php b/samples/script/script_plugin.php index e498a1f..a9c4ef5 100644 --- a/samples/script/script_plugin.php +++ b/samples/script/script_plugin.php @@ -22,7 +22,7 @@ use Joomla\CMS\Log\Log; defined('_JEXEC') || die; -class {REPONAME}InstallerScript +class PluginInstallerScript { /** * @var string The saved download key cached during preflight to survive updates