Skip to content

Commit

Permalink
Fix codecov report generation by adding the workspace to git's safe d…
Browse files Browse the repository at this point in the history
…irectory (#56)

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
  • Loading branch information
azeey authored and scpeters committed Jun 4, 2022
1 parent c859eba commit f41b8fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ apt -y install \
python3-pip \
wget

# Add the workspace as a safe directory in the global git config. This ensures that any
# even if the workspace is owned by another user, git commands still work.
# See https://github.com/actions/checkout/issues/760
git config --global --add safe.directory $GITHUB_WORKSPACE

SYSTEM_VERSION=`lsb_release -cs`

SOURCE_DEPENDENCIES="`pwd`/.github/ci/dependencies.yaml"
Expand Down

0 comments on commit f41b8fd

Please sign in to comment.