Skip to content

Commit

Permalink
Fix build_doc.yml
Browse files Browse the repository at this point in the history
Checkout `refs/pull/$PR/head` instead of `refs/pull/$PR/merge`.

If the pull-request has conflicts, that is different.
  • Loading branch information
lrineau committed Jun 20, 2024
1 parent 9075f96 commit 7e1f33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e1f33b

Please sign in to comment.