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: 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}')