From 7e0f14f95ae3139fb0359156cca8eed2986620b9 Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Fri, 5 Feb 2021 12:28:06 +0100 Subject: [PATCH] Attempt to run the CI on the test merge instead of the branch for each PR (#3585) Closes #3571 --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a7d6e3e6c..5dedd579c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -42,7 +42,7 @@ jobs: steps: - uses: actions/checkout@v2.3.4 with: - ref: ${{ github.event.pull_request.head.ref }} + ref: refs/pr/${{ github.event.number }}/merge repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Restore dependency cache