From de52f88bf7a35849229bd35c9a340bf9b90bedba Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Thu, 16 Mar 2023 23:24:17 -0600 Subject: [PATCH 1/2] feat: remove unused core.autocrlf setting --- entrypoint.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index b508142..8334954 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,8 +4,6 @@ set -e echo "::group::verify-changed-files" -git config --local core.autocrlf "$INPUT_AUTO_CRLF" - if [[ -n "$INPUT_FILES_PATTERN_FILE" ]]; then TRACKED_FILES=$(git diff --diff-filter=ACMUXTRD --name-only | grep -x -E -f "$INPUT_FILES_PATTERN_FILE" | awk -v d="|" '{s=(NR==1?s:s d)$0}END{print s}') From 16fbe2f9e5720e081ee93240601ba2cfafb46be1 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Thu, 16 Mar 2023 23:24:58 -0600 Subject: [PATCH 2/2] Update action.yml --- action.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/action.yml b/action.yml index 036284c..46d3a61 100644 --- a/action.yml +++ b/action.yml @@ -9,10 +9,6 @@ inputs: description: 'Separator used to split the `files` input' default: "\n" required: false - autocrlf: - description: 'Modify the git config [core.autocrlf](https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_core_autocrlf).' - default: 'input' - required: false separator: description: 'Output string separator.' required: false @@ -48,7 +44,6 @@ runs: # INPUT_ is not available in Composite run steps # https://github.community/t/input-variable-name-is-not-available-in-composite-run-steps/127611 INPUT_FILES_PATTERN_FILE: ${{ steps.glob.outputs.paths-output-file }} - INPUT_AUTO_CRLF: ${{ inputs.autocrlf }} INPUT_SEPARATOR: ${{ inputs.separator }} branding: