From a3601cf1b53d46a256af99fca7f69e3f04028feb Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Mon, 3 May 2021 22:57:54 +0430 Subject: [PATCH] fix pull request build --- .github/workflows/build_pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index 8207ec76..3f2e9245 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -30,7 +30,7 @@ jobs: - name: Checkout master branch uses: actions/checkout@v2 with: - ref: master + ref: ${{ github.event.pull_request.head.sha }} path: master fetch-depth: 0