-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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!
umarcor, JohnLBergqvist, gtirloni, cauebs, unfor19 and 40 more
Metadata
Metadata
Assignees
Labels
No labels