Skip to content

Add a GitHub workflow to check for whitespace issues. #782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ac000
Copy link
Member

@ac000 ac000 commented Jul 11, 2025

Add a GitHub workflow to check for whitespace issues.

If it fails you can check the 'git log --check' output of the workflow
to see what the issue is. E.g. (Excess/unwanted whitespace will be
highlighted in red).

  --- 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,
  src/http/ngx_http_upstream.c:421: trailing whitespace.
  +      ngx_http_upstream_backend_ssl_cipher, 0,

We make use of this in Unit... specific exceptions can be handled via
gitattributes(5).

If it fails you can check the 'git log --check' output of the workflow
to see what the issue is. E.g. (Excess/unwanted whitespace will be
highlighted in red).

  --- afe5753 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,
  src/http/ngx_http_upstream.c:421: trailing whitespace.
  +      ngx_http_upstream_backend_ssl_cipher, 0,

We make use of this in Unit... specific exceptions can be handled via
gitattributes(5).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant