]> git.kaiwu.me - nginx.git/commit
GH: add a workflow to check for whitespace issues
authorAndrew Clayton <a.clayton@nginx.com>
Thu, 26 Mar 2026 17:51:56 +0000 (17:51 +0000)
committerAndrew Clayton <a.clayton@nginx.com>
Fri, 24 Apr 2026 16:33:41 +0000 (17:33 +0100)
commit07c7adfc7fa624afc291b0cf5b06a059c62ebb8c
treef80104cd1f80646a170b0ac03fef4549331654f0
parent1f27ab1c8f2e3e90fbdd87f367b3ceca10df5314
GH: add a workflow to check for whitespace issues

This runs git-log(1) --check on *each* commit and will report any
issues, e.g.

  --- afe5753fa ("Changes made in upstream")
  src/http/ngx_http_upstream.c:415: trailing whitespace.
  +
  src/http/ngx_http_upstream.c:417: trailing whitespace.
  +      ngx_http_upstream_backend_ssl_protocol, 0,

Specific exceptions can be handled via gitattributes(5).
.github/workflows/check-whitespace.yaml [new file with mode: 0644]