diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7f5bb9dc363..7b118d6ed268 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,6 +81,8 @@ jobs: - name: Checkout sources uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Setup maven cache uses: actions/cache@v2