Skip to content

Commit d88c931

Browse files
committed
ci: Add runner temp directory to git safe directory list
This commit adds the GitHub runner temporary directory (`RUNNER_TEMP`) to the Git safe directory list because the `meta-zephyr-sdk` build process may check out source files under this directory. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
1 parent bb23eb2 commit d88c931

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,7 @@ jobs:
823823
# Actions runner is implemented. Remove this workaround when
824824
# GitHub comes up with a fundamental fix for this problem.
825825
git config --global --add safe.directory ${GITHUB_WORKSPACE}
826+
git config --global --add safe.directory ${RUNNER_TEMP}
826827
827828
- name: Set up build environment (Linux)
828829
if: ${{ runner.os == 'Linux' }}

0 commit comments

Comments
 (0)