Skip to content

Commit 28a99c2

Browse files
committed
dont save gitconfig to /root
1 parent 4c802c6 commit 28a99c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
docker run --rm \
2929
--mount type=bind,source=./,target=/app \
3030
-t hjwp/obeythetestinggoat-book-tester:latest \
31-
bash -c "git config --global --add safe.directory '*'"
31+
bash -c "git config --add safe.directory '*'"
32+
# --global wont work bc it writes to /root which is not persisted
33+
# bash -c "git config --global --add safe.directory '*'
3234
3335
- name: test chapter 1
3436
run: |

0 commit comments

Comments
 (0)