diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 279979bc5..a509232d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,8 +32,8 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive - ref: ${{ github.event.pull_request_target.head.sha }} - repository: ${{github.event.pull_request_target.head.repo.full_name}} + ref: ${{ github.event.pull_request.head.sha }} + repository: ${{github.event.pull_request.head.repo.full_name}} # Set Git config - name: Git config @@ -96,8 +96,8 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive - ref: ${{ github.event.pull_request_target.head.sha }} - repository: ${{github.event.pull_request_target.head.repo.full_name}} + ref: ${{ github.event.pull_request.head.sha }} + repository: ${{github.event.pull_request.head.repo.full_name}} # Set Git config - name: Git config