diff options
-rw-r--r-- | .github/workflows/go.tidy.yml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/.github/workflows/go.tidy.yml b/.github/workflows/go.tidy.yml index 3c6aa2be2..060b6d108 100644 --- a/.github/workflows/go.tidy.yml +++ b/.github/workflows/go.tidy.yml @@ -15,11 +15,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v1 - - - # https://github.com/actions/checkout/issues/6 - name: Fix detached HEAD - run: git checkout ${GITHUB_REF#refs/heads/} + uses: actions/checkout@v2 - name: Tidy run: | |