Skip to content

Commit 41ad47e

Browse files
committed
Add support for pull request ref in actions/checkout step
1 parent badef0f commit 41ad47e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/actions/integration-tests/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ runs:
5454
done
5555
5656
- uses: actions/checkout@v5
57+
with:
58+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
5759
- name: Use Node.js ${{ inputs.NODE_VERSION}}
5860
uses: actions/setup-node@v6
5961
with:

0 commit comments

Comments
 (0)