Skip to content

Commit

Permalink
fix: testing the if condintion, job shouldn't run
Browse files Browse the repository at this point in the history
  • Loading branch information
zenit2001 committed Dec 14, 2023
1 parent d3b2bb5 commit 6e3e123
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cartridges-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
Expand All @@ -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
Expand Down

0 comments on commit 6e3e123

Please sign in to comment.