Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Commit eb0fd80

Browse files
authored
Upgrade Qodana action and configure endpoint
Updated Qodana action version and added endpoint configuration.
1 parent 93ddb8b commit eb0fd80

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/qodana_code_quality.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
workflow_dispatch:
44
pull_request:
55
push:
6-
branches:
6+
branches: # Specify your branches here
77
- master
88

99
jobs:
@@ -17,9 +17,12 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v3
1919
with:
20-
ref: ${{ github.event.pull_request.head.sha }}
21-
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
2222
- name: 'Qodana Scan'
23-
uses: JetBrains/[email protected]
23+
uses: JetBrains/[email protected]
24+
with:
25+
pr-mode: false
2426
env:
25-
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
27+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
28+
QODANA_ENDPOINT: 'https://qodana.cloud'

0 commit comments

Comments
 (0)