Skip to content

test(e2e): single-quote PROTECTOR_IDENTITY_REGEXP#2

Merged
thejefflarson merged 1 commit into
mainfrom
fix-e2e-identity-yaml-escape
Jun 18, 2026
Merged

test(e2e): single-quote PROTECTOR_IDENTITY_REGEXP#2
thejefflarson merged 1 commit into
mainfrom
fix-e2e-identity-yaml-escape

Conversation

@thejefflarson

Copy link
Copy Markdown
Owner

Yesterday's PR put the regexp in a double-quoted YAML string with \\. — bash heredoc collapsed it to \. and YAML rejects \. as an unknown escape inside double quotes. Single-quote so YAML treats the backslash literally.

…lash

The previous "^https://github\\.com/..." double-quoted value passed
through the bash heredoc as "...\.com..." and YAML rejected \. as an
unknown escape, killing the protector deploy. Single-quoting the YAML
string sidesteps the escape rules entirely.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@thejefflarson thejefflarson merged commit c4ab566 into main Jun 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant