From ae0145f9339856d320df280b13131b3a41c8bc24 Mon Sep 17 00:00:00 2001 From: Alishahryar1 Date: Sun, 15 Feb 2026 19:17:25 -0800 Subject: [PATCH] Fixed formatter workflow --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1b7ab9a1..ac7aca80 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -53,7 +53,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd with: - ref: ${{ github.event.pull_request.head.sha || github.ref }} + ref: ${{ github.head_ref || github.ref }} repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} fetch-depth: 1