Skip to content

Commit 8095add

Browse files
committed
fix(ci): make invisible-character PCRE locale-independent
1 parent ad589f0 commit 8095add

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/dogfood-gate.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
# Checks for: zero-width spaces, zero-width joiners, BOM, soft hyphens,
125125
# non-breaking spaces, null bytes, and other invisible Unicode in source files.
126126
set +e
127-
PATTERNS='\x00|[\x01-\x08\x0B\x0C\x0E-\x1F]|\x{a0}|\x{ad}|\x{200b}|\x{200c}|\x{200d}|\x{200e}|\x{200f}|\x{202a}|\x{202b}|\x{202c}|\x{202d}|\x{202e}|\x{2060}|\x{feff}'
127+
PATTERNS='(*UTF)[\x00-\x08\x0B\x0C\x0E-\x1F\x{a0}\x{ad}\x{200b}-\x{200f}\x{202a}-\x{202f}\x{2060}\x{2066}-\x{2069}\x{feff}]'
128128
find "$GITHUB_WORKSPACE" \
129129
-not -path '*/.git/*' -not -path '*/node_modules/*' \
130130
-not -path '*/.deno/*' -not -path '*/target/*' \

‎rescript-ecosystem/idaptik-rescript13-staging/.github/workflows/dogfood-gate.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
# Checks for: zero-width spaces, zero-width joiners, BOM, soft hyphens,
113113
# non-breaking spaces, null bytes, and other invisible Unicode in source files.
114114
set +e
115-
PATTERNS='\x00|[\x01-\x08\x0B\x0C\x0E-\x1F]|\x{a0}|\x{ad}|\x{200b}|\x{200c}|\x{200d}|\x{200e}|\x{200f}|\x{202a}|\x{202b}|\x{202c}|\x{202d}|\x{202e}|\x{2060}|\x{feff}'
115+
PATTERNS='(*UTF)[\x00-\x08\x0B\x0C\x0E-\x1F\x{a0}\x{ad}\x{200b}-\x{200f}\x{202a}-\x{202f}\x{2060}\x{2066}-\x{2069}\x{feff}]'
116116
find "$GITHUB_WORKSPACE" \
117117
-not -path '*/.git/*' -not -path '*/node_modules/*' \
118118
-not -path '*/.deno/*' -not -path '*/target/*' \

0 commit comments

Comments
 (0)