summaryrefslogtreecommitdiffstats
path: root/templates/shared/secrets/add_list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shared/secrets/add_list.tmpl')
-rw-r--r--templates/shared/secrets/add_list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/secrets/add_list.tmpl b/templates/shared/secrets/add_list.tmpl
index a80ec314d2..6215eff369 100644
--- a/templates/shared/secrets/add_list.tmpl
+++ b/templates/shared/secrets/add_list.tmpl
@@ -63,7 +63,7 @@
id="secret-name"
name="name"
value="{{.name}}"
- pattern="^[a-zA-Z_][a-zA-Z0-9_]*$"
+ pattern="^(?!GITEA_|GITHUB_)[a-zA-Z_][a-zA-Z0-9_]*$"
placeholder="{{.locale.Tr "secrets.creation.name_placeholder"}}"
>
</div>