1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-11-19 12:32:40 +01:00

Fix Verificarlo CI by setting the safe.directory git variable

The Verificarlo CI was failing du to a change in how git detects
repositories after a security vulnerability :
https://github.blog/2022-04-12-git-security-vulnerability-announced/

The simplest fix for now is probably to set the safe.directory get
variable to avoid the new behaviour.
This commit is contained in:
Aurelien Delval 2022-09-23 12:02:14 +02:00
parent 858bdbf7f4
commit 8a8eb1bc23

View File

@ -39,7 +39,9 @@ jobs:
make install
- name: Run tests
run: vfc_ci test -g -r
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
vfc_ci test -g -r
- name: Commit test results
run: |