-
-
Notifications
You must be signed in to change notification settings - Fork 28
41 lines (35 loc) · 926 Bytes
/
qodana-scan.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: qodana-scan
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches: [develop]
push:
branches: [stable, develop]
workflow_dispatch:
inputs:
reason:
description: Why was the workflow triggered manually?
required: true
type: string
permissions:
contents: read
jobs:
qodana:
name: Run code quality monitoring
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js and install NPM dependencies
uses: ./.github/actions/install-npm-deps
- name: Qodana Scan
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
uses: JetBrains/[email protected]
with:
args: --baseline,qodana.sarif.json
cache-default-branch-only: true