From fb9f5feef496654292dd6dbdf36b2e2d06fba0b7 Mon Sep 17 00:00:00 2001 From: Yi Huang Date: Fri, 12 Jun 2026 17:07:38 +0800 Subject: [PATCH] ci: exclude imported thirdparty and wasm_bpf fixtures from super-linter The source import (#44) brought in generated third-party code (thirdparty/wasi_crypto/api.hpp, generated from witx) and BPF test fixtures (test/plugins/wasm_bpf/assets/) that upstream deliberately does not format-enforce (.github/scripts/clang-format.sh excludes /thirdparty/ and never lints test/). Exclude them so PRs touching these paths stop failing clang-format. test/plugins/wasi_crypto/asymmetric.cpp stays lintable on purpose: it is first-party test code and gets reformatted in #24. Part of #45. Co-Authored-By: Claude Fable 5 Signed-off-by: Yi Huang --- .github/workflows/super-linter.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index e8a1660b..667c19d8 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -28,6 +28,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # super-linter configurations + # imported third-party/generated code and BPF test fixtures are not + # format-enforced upstream (see .github/scripts/clang-format.sh there) + FILTER_REGEX_EXCLUDE: .*/(thirdparty|test/plugins/wasm_bpf/assets)/.* MULTI_STATUS: false SUPPRESS_POSSUM: true VALIDATE_ALL_CODEBASE: false