From 073432389cd795a3d7e0b189a672817664266aca Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 9 Feb 2023 12:43:13 +0100 Subject: [PATCH] feat(workflows): add qodana scan only for master push Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> --- .github/workflows/qodana.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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 00000000..404248ec --- /dev/null +++ b/.github/workflows/qodana.yml @@ -0,0 +1,32 @@ +name: Qodana Scan + +on: + push: + branches: + - master + +env: + PNPM_CACHE_FOLDER: .pnpm-store + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} + cancel-in-progress: true + +jobs: + qodana-scan: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest] + node: [18] + + steps: + - name: Checkout 🛎 + uses: actions/checkout@master + fetch-depth: 0 + + - name: Qodana Scan 🔍 + uses: JetBrains/qodana-action@main + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}