fix: mark workspace as git safe directory before qodana

This commit is contained in:
copilot-swe-agent[bot]
2026-05-28 17:34:58 +00:00
committed by GitHub
parent cd0e0f0e61
commit 31214f0af0
+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"