From ea430272528e355738d883933e8ef8cb35f73cc1 Mon Sep 17 00:00:00 2001 From: Sam Tobin-Hochstadt Date: Thu, 30 Apr 2020 10:18:15 -0400 Subject: [PATCH] actions/checkout v2 avoids the detached head problem --- .github/workflows/ci-snapshot.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci-snapshot.yml b/.github/workflows/ci-snapshot.yml index f39f0f1cb6..8c1536a6e0 100644 --- a/.github/workflows/ci-snapshot.yml +++ b/.github/workflows/ci-snapshot.yml @@ -10,9 +10,7 @@ jobs: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v1 - - run: | - git checkout ${{ github.ref }} # have to be on a branch + - uses: actions/checkout@v2 - name: Install pkg dependencies run: |