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