From 9e742e881453cc8107ef227c1d30d6422f5c2cf4 Mon Sep 17 00:00:00 2001 From: Zaprit Date: Sat, 2 Nov 2024 11:58:04 +0000 Subject: [PATCH] Fix qodana pipeline --- .github/workflows/qodana_code_quality.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml index 6c20246c..b3df742b 100644 --- a/.github/workflows/qodana_code_quality.yml +++ b/.github/workflows/qodana_code_quality.yml @@ -1,7 +1,9 @@ name: Qodana on: workflow_dispatch: - pull_request: + pull_request_target: + branches: + - main push: branches: # Specify your branches here - main # The 'main' branch @@ -25,4 +27,7 @@ jobs: pr-mode: false env: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_1488465344 }} - QODANA_ENDPOINT: 'https://qodana.cloud' \ No newline at end of file + QODANA_ENDPOINT: 'https://qodana.cloud' + - uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json