From 2f35a0d21989a99683cd4428b4bfa74a6d551954 Mon Sep 17 00:00:00 2001 From: Guilherme Branco Stracini Date: Mon, 30 Oct 2023 22:41:30 +0000 Subject: [PATCH] Create qodana.yml --- .github/workflows/qodana.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/qodana.yml diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml new file mode 100644 index 000000000..77c33b7ec --- /dev/null +++ b/.github/workflows/qodana.yml @@ -0,0 +1,25 @@ +name: Qodana +on: + workflow_dispatch: + pull_request: + push: + branches: + - main + - 'releases/*' + +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 }} + fetch-depth: 0 + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v2023.2 + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}