Skip to content

Commit e26d9da

Browse files
committed
Update ignore pattern
1 parent 0df9265 commit e26d9da

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,9 @@ jobs:
202202
# Check if package.json differs
203203
diff plotly/labextension/package.json plotly/labextension-tmp/package.json > package_json_diff.txt || true
204204
205-
# Filter package.json diff to ignore allowed hash changes (e.g. jupyterlab/build keys)
206-
grep -vE '"(jupyterlab|build)"\s*:' package_json_diff.txt > package_json_diff_filtered.txt
205+
206+
# Allow only the "load": "static/..." line to differ
207+
grep -vE '"load": "static/.*\.js"' package_json_diff.txt > package_json_diff_filtered.txt
207208
208209
# Check both filtered diffs
209210
if [ -s filtered_diff.txt ] || [ -s package_json_diff_filtered.txt ]; then

0 commit comments

Comments
 (0)