Skip to content

Symlinks aren't handled correctly #83

@tophercullen

Description

@tophercullen

Unsure if this should be here, or in the ghcommit-action repo. It appears likely there's an assumption being made about the file modes when generating the commit blobs. This causing this utility (and dependent action) to generate defunct commits.

Reproducer: Create a new, or modify an existing, symlink to file in the repo. Run the utility (or Github action).

Expected result: the symlink is created/updated to point to the target file.

Actual result: the symlink points to a non-existent file. The name of this file is the contents of the symlink target.

As I'm able to use another action achieve a similar result successfully (qoomon/actions--create-commit), I presume this isn't a limitation of the GH API, but something specific to its usage here.

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