From 9dc8f80d27a2bd942e58ede95411e8ff81da6452 Mon Sep 17 00:00:00 2001 From: Dragan Ivanovic Date: Thu, 14 Sep 2023 13:38:03 +0200 Subject: [PATCH] Codeql action upgrade (#3903) * Upgrading the version of codeql-action (from v1 to v2) * Removing release branches for codeql analysis (only the main branch will be analyzed) --- .github/workflows/codeql-analysis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4273f1a9b..6ce2d597d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,7 +13,7 @@ name: "CodeQL" on: push: - branches: [ main, rel-1.12.1-RC, rel-1.12.0-maint ] + branches: [ main ] pull_request: # The branches below must be a subset of the branches above branches: [ main ] @@ -43,7 +43,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -54,7 +54,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,4 +68,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2