From 5fe5b65a48e2f92229139facb1b580a0444d0eb4 Mon Sep 17 00:00:00 2001 From: Evgeny Gorodetsky Date: Sat, 14 Oct 2023 20:31:38 +0300 Subject: [PATCH] Add Qodana Scan action --- .github/workflows/ci-qodana-scan.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci-qodana-scan.yml diff --git a/.github/workflows/ci-qodana-scan.yml b/.github/workflows/ci-qodana-scan.yml new file mode 100644 index 000000000..807a66afc --- /dev/null +++ b/.github/workflows/ci-qodana-scan.yml @@ -0,0 +1,27 @@ +name: '🪲 Qodana Scan' +on: + workflow_dispatch: + pull_request: + push: + branches: + - master + - develop + +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 }} + + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v2023.2 + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}