diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index 8207ec7..3f2e924 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