Skip to content

Action fails when the file has just LF/CRLF diffs on windows #1202

@HaoboGu

Description

@HaoboGu

Subject of the issue

I use create-pull-request to create pr after build the bindings on different platforms. On windows, the built bindings uses CRLF, but when they are committed to repo, CRLF will be replaced by LF, results in "nothing to commit" error and the action fails then

Steps to reproduce

See this action run: https://github.com/HaoboGu/ors/runs/7482028978?check_suite_focus=true#step:7:67

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