Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

chore: fix e2e tests condition in workflow yml #652

Merged
merged 1 commit into from
Oct 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
- run: yarn integration
- name: Wait for existing workflow to complete before e2e tests
# Note: we only run e2e tests once (using the 12.x version in matrix) and only if this PR is not from a fork
if: ${{ matrix.node-version == '12.x' && github.event.pull_request.head.repo.full_name == github.repository }}
if: ${{ matrix.node-version == '12.x' && (github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) }}
uses: softprops/turnstyle@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run e2e tests
if: ${{ matrix.node-version == '12.x' && github.event.pull_request.head.repo.full_name == github.repository }}
if: ${{ matrix.node-version == '12.x' && (github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_AT }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ST }}
Expand Down