Internally it's stored as LF, but it converts to the native line endings on checkout. So Windows users will have CRLF, and Linux will have LF.
AutoFormatSQL Action runs upon pushing to the master branch (after PR is merged).
Removes trailing whitespace
Replaces tabs with the correct amount of spaces (tab size = 4)
Removes blank lines at the end of the file
~Requires: GitHub repo page - Settings\Actions\General\Workflow permissions\Read and write permissions~
Thanks to permissions content:write no longer needs the token
https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings#per-repository-settings
Internally it's stored as LF, but it converts to the native line endings on checkout. So Windows users will have CRLF, and Linux will have LF.
AutoFormatSQL Action runs upon pushing to the master branch (after PR is merged).
~Requires: GitHub repo page - Settings\Actions\General\Workflow permissions\Read and write permissions~ Thanks to permissions content:write no longer needs the token