Skip to content

Commit

Permalink
use contains
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpearce-digital committed Oct 3, 2023
1 parent 2d3486c commit 213ac8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ jobs:

ui_tests_image:
name: Run Cypress UI Tests On Images
if: ${{ github.head_ref }} != 'MLPAB-1419-use-a-single-persistent-environment-for-weblate-changes-optimise-workflow' &&
needs.detect_changes.outputs.changes_detected == 'true' &&
if: needs.detect_changes.outputs.changes_detected == 'true' &&
(needs.docker_build_scan_push.result == 'success' || needs.docker_build_scan_push.result == 'skipped')
uses: ./.github/workflows/ui_test_job.yml
needs: [docker_build_scan_push, create_tags]
with:
run_against_image: true
tag: ${{ needs.create_tags.outputs.version_tag }}
smoke: if contains(fromJSON('["MLPAB-1419-use-a-single-persistent-environment-for-weblate-changes-optimise-workflow", "weblate-pr"]'), github.head_ref)
secrets:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }}
Expand Down

0 comments on commit 213ac8a

Please sign in to comment.