From 679491d782c0d2c6dbae34c7f52ac3fa5da1461c Mon Sep 17 00:00:00 2001 From: Denis Smet Date: Wed, 29 May 2024 14:52:42 +0400 Subject: [PATCH] Prevent composer package tests on master branch (#198) Exclude running the "Test as composer package" step on the master branch to streamline CI/CD workflows and reduce redundant checks. This change ensures that these tests only run on feature branches, optimizing build times and resource usage. --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 20cf1e04..1fe6fcd8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -179,6 +179,7 @@ jobs: ! $BLUEPRINT $CMD_VALIDATE $INVALID_TEST - name: Test as composer package + if: github.ref != 'refs/heads/master' run: | mkdir -pv ./build/composer-test cd ./build/composer-test