Skip to content

Commit a462d5a

Browse files
committed
fix(ci): exclude third-party HTML dirs from mixed content check
1 parent bc398ce commit a462d5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/wellknown-enforcement.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
7474
- name: Mixed content check
7575
run: |
76-
MIXED=$(grep -rE 'src="http://|href="http://' --include="*.html" --include="*.htm" . 2>/dev/null | grep -vE 'localhost|127\.0\.0\.1|example\.com' | head -5 || true)
76+
MIXED=$(grep -rE 'src="http://|href="http://' --include="*.html" --include="*.htm" . 2>/dev/null | grep -vE 'localhost|127\.0\.0\.1|example\.com|echidna-playground/|external_corpora/|node_modules/' | head -5 || true)
7777
if [ -n "$MIXED" ]; then
7878
echo "::error::Mixed content (HTTP in HTML)"
7979
echo "$MIXED"

0 commit comments

Comments
 (0)