Skip to content

Git 2.23.2 has new security that breaks this action #4

@jasonamyers

Description

@jasonamyers

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions