feat(workflows): add qodana scan only for master push

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-02-09 12:43:13 +01:00
committed by Braks
parent fd18e19375
commit 073432389c

32
.github/workflows/qodana.yml vendored Normal file
View File

@@ -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 }}