From a127de138c7f1cf67a4ea2d7e62a81b804a89ff8 Mon Sep 17 00:00:00 2001 From: Hanna Kurhuzenkava Date: Fri, 26 Apr 2024 20:36:36 +0300 Subject: [PATCH] Move Qodana scan arguments to correct section The arguments for the Qodana scan were previously located under the "Java setup" section. They have now been shifted to the appropriate "Qodana Scan" section. This change ensures that the scanner operates with the correct project directory and baseline. --- .github/workflows/gradle-pr.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle-pr.yml b/.github/workflows/gradle-pr.yml index 403f173c..eed436da 100644 --- a/.github/workflows/gradle-pr.yml +++ b/.github/workflows/gradle-pr.yml @@ -19,11 +19,12 @@ jobs: with: java-version: '17' distribution: 'temurin' - args: --project-dir,server,--baseline,qodana.sarif.json - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2023.3 env: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} + with: + args: --project-dir,server,--baseline,qodana.sarif.json unit: runs-on: ubuntu-latest