Skip to content

Commit 7986fdd

Browse files
qodana-cloud[bot]qodana-botvigneshhari
authored
Add qodana CI checks (#2607)
* Add qodana.yaml file * Add github workflow file * Update qodana_code_quality.yml --------- Co-authored-by: Qodana Application <qodana-support@jetbrains.com> Co-authored-by: Vignesh Hari <14056798+vigneshhari@users.noreply.github.com>
1 parent 5b2b304 commit 7986fdd

File tree

2 files changed

+33
-0
lines changed

2 files changed

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

qodana.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: "1.0"
2+
linter: jetbrains/qodana-python:2024.2
3+
profile:
4+
name: qodana.recommended
5+
include:
6+
- name: CheckDependencyLicenses

0 commit comments

Comments
 (0)