Update ghec-audit-log-utils.js
Co-authored-by: Stefan Stölzle <stoe@github.com>
This commit is contained in:
Родитель
57fee5d225
Коммит
9db338b752
|
@ -15,7 +15,7 @@ function validateInput (program, config) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate correctness
|
// Validate correctness
|
||||||
const tokenRegex = /^[A-Za-z0-9_]+$/i
|
const tokenRegex = /^[g(p|o|u|s|r)1_]{0,1}[A-Za-z0-9_]+$/
|
||||||
const base64Regex = '(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)'
|
const base64Regex = '(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)'
|
||||||
const orgRegex = /^[a-z\d]+(?:-?[a-z\d]+)*$/i
|
const orgRegex = /^[a-z\d]+(?:-?[a-z\d]+)*$/i
|
||||||
const constraints = {
|
const constraints = {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче