Skip to content

Commit 64b1c70

Browse files
committed
Checkout pull request HEAD commit
1 parent bbbb8d5 commit 64b1c70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ runs:
2525
steps:
2626
- uses: actions/checkout@v4
2727
with:
28+
ref: ${{ github.event.pull_request.head.sha }} # https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit
2829
fetch-depth: 2 # https://github.com/actions/checkout#checkout-head
2930

3031
- uses: ruby/setup-ruby@v1

0 commit comments

Comments
 (0)