Skip to content

Commit 4cec16f

Browse files
jhonabreulclaude
andcommitted
Update Checkout Lean Same Branch ref to actual branch name
Use `github.head_ref || github.ref_name` instead of `github.ref` so the Lean checkout resolves to the actual branch name across push and pull request events. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 88783e3 commit 4cec16f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/gh-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/checkout@v2
3030
continue-on-error: true
3131
with:
32-
ref: ${{ github.ref }}
32+
ref: ${{ github.head_ref || github.ref_name }}
3333
repository: QuantConnect/Lean
3434
path: Lean
3535

0 commit comments

Comments
 (0)