Skip to content

Commit

Permalink
test.sh: add repo dir as safe directory
Browse files Browse the repository at this point in the history
See containerbuildsystem/atomic-reactor#1896

Signed-off-by: Adam Cmiel <acmiel@redhat.com>
  • Loading branch information
chmeliik committed Apr 22, 2022
1 parent 5f7da93 commit 7df3f84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ function setup_kojic() {

# Pip install packages for unit tests
$RUN "${PIP_INST[@]}" -r tests/requirements.txt

# workaround for https://github.com/actions/checkout/issues/766
$RUN git config --global --add safe.directory "$PWD"
}

case ${ACTION} in
Expand Down

0 comments on commit 7df3f84

Please sign in to comment.