chore: Skip running E2E on comments without visual test command

This commit is contained in:
Sidharth Vinod
2025-01-25 11:48:26 +05:30
parent ba534985ec
commit 9681a27b31

View File

@@ -36,6 +36,7 @@ env:
${{ github.event_name == 'issue_comment' && github.event.action == 'created' && contains(github.event.comment.body, '/visual-test') && github.event.issue.pull_request != null }}
jobs:
cache:
if: ${{ github.event_name != 'issue_comment' || contains(github.event.comment.body, '/visual-test') }}
runs-on: ubuntu-latest
container:
image: cypress/browsers:node-20.11.0-chrome-121.0.6167.85-1-ff-120.0-edge-121.0.2277.83-1