From 305071c0801bf069b1692ee6508ff07cb5ca8d0b Mon Sep 17 00:00:00 2001 From: NikolaiFa Date: Tue, 14 Apr 2026 14:00:39 +0200 Subject: [PATCH 1/2] Add check for trailing spaces to pipeline --- .github/workflows/build-spec.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build-spec.yml b/.github/workflows/build-spec.yml index 034e148..958683d 100644 --- a/.github/workflows/build-spec.yml +++ b/.github/workflows/build-spec.yml @@ -114,3 +114,15 @@ jobs: user-email: ci@ssp-standard.org target-branch: main target-directory: static/docs/main + + check-trailing-spaces: + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v4 + + - name: Check for trailing spaces + run: | + ! grep -rIn ' $' --include="*.adoc" --include="*.h" --include="*.c" \ + --include="*.xsd" --include="*.xml" --include="*.yml" \ + --include="*.txt" --include="*.ps1" . From 5dd5667dea38c74769876519d31abbff53fecb5d Mon Sep 17 00:00:00 2001 From: "Pierre R. Mai" Date: Tue, 5 May 2026 12:03:46 +0200 Subject: [PATCH 2/2] Restrict set of checked files to current usage Signed-off-by: Pierre R. Mai --- .github/workflows/build-spec.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-spec.yml b/.github/workflows/build-spec.yml index 958683d..5c0f673 100644 --- a/.github/workflows/build-spec.yml +++ b/.github/workflows/build-spec.yml @@ -123,6 +123,6 @@ jobs: - name: Check for trailing spaces run: | - ! grep -rIn ' $' --include="*.adoc" --include="*.h" --include="*.c" \ - --include="*.xsd" --include="*.xml" --include="*.yml" \ - --include="*.txt" --include="*.ps1" . + ! grep -rIn ' $' --include="*.adoc" \ + --include="*.xsd" --include="*.yml" \ + --include="*.txt" .