Skip to content

Commit 21b78c2

Browse files
author
Xin Zhang
committed
WIP: using sha instead of ref to avoid branch name confusion
1 parent 6793dbc commit 21b78c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: assets/lib/in.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def ref
1919

2020
pr = Octokit.pull_request(input['source']['repo'], input['version']['pr'])
2121
id = pr['number']
22-
branch_ref = pr['head']['ref']
22+
branch_ref = pr['head']['sha']
2323

2424
system("git clone --depth 1 #{uri} #{destination} 1>&2")
2525

0 commit comments

Comments
 (0)