From d813066e03550d77dd70ad06a9b22fc611b46ff7 Mon Sep 17 00:00:00 2001 From: Yutong LI <60507671+raiots@users.noreply.github.com> Date: Tue, 7 Feb 2023 23:12:41 +0800 Subject: [PATCH] Update code_quality.yml --- .github/workflows/code_quality.yml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) 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 }}