Fix Docs Reference action for forks (#13130)

This commit is contained in:
Glenn Jocher 2024-05-25 21:59:44 +02:00 committed by GitHub
parent ef85f74716
commit 722ae9af37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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