From b2a7ceb1aa6813e6e27d9fcfa03ae9367ce2db14 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Fri, 20 Sep 2024 19:21:33 -0700 Subject: [PATCH] ci: check out the branch in the build job --- .github/workflows/CI.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b12b76f6..aa1c949f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -32,6 +32,8 @@ jobs: - 9.10.0 steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref || github.ref_name }} - name: Setup Node uses: actions/setup-node@v4