From fb7862c503ffb8674f079ac99e2ed496b7e0e4b5 Mon Sep 17 00:00:00 2001 From: Qodana Application Date: Wed, 14 Jan 2026 16:01:38 +0000 Subject: [PATCH 1/4] Add qodana.yaml file --- qodana.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 qodana.yaml diff --git a/qodana.yaml b/qodana.yaml new file mode 100644 index 0000000000..fdeccb7b92 --- /dev/null +++ b/qodana.yaml @@ -0,0 +1,10 @@ +#################################################################################################################### +# WARNING: Do not store sensitive information in this file, as its contents will be included in the Qodana report. # +#################################################################################################################### + +version: "1.0" +linter: jetbrains/qodana-go:2025.2 +profile: + name: qodana.recommended +include: + - name: CheckDependencyLicenses \ No newline at end of file From 0f1864aad8981856a00826e25b3ea42d7651e80e Mon Sep 17 00:00:00 2001 From: Qodana Application Date: Wed, 14 Jan 2026 16:01:38 +0000 Subject: [PATCH 2/4] Add github workflow file --- .github/workflows/qodana_code_quality.yml | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/qodana_code_quality.yml diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml new file mode 100644 index 0000000000..c3079528ef --- /dev/null +++ b/.github/workflows/qodana_code_quality.yml @@ -0,0 +1,28 @@ +name: Qodana +on: + workflow_dispatch: + pull_request: + push: + branches: # Specify your branches here + - main # The 'main' branch + - 'releases/*' # The release branches + +jobs: + qodana: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + checks: write + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit + fetch-depth: 0 # a full history is required for pull request analysis + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v2025.2 + with: + pr-mode: false + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_1307158500 }} + QODANA_ENDPOINT: 'https://qodana.cloud' \ No newline at end of file From c95a80091f0575fe6d369ee5d9b0260b233a9833 Mon Sep 17 00:00:00 2001 From: Gonzalo Marcote Date: Wed, 14 Jan 2026 17:06:01 +0100 Subject: [PATCH 3/4] Use GO scan linter --- qodana.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/qodana.yaml b/qodana.yaml index fdeccb7b92..6ca2316d1b 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -3,8 +3,14 @@ #################################################################################################################### version: "1.0" + +# Use GO scan linter linter: jetbrains/qodana-go:2025.2 + +# Use recommended inspection profile profile: name: qodana.recommended + +# Enable license checks include: - - name: CheckDependencyLicenses \ No newline at end of file + - name: CheckDependencyLicenses From f089ed20cfa6e3fe8047b26fc38c1932005a7f61 Mon Sep 17 00:00:00 2001 From: Gonzalo Marcote Date: Wed, 14 Jan 2026 17:10:54 +0100 Subject: [PATCH 4/4] Added dockerfiles scan --- qodana.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qodana.yaml b/qodana.yaml index 6ca2316d1b..77d570f61a 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -11,6 +11,10 @@ linter: jetbrains/qodana-go:2025.2 profile: name: qodana.recommended -# Enable license checks +# Enable license checks and specific Docker inspections include: - name: CheckDependencyLicenses + - name: DockerfileOptimization + - name: DockerfilePostInstallClean + - name: DockerfileMissingCommand + - name: DockerfileMiddleInstruction