diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cd7c20705..8a1a10dec 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,6 +18,8 @@ jobs: - name: Check out code uses: actions/checkout@v2.3.4 with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} fetch-depth: 0 submodules: true @@ -45,6 +47,8 @@ jobs: - name: Check out code uses: actions/checkout@v2.3.4 with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} fetch-depth: 0 submodules: true diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index a2441487a..dc54e06e7 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -20,6 +20,8 @@ jobs: - name: Check out code uses: actions/checkout@v2.3.4 with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} fetch-depth: 0 submodules: true