Skip to content

Merge pull request #4530 from GitTools/dependabot/nuget/new-cli/micro… #20

Merge pull request #4530 from GitTools/dependabot/nuget/new-cli/micro…

Merge pull request #4530 from GitTools/dependabot/nuget/new-cli/micro… #20

name: Qodana
on:
workflow_dispatch:
push:
branches:
- main
- 'fix/*'
- 'feature/*'
jobs:
qodana:
runs-on: ubuntu-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: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
-
name: 'Qodana Scan'
uses: jetbrains/[email protected]
with:
args: --baseline,qodana.sarif.json
cache-default-branch-only: true
pr-mode: true
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}