Fix build_doc.yml

Checkout `refs/pull/$PR/head` instead of `refs/pull/$PR/merge`.

If the pull-request has conflicts, that is different.
This commit is contained in:
Laurent Rineau 2024-06-20 16:57:53 +02:00 committed by GitHub
parent 9075f96529
commit 7e1f33b716
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ jobs:
if: steps.get_round.outputs.result != 'stop'
with:
repository: ${{ github.repository }}
ref: refs/pull/${{ steps.get_pr_number.outputs.result }}/merge
ref: refs/pull/${{ steps.get_pr_number.outputs.result }}/head
fetch-depth: 2
- name: install dependencies