From bb036063be707ed615f9efac2802131cfd5e2177 Mon Sep 17 00:00:00 2001 From: Rich Gwozdz Date: Wed, 14 Feb 2024 12:54:55 -0800 Subject: [PATCH] chore: more workflow config --- .github/workflows/ci-tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index b657cdf4e..d63e688db 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -25,8 +25,11 @@ jobs: steps: - uses: actions/checkout@v3 - with: - fetch-depth: 0 + - run: | + git fetch --no-tags --depth=1 origin master + git checkout -b master + git checkout ${{ github.event.pull_request.head.sha }} + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }}