Skip to content

Commit

Permalink
Grab the PR branch head, not the simualted merge
Browse files Browse the repository at this point in the history
  • Loading branch information
eholum committed Oct 21, 2024
1 parent 5c21859 commit 993d72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
shell: bash

- name: Support forks by grabbing the commit history from the PR branch
run: git fetch origin ${{ github.ref }}:updated_head_ref
run: git fetch origin pull/${{ github.event.number }}/head:updated_head_ref
shell: bash

- name: Check that every commit name includes an issue reference like "#1"
Expand Down

0 comments on commit 993d72f

Please sign in to comment.