add baseline analyze

This commit is contained in:
Infko
2023-08-01 11:15:31 +00:00
parent 70210447c0
commit 6cd69e0cf7
2 changed files with 158159 additions and 2 deletions

View File

@@ -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

File diff suppressed because it is too large Load Diff