diff --git a/.github/workflows/maven-pr-builder.yml b/.github/workflows/maven-pr-builder.yml index e7c2e1413..14a681155 100644 --- a/.github/workflows/maven-pr-builder.yml +++ b/.github/workflows/maven-pr-builder.yml @@ -40,7 +40,10 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 - + with: + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} + - name: Set up JDK 17 uses: actions/setup-java@v3 with: