Skip to content

Commit 2be6dd5

Browse files
all from initial metadata.
1 parent f9e0186 commit 2be6dd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cicd-1-pull-request.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
name: Trigger dynamic environment creation
141141
needs: [metadata, build-stage]
142142
runs-on: ubuntu-latest
143-
if: !needs.metadata.outputs.skip_dynamic_acceptance && (needs.metadata.outputs.does_pull_request_exist == 'true' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened')))
143+
if: ${{ !needs.metadata.outputs.skip_dynamic_acceptance && (needs.metadata.outputs.does_pull_request_exist == 'true' || (github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'reopened'))) }}
144144
steps:
145145
- uses: actions/[email protected]
146146
- name: Trigger dynamic environment creation
@@ -177,7 +177,7 @@ jobs:
177177
name: "Publish stage"
178178
needs: [metadata, build-stage, acceptance-stage]
179179
uses: ./.github/workflows/stage-5-publish.yaml
180-
if: (!cancelled() && needs.metadata.outputs.skip_dynamic_acceptance && needs.build-stage.result == 'success') || (success() && github.event_name == 'push' && github.ref == 'refs/heads/main')
180+
if: ${{(!cancelled() && needs.metadata.outputs.skip_dynamic_acceptance && needs.build-stage.result == 'success') || (success() && github.event_name == 'push' && github.ref == 'refs/heads/main')}}
181181
with:
182182
build_datetime: "${{ needs.metadata.outputs.build_datetime }}"
183183
build_timestamp: "${{ needs.metadata.outputs.build_timestamp }}"

0 commit comments

Comments
 (0)