screwdriver-data-schema 23.2.3 → 23.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/regex.js +2 -2
- package/package.json +1 -1
package/config/regex.js
CHANGED
|
@@ -51,8 +51,8 @@ module.exports = {
|
|
|
51
51
|
INTERNAL_TRIGGER: /^~([\w-]+)$/,
|
|
52
52
|
// Stages can only be named with A-Z,a-z,0-9,-,_
|
|
53
53
|
STAGE_NAME: /^[\w-]+$/,
|
|
54
|
-
// Stage trigger like ~stage@deploy or ~stage@stageName:jobName
|
|
55
|
-
STAGE_TRIGGER:
|
|
54
|
+
// Stage trigger like ~stage@deploy or ~stage@stageName:jobName or stage@deploy or stage@stageName:jobName
|
|
55
|
+
STAGE_TRIGGER: /^~?stage@([\w-]+)(?::([\w-]+))?$/,
|
|
56
56
|
// Don't combine EXTERNAL_TRIGGER and EXTERNAL_TRIGGER_AND for backward compatibility
|
|
57
57
|
// BlockBy does not support EXTERNAL_TRIGGER_AND
|
|
58
58
|
// External trigger like ~sd@123:component (OR case)
|