File tree Expand file tree Collapse file tree 1 file changed +17
-23
lines changed
Expand file tree Collapse file tree 1 file changed +17
-23
lines changed Original file line number Diff line number Diff line change 1- name : Qodana Code Analysis
2-
1+ name : Qodana
32on :
4- push :
5- branches :
6- - main
3+ workflow_dispatch :
74 pull_request :
5+ push :
6+ branches : # Specify your branches here
7+ - main # The 'main' branch
8+ - master # The 'master' branch
9+ - ' releases/*' # The release branches
810
911jobs :
1012 qodana :
11- name : Run Qodana Analysis
1213 runs-on : ubuntu-latest
13-
14+ permissions :
15+ contents : write
16+ pull-requests : write
17+ checks : write
1418 steps :
15- - name : Checkout Repository
16- uses : actions/checkout@v4
17-
18- - name : Run Qodana in Debug Mode
19- uses : JetBrains/qodana-action@v2024.1
19+ - uses : actions/checkout@v3
20+ with :
21+ ref : ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
22+ fetch-depth : 0 # a full history is required for pull request analysis
23+ - name : ' Qodana Scan'
24+ uses : JetBrains/qodana-action@v2024.3
2025 env :
2126 QODANA_TOKEN : ${{ secrets.QODANA }}
22-
23- - name : Upload Qodana Results
24- uses : actions/upload-artifact@v4
25- with :
26- name : qodana-results
27- path : .qodana/results/
28-
29- - name : Publish Qodana Annotations
30- uses : github/codeql-action/upload-sarif@v3
31- with :
32- sarif_file : .qodana/results/qodana.sarif.json
You can’t perform that action at this time.
0 commit comments