From 147a2c0b3d9a9c340dd0fef081c5ac57ff80b123 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 0881a361..2fdcbe37 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