From 3787decb0ab765c62a7e3312e8d7c88b0c128244 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 8 Mar 2022 18:35:00 +0000 Subject: [PATCH] add checkout ref --- .github/workflows/cypress.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 9142a81d0..2aec068ac 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -18,6 +18,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.ref }} + fetch-depth: 0 - name: Derive appropriate SHAs for base and head for `nx affected` commands uses: nrwl/nx-set-shas@v2 - name: Use Node.js 16