From e311cb53eae3a434ee08a42044be73eedb415b23 Mon Sep 17 00:00:00 2001 From: leuc <47371249+leuc@users.noreply.github.com> Date: Sat, 22 May 2021 19:36:21 +0200 Subject: [PATCH] let actions/checkout@v2 select the right reference for push and pull request events (#1042) --- .github/workflows/lint.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b8fde2fab..c924262a0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,8 +11,6 @@ jobs: steps: - uses: actions/checkout@v2 with: - # Make sure the actual branch is checked out when running on pull requests - ref: ${{ github.head_ref }} fetch-depth: 0 - name: golangci-lint