diff --git a/.github/workflows/daily-image-tests.yml b/.github/workflows/daily-image-tests.yml index 49058ac667..c0963e615c 100644 --- a/.github/workflows/daily-image-tests.yml +++ b/.github/workflows/daily-image-tests.yml @@ -28,16 +28,14 @@ jobs: uses: ./.github/workflows/template-ui-tests.yml with: deploy_url: ${{ inputs.deploy_url || 'https://ssw.com.au' }} - tests_to_run: ${{ inputs.deploy_url || 'images'}} + tests_to_run: ${{ inputs.tests_to_run || 'images'}} create-an-issue: name: GitHub Issue runs-on: ubuntu-latest needs: check-broken-images - if: ${{ inputs.create_issue == true && needs.check-broken-images.outputs.testPassed == 'False' }} + if: ${{ inputs.create_issue == true && failure() }} steps: - - uses: actions/checkout@v4 - - name: Test Result run: | echo "Test Passed: ${{ needs.check-broken-images.outputs.testPassed }}"