File tree Expand file tree Collapse file tree 2 files changed +13
-34
lines changed
Expand file tree Collapse file tree 2 files changed +13
-34
lines changed Original file line number Diff line number Diff line change 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
910jobs :
1011 qodana :
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'
Original file line number Diff line number Diff line change 1- # -------------------------------------------------------------------------------#
2- # Qodana analysis is configured by qodana.yaml file #
3- # https://www.jetbrains.com/help/qodana/qodana-yaml.html #
4- # -------------------------------------------------------------------------------#
51version : " 1.0"
6-
7- # Specify inspection profile for code analysis
8- profile :
9- name : qodana.starter
10-
11- # Enable inspections
12- # include:
13- # - name: <SomeEnabledInspectionId>
14-
15- # Disable inspections
16- # exclude:
17- # - name: <SomeDisabledInspectionId>
18- # paths:
19- # - <path/where/not/run/inspection>
20-
21- projectJDK : " 21" # (Applied in CI/CD pipeline)
22-
23- # Execute shell command before Qodana execution (Applied in CI/CD pipeline)
24- # bootstrap: sh ./prepare-qodana.sh
25-
26- # Install IDE plugins before Qodana execution (Applied in CI/CD pipeline)
27- # plugins:
28- # - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com)
29-
30- # Specify Qodana linter for analysis (Applied in CI/CD pipeline)
312linter : jetbrains/qodana-jvm:2025.1
3+ profile :
4+ name : qodana.recommended
5+ include :
6+ - name : CheckDependencyLicenses
You can’t perform that action at this time.
0 commit comments