Skip to content

File path references containing ' - ' are treated as '- ' #8

@Stuyvenstein

Description

@Stuyvenstein

I am attempting to replace the contents within a file where the path to the file contains the following sequence of characters withing a directory name: " - ", but when my workflow triggers the file path is instead referenced as: "- " so it seams to be removing the leading space in that sequence.
I am using a gitea server with a Windows based runner.
See attachments.
My workflow yaml file:
a

The action running on my gitea server:
b

Note: I found that by adding an additional space, it solves the issue but this is a workaround, eg

"  - "
is then treaded as " - "

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions