Skip to content

Commit f97a659

Browse files
committed
chore : add code_quality yml
1 parent 9a0cf56 commit f97a659

File tree

3 files changed

+40
-71
lines changed

3 files changed

+40
-71
lines changed

.github/workflows/apisec-scan.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#-------------------------------------------------------------------------------#
2+
# Discover all capabilities of Qodana in our documentation #
3+
# https://www.jetbrains.com/help/qodana/about-qodana.html #
4+
#-------------------------------------------------------------------------------#
5+
6+
name: Qodana
7+
on:
8+
workflow_dispatch:
9+
pull_request:
10+
push:
11+
branches:
12+
- main
13+
14+
jobs:
15+
qodana:
16+
runs-on: ubuntu-latest
17+
permissions:
18+
contents: write
19+
pull-requests: write
20+
checks: write
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
ref: ${{ github.event.pull_request.head.sha }}
25+
fetch-depth: 0
26+
- name: 'Qodana Scan'
27+
uses: JetBrains/[email protected]
28+
env:
29+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
30+
with:
31+
# When pr-mode is set to true, Qodana analyzes only the files that have been changed
32+
pr-mode: false
33+
use-caches: true
34+
post-pr-comment: true
35+
use-annotations: true
36+
# Upload Qodana results (SARIF, other artifacts, logs) as an artifact to the job
37+
upload-result: false
38+
# quick-fixes available in Ultimate and Ultimate Plus plans
39+
push-fixes: 'none'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ target/
33
.mvn/wrapper/maven-wrapper.jar
44
!**/src/main/**/target/
55
!**/src/test/**/target/
6+
*.db
67

78
### STS ###
89
.apt_generated

0 commit comments

Comments
 (0)