From 155d2bf22049c198d36ca6f1fdf7180f9f137e39 Mon Sep 17 00:00:00 2001 From: chippison Date: Mon, 29 Jun 2026 16:43:25 +1200 Subject: [PATCH 1/2] making sure we only pull the plugin's expected screenshots (for premium plugins) --- scripts/bash/prepare.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/bash/prepare.sh b/scripts/bash/prepare.sh index 71cb5d7b..53cdc477 100755 --- a/scripts/bash/prepare.sh +++ b/scripts/bash/prepare.sh @@ -12,9 +12,13 @@ echo -e "${GREEN}Using workspace path $WORKSPACE ${SET}" if [ "$TEST_SUITE" = "UI" ]; then cd $WORKSPACE/matomo - git lfs pull --exclude= if [ "$PLUGIN_NAME" != '' ]; then + # Plugin builds only compare the plugin's own screenshots, so skip Matomo + # core's screenshots (~124MB) and scope the plugin's pull to its UI dir. cd $WORKSPACE/matomo/plugins/$PLUGIN_NAME + git lfs pull --include="tests/UI/expected-screenshots/*" --exclude= + else + # Matomo core build: the calling workflow scopes via `git config lfs.fetchinclude`. git lfs pull --exclude= fi echo -e "${GREEN}setup fonts${SET}" From 643bf71fff14ace40713c9bd0bb40c660c1dca48 Mon Sep 17 00:00:00 2001 From: chippison Date: Mon, 29 Jun 2026 16:47:19 +1200 Subject: [PATCH 2/2] adding in github auth token to composer auth so that we do not get issues with throttling --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 55d76cf0..16f5a9ff 100644 --- a/action.yml +++ b/action.yml @@ -296,6 +296,7 @@ runs: PLUGIN_NAME: ${{ inputs.plugin-name }} WORKSPACE: ${{ github.workspace }} ACTION_PATH: ${{ github.action_path }} + COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ github.token }}"}}' - name: checkout additional plugins if: inputs.dependent-plugins != ''