From c1b498f6b81dd67d707fd45c7dd40d6990486438 Mon Sep 17 00:00:00 2001 From: Hetu Nandu Date: Mon, 5 Oct 2020 22:07:09 +0530 Subject: [PATCH] Possible fix for CI checkout issue --- .github/workflows/client.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index ffd55801fd..aa320ac996 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -25,9 +25,11 @@ jobs: steps: # Checkout the code - uses: actions/checkout@v2 + with: + ref: refs/pull/${{ github.event.pull_request.number }}/merge - - name: Figure out the ref - run: echo ${GITHUB_REF} + - name: Figure out the PR number + run: echo ${{ github.event.pull_request.number }} - name: Use Node.js 10.16.3 uses: actions/setup-node@v1