ci: checkout branch to fix detached HEAD on PR

Co-authored-by: Ali Khokhar <alishahryar2@gmail.com>
This commit is contained in:
Cursor Agent 2026-02-15 06:43:11 +00:00
parent ebdfdbb6c9
commit be78008429

View file

@ -13,6 +13,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref_name }}
- name: Install uv
uses: astral-sh/setup-uv@v4