Skip to content

Qodana

Qodana #159

Workflow file for this run

name: Qodana
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0,3,5' # At 00:00 on Sunday, Wednesday, and Friday.
# pull_request:
# branches:
# - main
jobs:
qodana:
runs-on: ubuntu-latest
permissions:
actions: read
contents: write
pull-requests: write
checks: write
security-events: write
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
submodules: recursive # many many submodules
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@latest
with:
pr-mode: false
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} # read the steps about it below
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json