diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 7e926be..d2385d4 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -1,4 +1,20 @@ -- name: 'Qodana Scan' - uses: JetBrains/qodana-action@main - env: - QODANA_TOKEN: ${{ secrets.eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdhbml6YXRpb24iOiIzZW9RMiIsInByb2plY3QiOiIzN3h2VyIsInRva2VuIjoicDBXWnIifQ.5GJu9rJj60bP_giut1trf7HQv_oGo6R4qOcP52rTy0E }} +name: Qodana +on: + workflow_dispatch: + pull_request: + push: + branches: + - master + - 'releases/*' + +jobs: + qodana: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@main + env: + QODANA_TOKEN: ${{ secrets.eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdhbml6YXRpb24iOiIzZW9RMiIsInByb2plY3QiOiIzN3h2VyIsInRva2VuIjoicDBXWnIifQ.5GJu9rJj60bP_giut1trf7HQv_oGo6R4qOcP52rTy0E }}