Skip to content

Commit 6ee44d9

Browse files
Update test.yml
1 parent 8bff5e7 commit 6ee44d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Git checkout
1717
uses: actions/checkout@v2
1818
with:
19-
ref: ${{ inputs.branch || github.ref_name }}
19+
ref: ${{ inputs.branch || github.event.pull_request.head.ref || github.ref_name }}
2020

2121
- name: Use Node.js ${{ matrix.node }}
2222
uses: actions/setup-node@v1

0 commit comments

Comments
 (0)