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.2.0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4af7963e930323a8584594e553ee8c52add57b70;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'