From e9a0fb502a118c180fb52943905535d9f56f5ba5 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Wed, 28 Jun 2023 18:13:51 +0200 Subject: [PATCH] Use head repository name for docgen in smoke test (#7512) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25cebb6ab..cf9e8fcbe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -258,7 +258,7 @@ jobs: run: cd smoke/docs && pnpm docgen && pnpm docgen:errors && pnpm docgen:integrations env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SOURCE_REPO: ${{ github.event.repository.full_name }} + SOURCE_REPO: ${{ github.event.pull_request.head.repo.full_name || github.event.repository.full_name }} SOURCE_BRANCH: ${{ github.head_ref || github.ref_name }} - name: Test