Skip to content

Commit 48cf340

Browse files
Fix regex field in ai.proto (#10536)
1 parent 94d6f55 commit 48cf340

File tree

5 files changed

+74
-60
lines changed

5 files changed

+74
-60
lines changed

.github/workflows/push-docs.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ on:
1515
jobs:
1616
receiver:
1717
runs-on: ubuntu-latest
18+
outputs:
19+
minor: ${{ steps.dispatch-receiver.outputs.dispatch_lts }}
1820
steps:
1921
- name: The glooe-release-created event is received when a relase is cut in solo-projects repo
2022
id: dispatch-receiver
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
changelog:
2+
- type: NON_USER_FACING
3+
description: Adds an alias for incorrect regex capitalization in the ai proto introduced by docs revisions.

docs/content/reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/enterprise/options/ai/ai.proto.sk.md

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projects/gloo/api/v1/enterprise/options/ai/ai.proto

+3
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ message AIPromptGuard {
655655
message HeaderMatch {
656656
// The header string match type.
657657
enum MatchType {
658+
option allow_alias = true;
658659
// The string must match exactly the specified string.
659660
EXACT = 0;
660661
// The string must have the specified prefix.
@@ -664,6 +665,8 @@ message AIPromptGuard {
664665
// The header string must contain the specified string.
665666
CONTAINS = 3;
666667
// The string must match the specified [RE2-style regular expression](https://github.com/google/re2/wiki/) pattern.
668+
REGEX = 4;
669+
// Do not use. Use `REGEX` (fully capitalized) instead.
667670
regex = 4;
668671
}
669672
// The header key string to match against.

projects/gloo/pkg/api/v1/enterprise/options/ai/ai.pb.go

+64-59
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)