Merge pull request #160 from copenhagentruckwash/copilot/fix-qodana-workflow-failure

Fix Qodana failure on self-hosted runner by trusting workspace as Git safe.directory
This commit is contained in:
Jeppe B
2026-05-28 19:39:25 +02:00
committed by GitHub
+2
View File
@@ -20,6 +20,8 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }} # Use PR head when available, otherwise the pushed SHA.
fetch-depth: 0 # a full history is required for pull request analysis
- name: Mark repository as safe for Git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Prepare Qodana cache directories
run: |
mkdir -p "${RUNNER_TEMP}/qodana/caches"