Skip to content

Commit 218e719

Browse files
authored
Fix the variable regexp pattern on web page (#27161)
same as (#26910)
1 parent e46274b commit 218e719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/shared/variables/variable_list.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
name="name"
7474
id="dialog-variable-name"
7575
value="{{.name}}"
76-
pattern="^[a-zA-Z_][a-zA-Z0-9_]*$"
76+
pattern="^(?!GITEA_|GITHUB_)[a-zA-Z_][a-zA-Z0-9_]*$"
7777
placeholder="{{.locale.Tr "secrets.creation.name_placeholder"}}"
7878
>
7979
</div>

0 commit comments

Comments
 (0)