Skip to content

Commit 34fffbc

Browse files
use head_ref when running tests on pull requests
1 parent 0f4ca3c commit 34fffbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/os-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
run: apk add libaio libstdc++
117117

118118
- name: Checkout
119-
run: git clone https://github.com/${{ github.repository }} --branch ${{ github.ref_name }} --single-branch --depth 1 mysqlmsn
119+
run: git clone https://github.com/${{ github.repository }} --branch ${{ github.head_ref || github.ref_name }} --single-branch --depth 1 mysqlmsn
120120

121121
- name: Install packages
122122
working-directory: mysqlmsn

0 commit comments

Comments
 (0)