From ea538d9a08e002a4fa1d0236aa19375f2463f9c7 Mon Sep 17 00:00:00 2001 From: dec0dOS Date: Fri, 11 Jun 2021 15:32:26 +0300 Subject: [PATCH] ci: update codeql --- .github/workflows/codeql-analysis.yml | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3066f36..9dfcd79 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,13 +1,13 @@ -name: "CodeQL" +name: CodeQL on: push: - branches: [ main ] + tags: + - "v*.*.*" pull_request: - # The branches below must be a subset of the branches above - branches: [ main ] + branches: [main] schedule: - - cron: '27 2 * * 4' + - cron: "27 2 * * 4" jobs: analyze: @@ -21,16 +21,16 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'javascript' ] + language: ["javascript"] steps: - - name: Checkout repository - uses: actions/checkout@v2 + - name: Checkout repository + uses: actions/checkout@v2 - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: ${{ matrix.language }} + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1