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

Commit 2ee6e09

Browse files
committed
ensure response file has content
1 parent 57bc4d6 commit 2ee6e09

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,16 @@ steps:
187187
else:
188188
type: respond
189189
with: e-no-response.md
190+
- type: getFileContents
191+
action_id: fileContents
192+
filename: 'responses/welcome-text.md'
193+
- type: gate
194+
left: '/\w+/gm'
195+
operator: test
196+
right: '%actions.fileContents%'
197+
else:
198+
- type: respond
199+
with: e-no-response.md
190200
- type: respond
191201
with: add-first-step.md
192202
- type: octokit

0 commit comments

Comments
 (0)