diff --git a/.gitattributes b/.gitattributes index 59fd029..441afcc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/.github/workflows/pre-commit-format.yml b/.github/workflows/pre-commit-format.yml index be9e078..8491d23 100644 --- a/.github/workflows/pre-commit-format.yml +++ b/.github/workflows/pre-commit-format.yml @@ -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