From 21380c6ccb484fa86dae85b40679c0c8c39c3421 Mon Sep 17 00:00:00 2001 From: William Schurman Date: Tue, 30 Jun 2020 11:48:06 -0700 Subject: [PATCH] ci: fix checkout action to checkout branch at current state instead of merging into base branch --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f741e553..a4674093 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,6 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.sha }} - uses: actions/setup-node@v1 with: node-version: 10.x