Skip to content

Commit

Permalink
Codeql action upgrade (#3903)
Browse files Browse the repository at this point in the history
* Upgrading the version of codeql-action (from v1 to v2)

* Removing release branches for codeql analysis (only the main branch will be analyzed)
  • Loading branch information
chenejac committed Sep 14, 2023
1 parent cd20055 commit 9dc8f80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand All @@ -68,4 +68,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2

0 comments on commit 9dc8f80

Please sign in to comment.