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) (#60)

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>

Co-authored-by: Addisu Z. Taddese <addisu@gmail.com>
  • Loading branch information
scpeters and azeey committed Jun 6, 2022
1 parent c859eba commit 8113672
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 8113672

Please sign in to comment.