-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: testing the if condintion, job shouldn't run v2
- Loading branch information
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,16 @@ name: Release Workflow | |
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
|
||
jobs: | ||
commit-the-cartridge: | ||
if: ${{ (github.actor != 'renovate[bot]' || github.actor != 'lgtm-com[bot]')}} | ||
if: | | ||
github.event_name == 'pull_request' && | ||
contains(github.head_ref, 'release') | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
@@ -46,7 +51,7 @@ jobs: | |
cp -R cartridges/* $GITHUB_WORKSPACE/cartridges | ||
shell: bash | ||
- name: Commit /cartridges folder | ||
if: success() && '[[ "${{ github.ref }}" == "refs/heads/release/"* ]]' | ||
if: success() | ||
run: | | ||
cd adyen-salesforce-commerce-cloud | ||
git config --local user.email "[email protected]" | ||
|
@@ -56,7 +61,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/release/"* ]]' | ||
if: success() | ||
run: | | ||
cd adyen-salesforce-commerce-cloud/cartridges | ||
for name in "int_adyen_overlay" "int_adyen_SFRA" "bm_adyen"; do | ||
|