diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index a80be421b..e7d2ab2c9 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -14,7 +14,9 @@ jobs: steps: - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 with: - ref: ${{ github.head_ref }} + fetch-depth: 0 + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} - name: Install NPM dependencies run: npm ci - name: Build API docs