Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Upgrade CodeQL action version (#65250)

Nemanja Glumac024d197e3e9d
diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml
index e3ce32fa857..d4fd7b62138 100644
--- a/.github/codeql/codeql-config.yml
+++ b/.github/codeql/codeql-config.yml
@@ -1,3 +1,5 @@
+version: 1
+
name: "Metabase CodeQL config"
paths-ignore:
diff --git a/.github/file-paths.yaml b/.github/file-paths.yaml
index dcb89b49c97..a368c36297e 100644
--- a/.github/file-paths.yaml
+++ b/.github/file-paths.yaml
@@ -170,6 +170,7 @@ yaml:
- "**/*.yaml"
codeql:
+ - ".github/workflows/codeql.yml"
- "frontend/src/**"
- "enterprise/frontend/src/**"
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 49c0d2d3e8d..49d24ab95f3 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -30,9 +30,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
- uses: github/codeql-action/init@v2
+ uses: github/codeql-action/init@v4
with:
languages: javascript
config-file: ./.github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v2
+ uses: github/codeql-action/analyze@v4