From d370dfd75e7061184b548ef6ca71a75a02dc48b1 Mon Sep 17 00:00:00 2001 From: Lain Date: Sun, 13 Sep 2026 15:27:01 +0200 Subject: [PATCH] ci(build): let the plugin-jar allowlist accept the web app's directory layout The release PR to main failed Build plugin with 121 legitimate entries listed as unexpected: the allowlist admitted only flat jcef/*.js|html and jcef/css/*.css, and since 6.0.0 the web app lives in directories by family (controllers, core, models, views, css/views/...). The pattern now accepts subdirectories while still demanding the js, html and css extensions, so a stray map, doc or fixture under resources/jcef keeps failing the build. Checked against the local 6.0.0 zip: 0 unexpected entries, 126 jcef files, all js, html or css. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b794da3..19edeebd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -528,7 +528,7 @@ jobs: | grep -vE '^dev/lain/claudejb/.*\.class$' \ | grep -vE '^META-INF/' \ | grep -vE '^icons/[^/]+\.svg$' \ - | grep -vE '^jcef/([^/]+\.(js|html)|css/[^/]+\.css)$' > /tmp/unexpected.txt || true + | grep -vE '^jcef/(.+\.(js|html)|css/.+\.css)$' > /tmp/unexpected.txt || true if [ -s /tmp/unexpected.txt ]; then echo "::error::unexpected entries in the plugin jar — either they must not ship, or add their family to this allowlist" cat /tmp/unexpected.txt