diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 96e316c5f..f27678b2e 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -18,6 +18,7 @@ jobs: uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} + ref: ${{ github.head_ref || github.ref }} - name: Setup Bun uses: ./.github/actions/setup-bun