mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
add baseline analyze
This commit is contained in:
10
.github/workflows/qodana.yml
vendored
10
.github/workflows/qodana.yml
vendored
@@ -6,6 +6,8 @@ on:
|
||||
- '.github/workflows/qodana.yml'
|
||||
- 'src/MaaWpfGui/*'
|
||||
- 'qodana.yaml'
|
||||
- 'src/MaaWpfGui/**'
|
||||
- 'MAA.sln'
|
||||
push: # 在主分支推送代码的场合进行扫描
|
||||
branches:
|
||||
- master
|
||||
@@ -13,7 +15,7 @@ on:
|
||||
- dev
|
||||
paths:
|
||||
- '.github/workflows/qodana.yml'
|
||||
- 'src/MaaWpfGui/*'
|
||||
- 'src/MaaWpfGui/**'
|
||||
- 'qodana.yaml'
|
||||
jobs:
|
||||
qodana:
|
||||
@@ -29,5 +31,9 @@ jobs:
|
||||
fetch-depth: 0 # a full history is required for pull request analysis
|
||||
- name: 'Qodana Scan'
|
||||
uses: JetBrains/qodana-action@main
|
||||
with:
|
||||
pr-mode: false
|
||||
post-pr-comment: true
|
||||
args: --baseline,qodana.sarif.json
|
||||
env:
|
||||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
|
||||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
|
||||
158151
qodana.sarif.json
Normal file
158151
qodana.sarif.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user