-
-
Notifications
You must be signed in to change notification settings - Fork 661
43 lines (41 loc) · 918 Bytes
/
qodana.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
42
43
name: Qodana
on:
workflow_dispatch:
pull_request_target:
branches:
- master
paths:
- "**.js"
- "**.sh"
- "**.py"
push:
branches:
- master
paths:
- "**.js"
- "**.sh"
- "**.py"
jobs:
qodana:
name: Qodana
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check using Qodana
uses: JetBrains/qodana-action@main
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
- name: Upload results
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}