Skip to content

Commit a271de4

Browse files
committed
fix(ci): exclude third-party HTML from mixed content check
1 parent 51f808c commit a271de4

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
@@ -76,7 +76,7 @@ jobs:
7676
7777
- name: Mixed content check
7878
run: |
79-
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)
79+
MIXED=$(grep -rE 'src="http://|href="http://' --include="*.html" --include="*.htm" . 2>/dev/null | grep -vE 'localhost|127\.0\.0\.1|example\.com|package-publishers/|coq-ecosystem/|node_modules/|third-party/|vendor/' | head -5 || true)
8080
if [ -n "$MIXED" ]; then
8181
echo "::error::Mixed content (HTTP in HTML)"
8282
echo "$MIXED"

0 commit comments

Comments
 (0)