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

Commit c9cb46d

Browse files
committed
store test
1 parent 9afb6f0 commit c9cb46d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

config.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ before:
1919
title: Start here!
2020
body: 00_welcome-issue.md
2121
store:
22-
firstIssueUrl: "%result.data.issue.html_url%"
23-
firstIssueNumber: "%result.data.issue.number%"
22+
welcomeIssueUrl: "%payload.data.issue.html_url%"
23+
welcomeIssueNumber: "%payload.data.issue.number%"
2424
data:
2525
quicklink: "%payload.repository.html_url%/new/master?filename=.github/workflows/my-workflow.yml"
2626
actionsUrl: "%payload.repository.html_url%/actions/new"
@@ -47,7 +47,7 @@ steps:
4747
event:
4848
- pull_request.opened
4949
- pull_request.edited
50-
link: "{{store.firstIssueUrl}}"
50+
link: "{{store.welcomeIssueUrl}}"
5151
actions:
5252
# - type: gate
5353
# gates:
@@ -102,18 +102,18 @@ steps:
102102
# End filepath verification
103103
#######################################################
104104
- type: respond
105-
issue: "{{store.firstIssueNumber}}"
105+
issue: "{{store.welcomeIssueNumber}}"
106106
with: new-pull-request.md
107107
data:
108108
pullUrl: "%payload.pull_request.html_url%"
109109
- type: closeIssue
110-
issue: "{{store.firstIssueNumber}}"
110+
issue: "{{store.welcomeIssueNumber}}"
111111
- type: createReview
112112
body: 01_merge-workflow.md
113113
event: APPROVE
114114
store:
115-
firstPullUrl: "%result.data.pull_request.html_url%"
116-
firstPullNumber: "%result.data.pull_request.number%"
115+
firstPullUrl: "%payload.data.pull_request.html_url%"
116+
firstPullNumber: "%payload.data.pull_request.number%"
117117
data:
118118
actionsUrl: "%payload.repository.html_url%/actions"
119119

@@ -127,8 +127,8 @@ steps:
127127
body: 02_workflow-triggered.md
128128
action_id: triggerIssue
129129
store:
130-
secondIssueNumber: "%result.data.issue.number%"
131-
secondIssueUrl: "%result.data.issue.html_url%"
130+
secondIssueNumber: "%payload.data.issue.number%"
131+
secondIssueUrl: "%payload.data.issue.html_url%"
132132
- type: respond
133133
with: new-issue.md
134134
issue: "%store.firstPullNumber%"
@@ -232,8 +232,8 @@ steps:
232232
body: 04_merge-workflow.md
233233
event: APPROVE
234234
store:
235-
secondPullNumber: "%result.data.pull_request.number%"
236-
secondPullUrl: "%result.data.pull_request.html_url%"
235+
secondPullNumber: "%payload.data.pull_request.number%"
236+
secondPullUrl: "%payload.data.pull_request.html_url%"
237237
data:
238238
actionsUrl: "%payload.repository.html_url%/actions"
239239

@@ -247,8 +247,8 @@ steps:
247247
body: 05_workflow-triggered.md
248248
action_id: triggerIssue
249249
store:
250-
thirdIssueUrl: "%result.data.issue.html_url%"
251-
thirdIssueNumber: "%result.data.issue.number%"
250+
thirdIssueUrl: "%payload.data.issue.html_url%"
251+
thirdIssueNumber: "%payload.data.issue.number%"
252252
- type: respond
253253
with: new-issue.md
254254
issue: "{{store.secondPullNumber}}"

0 commit comments

Comments
 (0)