megalinter
megalinter copied to clipboard
devskim failure: detected dubious ownership in repository
Describe the bug devskim fails with message:
git config --global --add safe.directory /tmp/lint/.git
fatal: detected dubious ownership in repository at '/tmp/lint/.git'
To add an exception for this directory, call:
To Reproduce Steps to reproduce the behavior:
see the following failed run: https://github.com/ahmadnassri/action-commit-lint/actions/runs/5696529161/job/15441765582
I also replicated this locally with make lint
command on that repo
Expected behavior
should probably set git config --global --add safe.directory *
before running devskim
Screenshots
Additional context N/A