From bccf933bc9932c7e819d0ed6768dfeba3b2c9142 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Mon, 8 Aug 2022 17:30:26 +0100 Subject: Force no git line ending conversion on format workflow (#16176) --- .github/workflows/format_push.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github') diff --git a/.github/workflows/format_push.yml b/.github/workflows/format_push.yml index a180b29009..910bba9a4e 100644 --- a/.github/workflows/format_push.yml +++ b/.github/workflows/format_push.yml @@ -17,6 +17,10 @@ jobs: with: fetch-depth: 0 + - name: Disable automatic eol conversion + run: | + echo "* -text" > .git/info/attributes + - name: Install dependencies run: | pip3 install -r requirements-dev.txt -- cgit v1.2.3