spindle: harden checkout step
Signed-off-by: oppiliappan <me@oppi.li>
oppi.li 5 months ago accdb422 33baf764
··· 26 26 var ref string 27 27 switch tr.Kind { 28 28 case "push": 29 29 - ref = tr.Push.Ref 29 29 + ref = tr.Push.NewSha 30 30 case "pull_request": 31 31 ref = tr.PullRequest.TargetBranch 32 32