summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Swithinbank <swithinbank@gmail.com> 2023-06-28 18:13:51 +0200
committerGravatar GitHub <noreply@github.com> 2023-06-28 18:13:51 +0200
commite9a0fb502a118c180fb52943905535d9f56f5ba5 (patch)
treed2951ff1161fa6a4ce73b473763cc5b22e00fc60
parent2df9002a561a008cea0a37b52159365a3e74ae68 (diff)
downloadastro-e9a0fb502a118c180fb52943905535d9f56f5ba5.tar.gz
astro-e9a0fb502a118c180fb52943905535d9f56f5ba5.tar.zst
astro-e9a0fb502a118c180fb52943905535d9f56f5ba5.zip
Use head repository name for docgen in smoke test (#7512)
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
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