From 6e3e12315aa13f8b0bae331bf096e9daf7cb0aa8 Mon Sep 17 00:00:00 2001 From: Zenit Shkreli <69572953+zenit2001@users.noreply.github.com> Date: Thu, 14 Dec 2023 15:39:39 +0100 Subject: [PATCH] fix: testing the if condintion, job shouldn't run --- .github/workflows/cartridges-commit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cartridges-commit.yml b/.github/workflows/cartridges-commit.yml index b0151565d..ef1b64925 100644 --- a/.github/workflows/cartridges-commit.yml +++ b/.github/workflows/cartridges-commit.yml @@ -46,7 +46,7 @@ jobs: cp -R cartridges/* $GITHUB_WORKSPACE/cartridges shell: bash - name: Commit /cartridges folder - if: success() && '[[ "${{ github.ref }}" == "refs/heads/feature/"* ]]' + if: success() && '[[ "${{ github.ref }}" == "refs/heads/release/"* ]]' run: | cd adyen-salesforce-commerce-cloud git config --local user.email "actions@github.com" @@ -56,7 +56,7 @@ jobs: git fetch origin git push origin HEAD:${{ github.head_ref }} --force-with-lease - name: Commit .project files - if: success() && '[[ "${{ github.ref }}" == "refs/heads/feature/"* ]]' + if: success() && '[[ "${{ github.ref }}" == "refs/heads/release/"* ]]' run: | cd adyen-salesforce-commerce-cloud/cartridges for name in "int_adyen_overlay" "int_adyen_SFRA" "bm_adyen"; do