From d9f6351e8efa8aa7466539859770783b4b0de744 Mon Sep 17 00:00:00 2001 From: Quentin Mc Gaw Date: Wed, 26 Mar 2025 11:14:12 +0100 Subject: [PATCH 1/2] fix(ci): git checkout tip of PR not a temporary merge commit --- .github/workflows/go.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 28418e21088..ec0c697fe7e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -48,7 +48,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 0 # everything + fetch-depth: 0 # everything with: + ref: ${{ github.event.pull_request.head.sha }} - name: Set up Go uses: actions/setup-go@v5 with: From 555280df6aa3b598d9ed392a9dc831c630aa634c Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Wed, 26 Mar 2025 11:16:21 +0100 Subject: [PATCH 2/2] Update .github/workflows/go.yml Signed-off-by: Quentin McGaw --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ec0c697fe7e..b39674fb371 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -48,7 +48,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 0 # everything with: + fetch-depth: 0 # everything ref: ${{ github.event.pull_request.head.sha }} - name: Set up Go uses: actions/setup-go@v5