From 1b0a157201cd85258f2d9a4bd77f88d6b892cbae Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 9 Oct 2020 20:56:57 +0530 Subject: [PATCH] Add pr head commit for validation --- .github/workflows/checks.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 56be78630..6ff9fe1cd 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -9,8 +9,7 @@ jobs: steps: - uses: actions/checkout@v2 with: - repository: ${{ github.repository }} - ref: ${{ github.head_ref }} + ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - name: Installing dependencies uses: borales/actions-yarn@v2.0.0