Open
Description
I'm frequently debugging issues on my Windows builds which are due to the default git behavior of automatically changing line endings upon checkout. This default behavior sort-of makes sense for Windows users to edit text files in editors, but for CI it's really unfortunate.
It would be really nice to have a native option to disable autocrlf, and checkout the repo as-is.
Currently I use this as a workaround (before running this action):
steps:
- name: Prepare git
run: git config --global core.autocrlf false
- uses: actions/checkout@v2
But it would be nice if I could tell all the users of my action that they can just use:
- uses: actions/checkout@v2
with:
autocrlf: false
Thanks!
Metadata
Metadata
Assignees
Labels
No labels