Skip to content

Commit

Permalink
.github: workflows: coverity: disable git unsafe directory check
Browse files Browse the repository at this point in the history
Otherwise job will fail with

| fatal: detected dubious ownership in repository at '/__w/rauc/rauc'
| To add an exception for this directory, call:
|
| 	git config --global --add safe.directory /__w/rauc/rauc

since the container user is not the repository owner.

Signed-off-by: Enrico Joerns <[email protected]>
  • Loading branch information
ejoerns committed Oct 10, 2023
1 parent c52570c commit 6e081d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
exit
fi
# Prevent git's unsafe directory check from failing
git config --global --add safe.directory *
test/get-coverity.sh
gcc --version
Expand Down

0 comments on commit 6e081d9

Please sign in to comment.