Skip to content

Add FOSSA and Exclude tests from Qodana scan #22

Add FOSSA and Exclude tests from Qodana scan

Add FOSSA and Exclude tests from Qodana scan #22

Workflow file for this run

name: '🧠 Qodana: Static Code Analysis'
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
qodana:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.3
with:
pr-mode: false
args: --baseline,.github/settings/qodana.sarif.json
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_590242153 }}
QODANA_ENDPOINT: 'https://qodana.cloud'
- name: Upload sarif file for GitHub Advanced Security Dashboard
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json