Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit f7bb485

Browse files
committed
bring back validation of gate
1 parent 8c23659 commit f7bb485

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

config.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -423,16 +423,16 @@ steps:
423423
description: Use contextual information to validate
424424
event: pull_request.synchronize
425425
actions:
426-
# - type: getFileContents
427-
# action_id: fileContents
428-
# filename: 'config.yml'
429-
# - type: gate
430-
# left: '/^\s{4}left: *'%payload.pull_request.title%'(?!#).*$\n operator: *===(?!#).*$\n. right: *Add name to README(?!#).*$/gm'
431-
# operator: test
432-
# right: '%actions.fileContents%'
433-
# else:
434-
# - type: respond
435-
# with: 10.1_e-no-gate-options.md
426+
- type: getFileContents
427+
action_id: fileContents
428+
filename: 'config.yml'
429+
- type: gate
430+
left: '/^\s{4}left: *'%payload.pull_request.title%'(?!#).*$\n operator: *===(?!#).*$\n. right: *Add name to README(?!#).*$/gm'
431+
operator: test
432+
right: '%actions.fileContents%'
433+
else:
434+
- type: respond
435+
with: 10.1_e-no-gate-options.md
436436
- type: respond
437437
with: 10.0_respond-success.md
438438
data:

0 commit comments

Comments
 (0)