Skip to content

Commit 2a9ed5a

Browse files
committed
Add github workflow file
1 parent 391c1a6 commit 2a9ed5a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/qodana_code_quality.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ on:
33
workflow_dispatch:
44
pull_request:
55
push:
6-
branches:
7-
- main
6+
branches: # Specify your branches here
7+
- main # The 'main' branch
8+
- 'releases/*' # The release branches
89

910
jobs:
1011
qodana:
@@ -16,9 +17,12 @@ jobs:
1617
steps:
1718
- uses: actions/checkout@v3
1819
with:
19-
ref: ${{ github.event.pull_request.head.sha }}
20-
fetch-depth: 0
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
2122
- name: 'Qodana Scan'
2223
uses: JetBrains/qodana-action@v2025.1
24+
with:
25+
pr-mode: false
2326
env:
24-
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
27+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_1860495776 }}
28+
QODANA_ENDPOINT: 'https://qodana.cloud'

0 commit comments

Comments
 (0)