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

Commit abe60a6

Browse files
committed
check getTree store vs action_id
1 parent 380126d commit abe60a6

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

config.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,16 @@ steps:
5353
# Validate the filepath for the my-workflow.yml file
5454
# get tree
5555
- type: getTree
56-
# action_id: isInTree
56+
action_id: isInTree
5757
store:
5858
firstWorkflowTree: "%result.data.tree%"
5959
recursive: true
6060
sha: "%payload.pull_request.head.sha%"
61+
- type: respond
62+
with: e-result.md
63+
data:
64+
resultData: "%registration.store.firstWorkflowTree%"
65+
actionIdData: "%actions.isInTree.data.tree%"
6166
# check for a file in a tree
6267
- type: gate
6368
# left: "%actions.isInTree.data.tree%"

responses/e-result.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# action_id
2+
3+
{{actionIdData}}
4+
5+
# result
6+
7+
{{resultData}}

0 commit comments

Comments
 (0)