From 8d48c8cb2f267d15d77ab09c8bd65cbeae788ee2 Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Wed, 12 Jan 2022 12:20:40 +0900 Subject: [PATCH] Fix CodeQL GitHub Action --- .github/workflows/codeql-analysis.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b5da50d1..7bc04f39 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,10 +17,6 @@ permissions: jobs: analyze: - - if: github.actor == 'dependabot[bot]' - name: Cancel in case of dependencies update - uses: andymckay/cancel-action@0.2 - name: Analyze runs-on: ubuntu-latest if: | @@ -29,15 +25,15 @@ jobs: (github.event_name == 'pull_request' && github.actor != 'dependabot[bot]') steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: javascript + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: javascript - - name: Autobuild - uses: github/codeql-action/autobuild@v1 + - name: Autobuild + uses: github/codeql-action/autobuild@v1 - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1