File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # -------------------------------------------------------------------------------#
2- # Discover additional configuration options in our documentation #
3- # https://www.jetbrains.com/help/qodana/github.html #
4- # -------------------------------------------------------------------------------#
5-
61name : Qodana
72on :
83 workflow_dispatch :
94 pull_request :
105 push :
11- branches :
12- - main
13- - master
6+ branches : # Specify your branches here
7+ - main # The 'main' branch
8+ - ' releases/* ' # The release branches
149
1510jobs :
1611 qodana :
@@ -20,21 +15,14 @@ jobs:
2015 pull-requests : write
2116 checks : write
2217 steps :
23- - uses : actions/checkout@v4
18+ - uses : actions/checkout@v3
2419 with :
25- ref : ${{ github.event.pull_request.head.sha }}
26- 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
2722 - name : ' Qodana Scan'
2823 uses : JetBrains/qodana-action@v2026.1
29- env :
30- QODANA_TOKEN : ${{ secrets.QODANA_TOKEN }}
3124 with :
32- # When pr-mode is set to true, Qodana analyzes only the files that have been changed
3325 pr-mode : false
34- use-caches : true
35- post-pr-comment : true
36- use-annotations : true
37- # Upload Qodana results (SARIF, other artifacts, logs) as an artifact to the job
38- upload-result : false
39- # quick-fixes available in Ultimate and Ultimate Plus plans
40- push-fixes : ' none'
26+ env :
27+ QODANA_TOKEN : ${{ secrets.QODANA_TOKEN_2047940364 }}
28+ QODANA_ENDPOINT : ' https://qodana.cloud'
You can’t perform that action at this time.
0 commit comments