Skip to content

Commit c0c1e0b

Browse files
authored
CI: Fix problems with Git permissions on Ubuntu (#3884)
1 parent b4a02da commit c0c1e0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-test-ubuntu-arm64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
# have to checkout selective submodules by our own
9292
# related issue: https://github.com/actions/checkout/issues/1779
9393
export HOME=${RUNNER_TEMP}
94-
git config --global --add safe.directory ${GITHUB_WORKSPACE}
94+
git config --global --add safe.directory '*'
9595
git submodule update --init --depth 1 thirdparty/imgui thirdparty/parallel-hashmap
9696
9797
- name: Install thirdparty libs

.github/workflows/build-test-ubuntu-x64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
# have to checkout selective submodules by our own
6969
# related issue: https://github.com/actions/checkout/issues/1779
7070
export HOME=${RUNNER_TEMP}
71-
git config --global --add safe.directory ${GITHUB_WORKSPACE}
71+
git config --global --add safe.directory '*'
7272
git submodule update --init --depth 1 thirdparty/imgui thirdparty/parallel-hashmap
7373
7474
- name: Install thirdparty libs

0 commit comments

Comments
 (0)