From 722ae9af375bf0dfd8bb2dca73092ceaab848421 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 25 May 2024 21:59:44 +0200 Subject: [PATCH] Fix Docs Reference action for forks (#13130) --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2b036d59..d3e41ede 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -45,6 +45,8 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 with: + repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} + token: ${{ secrets.GITHUB_TOKEN }} ref: ${{ github.head_ref || github.ref }} fetch-depth: 0 - name: Set up Python