mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Tests: Opt out of Git mitigation of CVE-2022-24765
We are always a single user when running unit tests in the container. Suppresses this error: ``` $ git submodule update --init --recursive --remote fatal: detected dubious ownership in repository at '/__w/e107/e107' To add an exception for this directory, call: git config --global --add safe.directory /__w/e107/e107 ```
This commit is contained in:
3
.github/workflows/test-unit.yml
vendored
3
.github/workflows/test-unit.yml
vendored
@@ -119,6 +119,9 @@ jobs:
|
||||
run: composer update --prefer-dist --no-progress
|
||||
working-directory: ./e107_tests/
|
||||
|
||||
- name: Opt out of CVE-2022-24765 mitigation
|
||||
run: git config --global safe.directory '*'
|
||||
|
||||
- name: Download Git submodule dependencies
|
||||
run: git submodule update --init --recursive --remote
|
||||
|
||||
|
Reference in New Issue
Block a user