From 26cfb69f1d3527c4e1bde9980959ee241e6af6e6 Mon Sep 17 00:00:00 2001 From: arhimede Date: Mon, 29 Apr 2024 19:33:22 +0300 Subject: [PATCH] Create qodana_code_quality.yml qodana integration --- .github/workflows/qodana_code_quality.yml | 25 +++++++++++++++++++++++ 1 file changed, 25 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 0000000..a9ea9b7 --- /dev/null +++ b/.github/workflows/qodana_code_quality.yml @@ -0,0 +1,25 @@ +name: Qodana +on: + workflow_dispatch: + pull_request: + push: + branches: + - 4.0 + - 'releases/*' + +jobs: + qodana: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + checks: write + steps: + - uses: actions/checkout@v4 + 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@v2024.1 + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}