From 7a89acfcb10918336e7de3675351fb8e472144fe Mon Sep 17 00:00:00 2001 From: Irfan Shadik Rishad Date: Fri, 21 Feb 2025 05:53:06 +0600 Subject: [PATCH] fix: with gh to checkout --- .github/workflows/push-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-build.yml b/.github/workflows/push-build.yml index e817a7552..4fe30ceb9 100644 --- a/.github/workflows/push-build.yml +++ b/.github/workflows/push-build.yml @@ -15,8 +15,8 @@ jobs: with: fetch-depth: 0 - - name: Checkout PR branch - run: git checkout ${{ github.event.pull_request.head.ref }} + - name: Checkout PR + run: gh pr checkout ${{ github.event.pull_request.number }} - name: Install dependencies run: yarn install --frozen-lockfile