Merge pull request #224 from copenhagentruckwash/fix-qodana-scan-fail-open-issue

Run Qodana locally when cloud token is missing
This commit is contained in:
Jeppe B
2026-06-01 23:15:47 +02:00
committed by GitHub
+4 -2
View File
@@ -46,6 +46,8 @@ jobs:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
QODANA_ENDPOINT: 'https://qodana.cloud'
- name: 'Skip Qodana Scan (missing cloud token)'
- name: 'Qodana Scan (without cloud upload)'
if: ${{ steps.qodana-token.outputs.present != 'true' }}
run: echo "Skipping Qodana because QODANA_TOKEN is not configured for this repository."
uses: JetBrains/qodana-action@v2026.1
with:
pr-mode: false