Squashed 'nginx/' content from commit 297b09646

git-subtree-dir: nginx
git-subtree-split: 297b0964644ee242fef1bf8e2af0587520072309
This commit is contained in:
Ava Apples Affine 2026-04-30 00:59:20 +00:00
commit 484a904fa7
528 changed files with 294288 additions and 0 deletions

49
.github/workflows/check-whitespace.yaml vendored Normal file
View file

@ -0,0 +1,49 @@
name: Check Whitespace
# Process `git log --check` output to extract just the check errors.
on:
pull_request:
types: [ opened, synchronize ]
jobs:
check-whitespace:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: git log --check
run: |
echo "## Whitespace Check Results" >${GITHUB_STEP_SUMMARY}
err=0
commit=
while read dash hash subj
do
case "${dash}" in
"---")
err=0
commit="${hash} (\"${subj}\")"
;;
"")
;;
*)
if test -n "${commit}"
then
echo "" | tee -a ${GITHUB_STEP_SUMMARY}
echo "--- ${commit}" | tee -a ${GITHUB_STEP_SUMMARY}
fi
err=1
commit=
# Ignore the variable names, this is actually the output from
# git-log --check
echo "${dash} ${hash} ${subj}" | tee -a ${GITHUB_STEP_SUMMARY}
;;
esac
done <<< $(git log --check --pretty=format:"--- %h %s" ${{github.event.pull_request.base.sha}}..)
if test ${err} -ne 0
then
exit 2
fi