Skip to content

Commit

Permalink
Adding extra condition
Browse files Browse the repository at this point in the history
  • Loading branch information
amankumarrr committed Mar 29, 2024
1 parent 762a8cc commit 3b2dae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/daily-image-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ jobs:
echo "Create Issue: ${{ env.create_issue }}"
echo "Test Pass condition: ${{ needs.check-broken-images.outputs.testPassed == 'false'}}"
echo "Condition: ${{ env.create_issue && needs.check-broken-images.outputs.testPassed == 'false'}}"
echo "create_issue='${{ env.create_issue }}'" >> $GITHUB_OUTPUT
echo "create_issue=${{ env.create_issue }}" >> $GITHUB_OUTPUT
create-an-issue:
name: GitHub Issue
runs-on: ubuntu-latest
needs:
- check-broken-images
- test-output
if: ${{ needs.test-output.outputs.create_issue == 'true' && needs.check-broken-images.outputs.testPassed == 'false'}}
if: ${{ needs.test-output.outputs.create_issue == true && needs.check-broken-images.outputs.testPassed == 'false'}}
steps:
- name: Playwright Artifact
run: |
Expand Down

0 comments on commit 3b2dae5

Please sign in to comment.