Use head repository name for docgen in smoke test (#7512)
This commit is contained in:
parent
2df9002a56
commit
e9a0fb502a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -258,7 +258,7 @@ jobs:
|
||||||
run: cd smoke/docs && pnpm docgen && pnpm docgen:errors && pnpm docgen:integrations
|
run: cd smoke/docs && pnpm docgen && pnpm docgen:errors && pnpm docgen:integrations
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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 }}
|
SOURCE_BRANCH: ${{ github.head_ref || github.ref_name }}
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|
Loading…
Reference in a new issue