From 3582764801c692f53143a2f895c87005f845a4b7 Mon Sep 17 00:00:00 2001 From: Federico Grandi Date: Tue, 12 Dec 2023 20:33:34 +0100 Subject: [PATCH] ci: fix preview docs checkout ref (#1393) --- .github/workflows/preview-docs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index 21ecf9528..b865777ef 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + ref: refs/pull/${{ github.event.pull_request.number }}/merge - name: Setup Node.js uses: actions/setup-node@v4