File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -2,23 +2,30 @@ name: Qodana
22on :
33 workflow_dispatch :
44 pull_request :
5- branches-ignore :
6- - ' dependabot/**'
75 push :
86 branches :
97 - dev/main
108 - master
119 - main
12- - ' !dependabot/**'
1310
1411jobs :
1512 qodana :
13+ if : ${{ !startsWith(github.head_ref, 'dependabot/') }}
1614 runs-on : ubuntu-latest
15+ permissions :
16+ contents : write
17+ pull-requests : write
18+ checks : write
1719 steps :
1820 - uses : actions/checkout@v4
1921 with :
20- fetch-depth : 0
22+ ref : ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
23+ fetch-depth : 0 # a full history is required for pull request analysis
2124 - name : ' Qodana Scan'
22- 25+ uses : JetBrains/qodana-action@main
26+ with :
27+ upload-result : true
28+ github-token : ${{ secrets.FORLIY_ACCESS_TOKEN }}
2329 env :
24- QODANA_TOKEN : ${{ secrets.QODANA_TOKEN }}
30+ QODANA_TOKEN : ${{ secrets.QODANA_TOKEN }} # read the steps about it below
31+ GITHUB_TOKEN : ${{ secrets.FORLIY_ACCESS_TOKEN }}
You can’t perform that action at this time.
0 commit comments