Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

fix: update github token validation to match the new changes in the p… #175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions env/parameters.tmpl.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"title": "Pipeline bot Git token",
"description": "A token for the Git user that will perform git operations inside a pipeline. This includes environment repository creation, and so this token should have full repository permissions. To create a token go to {{ .GitServer }}/settings/tokens/new?scopes=repo,read:user,read:org,user:email,write:repo_hook,delete_repo then enter a name, click Generate token, and copy and paste the token into this prompt.",
"minLength": 40,
"maxLength": 40,
"pattern": "^[0-9a-f]{40}$"
"maxLength": 255,
"pattern": "^[A-Za-z0-9_]{40,255}$"
}
{{- else if eq .GitKind "bitbucketserver" }}
"token": {
Expand Down