Recently, we started getting errors like:
fatal: unsafe repository ('/github/workspace' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /github/workspace
when using this action. This started when the container started install git 2.23.2-r0 instead of git 2.23.1-r0
This results in the workspace being marked as insecure due to a CVE Fix: https://github.com/git/git/blob/master/Documentation/RelNotes/2.34.2.txt
in this case, we're not in a multiuser git workspace, so we should be save to enable the git config above.
Recently, we started getting errors like:
when using this action. This started when the container started install git 2.23.2-r0 instead of git 2.23.1-r0
This results in the workspace being marked as insecure due to a CVE Fix: https://github.com/git/git/blob/master/Documentation/RelNotes/2.34.2.txt
in this case, we're not in a multiuser git workspace, so we should be save to enable the git config above.