Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.
This repository was archived by the owner on May 7, 2024. It is now read-only.

Cannot rebase because of Github security issue #92

@gent-ahmeti

Description

@gent-ahmeti

Looks like this action is affected by: https://github.blog/2022-04-12-git-security-vulnerability-announced/

More information can be found in this thread: actions/checkout#760

Since the rebase is running on a Docker container we can't use the workaround given in this thread, making /github/workspace a safe directory

I think the solution is to use the latest git version inside the Docker container

Error that I'm getting with version 1.4:

Collecting information about PR #*PR number* of *Repo name*...
Base branch for PR #*PR number* is *Base branch*
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions