From: Hans Kristian Rosbach Date: Wed, 15 May 2024 11:38:26 +0000 (+0200) Subject: Make lint check ignore *.patch files, as those can legally have trailing X-Git-Tag: 2.1.7~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54335cc67a54ff305341ff58efcd9a4cdc9105c4;p=thirdparty%2Fzlib-ng.git Make lint check ignore *.patch files, as those can legally have trailing whitespace or end the file with blank lines. --- diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index afea46a1..ecfd6471 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,4 +14,4 @@ jobs: - name: Whitespace errors run: | git config core.whitespace blank-at-eol - git diff --color --check ${{ github.event.pull_request.base.sha }} + git diff --color --check ${{ github.event.pull_request.base.sha }} -- './*' ':!*.patch'