Skip to content

Commit

Permalink
🎨 Git attribute: CRLF for some files
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNitroG committed Feb 26, 2024
1 parent 03064ae commit 07da030
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
*py text eol=crlf
*sh text eol=lf
*yml text eol=crlf
*yaml text eol=crlf
*toml text eol=crlf
*json text eol=crlf
*txt text eol=crlf
2 changes: 2 additions & 0 deletions .github/workflows/pre-commit-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
steps:
- uses: actions/checkout@main
- uses: pre-commit/action@main
with:
extra_args: --all-files
- name: Update pre-commit hook
run: pre-commit autoupdate
- uses: stefanzweifel/git-auto-commit-action@master
Expand Down

0 comments on commit 07da030

Please sign in to comment.