Skip to content

Fix Qodana scan

Fix Qodana scan #88

Workflow file for this run

name: Code quality
on:
workflow_dispatch:
pull_request_target:
push:
branches:
- master
jobs:
qodana:
runs-on: windows-latest
permissions:
contents: write
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
args: --baseline,qodana.sarif.json,--ide,QDNET,--diff-start,${{ github.event.pull_request.base.sha }}",--diff-end,${{ github.event.pull_request.head.sha }}"
pr-mode: ${{ github.event_name == 'pull_request_target' }}
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}