From e5f5f3c0b3db3c20385a7accd7ad4d4f47966443 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Thu, 17 Dec 2020 12:58:35 +0100 Subject: [PATCH] gh-actions: static-tests: remove ref from checkout That parameter was solely needed for the commit checks that are now moved to the `check-pr` workflow. The only other test using git is the whitespace check and that works just fine on the merge commit. --- .github/workflows/static-test.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/static-test.yml b/.github/workflows/static-test.yml index 208bca7e76..5b48f11adc 100644 --- a/.github/workflows/static-test.yml +++ b/.github/workflows/static-test.yml @@ -18,10 +18,6 @@ jobs: steps: - uses: actions/checkout@v2 with: - # Use the SHA of the PR branch as-is, not the PR branch merged - # in master (default behavior in GH actions) - # See https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit - ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - name: Setup git run: |