From d26a333a36841d9b432bee9c040030b83d003ff0 Mon Sep 17 00:00:00 2001 From: tokebe <43009413+tokebe@users.noreply.github.com> Date: Fri, 20 Oct 2023 17:34:17 -0400 Subject: [PATCH] ci: workflow: checkout branch using checkout action --- .github/workflows/test_ws_codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_ws_codecov.yml b/.github/workflows/test_ws_codecov.yml index 9a0c0ace..54c3c6a7 100644 --- a/.github/workflows/test_ws_codecov.yml +++ b/.github/workflows/test_ws_codecov.yml @@ -16,6 +16,7 @@ jobs: - uses: actions/checkout@v3 with: repository: biothings/biothings_explorer + ref: ${{ steps.branch-name.outputs.current_branch }} - name: Use Node.js 18.x uses: actions/setup-node@v3 @@ -29,7 +30,6 @@ jobs: - name: pnpm install, generate coverage report run: | - git checkout ${{ steps.branch-name.outputs.current_branch }} pnpm run clone pnpm run git checkout ${{ steps.branch-name.outputs.current_branch }} pnpm i