enforce short SHAs throughout build pipeline
This commit is contained in:
parent
133ed7190e
commit
9703850e8f
5 changed files with 21 additions and 5 deletions
|
@ -565,7 +565,7 @@ class CustomBuildTrigger(BuildTrigger):
|
|||
'commit': {
|
||||
'type': 'string',
|
||||
'description': 'first 7 characters of the SHA-1 identifier for a git commit',
|
||||
'pattern': '^(\w{7})$',
|
||||
'pattern': '^([A-Fa-f0-9]{7})$',
|
||||
},
|
||||
'ref': {
|
||||
'type': 'string',
|
||||
|
|
Reference in a new issue