Skip to content

Commit 8210abf

Browse files
authored
Merge pull request #1 from fihry/qodana-automation-1011437101
Add qodana CI checks
2 parents 6220493 + 0bd8f92 commit 8210abf

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Qodana
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
push:
6+
branches: # Specify your branches here
7+
- main # The 'main' branch
8+
- 'releases/*' # The release branches
9+
10+
jobs:
11+
qodana:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
checks: write
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
21+
fetch-depth: 0 # a full history is required for pull request analysis
22+
- name: 'Qodana Scan'
23+
uses: JetBrains/qodana-action@v2025.2
24+
with:
25+
pr-mode: false
26+
env:
27+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_1386356819 }}
28+
QODANA_ENDPOINT: 'https://qodana.cloud'

qodana.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
####################################################################################################################
2+
# WARNING: Do not store sensitive information in this file, as its contents will be included in the Qodana report. #
3+
####################################################################################################################
4+
5+
version: "1.0"
6+
linter: jetbrains/qodana-jvm:2025.2
7+
profile:
8+
name: qodana.recommended
9+
include:
10+
- name: CheckDependencyLicenses

0 commit comments

Comments
 (0)