-
-
Notifications
You must be signed in to change notification settings - Fork 474
44 lines (42 loc) · 966 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
44
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
if: github.repository_owner == 'placeAtlas'
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 }}