From 3aa75bbb7d3dcfe6d54d3d9381aa2f188934e9d8 Mon Sep 17 00:00:00 2001 From: knative-automation Date: Thu, 18 Mar 2021 09:14:55 -0700 Subject: [PATCH] Update common github actions (#439) Signed-off-by: Knative Automation --- .github/workflows/knative-security.yaml | 5 ----- .github/workflows/knative-style.yaml | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/knative-security.yaml b/.github/workflows/knative-security.yaml index 00fa9fcc..fbfe531d 100644 --- a/.github/workflows/knative-security.yaml +++ b/.github/workflows/knative-security.yaml @@ -37,11 +37,6 @@ jobs: # a pull request then we can checkout the head. fetch-depth: 2 - # If this run was triggered by a pull request event, then checkout - # the head of the pull request instead of the merge commit. - - run: git checkout HEAD^2 - if: ${{ github.event_name == 'pull_request' }} - # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1 diff --git a/.github/workflows/knative-style.yaml b/.github/workflows/knative-style.yaml index 877f4850..c5770a4b 100644 --- a/.github/workflows/knative-style.yaml +++ b/.github/workflows/knative-style.yaml @@ -147,7 +147,7 @@ jobs: git check-attr --stdin linguist-generated | grep -Ev ': (set|true)$' | cut -d: -f1 | git check-attr --stdin linguist-vendored | grep -Ev ': (set|true)$' | cut -d: -f1 | grep -Ev '^(vendor/|third_party/|.git)' | - xargs misspell -error | + xargs misspell -i importas -error | reviewdog -efm="%f:%l:%c: %m" \ -name="github.com/client9/misspell" \ -reporter="github-pr-check" \