7070 pullRequest : Initial Workflow
7171 action_id : iwPr
7272 - type : respond
73- with : 03_modify -workflow.md
73+ with : 02_modify -workflow.md
7474 issue : Initial Workflow
7575 data :
7676 workflowFile : " %payload.repository.html_url%/edit/%actions.iwPr.data.head.ref%/.github/workflows/my-workflow.yml"
9898 action_id : devEnv
9999 - type : createReview
100100 event : APPROVE
101- body : 03_on -to-actions.md
101+ body : 04_on -to-actions.md
102102 data :
103103 issueUrl : " %actions.devEnv.data.html_url%"
104104 pullRequest : Initial Workflow
@@ -119,40 +119,56 @@ steps:
119119 right : true
120120 - type : createPullRequest
121121 title : Hello Action
122- body : 04_explain -metadata.md
122+ body : 05_explain -metadata.md
123123 head : hello-world
124124 action_id : helloPr
125125 data :
126126 actionsUrl : " %payload.repository.html_url%/actions"
127127 - type : respond
128- with : 04_hello -pr.md
128+ with : 05_hello -pr.md
129129 issue : Setting up your development environment
130130 data :
131131 pullUrl : " %actions.helloPr.data.html_url%"
132132 - type : closeIssue
133133 issue : Setting up your development environment
134134 - type : respond
135- with : 04_create -metadata.md
135+ with : 05_create -metadata.md
136136 issue : Hello Action
137137
138138 - title : Create the Action entrypoint
139139 description : time to start adding code to main.js
140140 event : pull_request.synchronize
141141 actions :
142142 - type : respond
143- with : 04_explain -runs.md
143+ with : 06_explain -runs.md
144144 data :
145145 actionsUrl : " %payload.repository.html_url%/actions"
146146 - type : respond
147- with : 04_main -js.md
147+ with : 06_main -js.md
148148 data :
149149 actionsUrl : " %payload.repository.html_url%/actions"
150150
151151 - title : Adding input parameters
152152 description : extend your action to accept input parameters
153- event : pull_request.synchronize
153+ event : pull_request.synchronize # ideally would like the workflow completing to tigger this
154+ actions :
155+ - type : respond
156+ with : 07_hello-result.md
157+ data :
158+ actionsUrl : " %payload.repository.html_url%/actions"
159+ - type : respond
160+ with : 07_add-input-params.md
161+ - type : respond
162+ with : 07_update-files.md
163+
164+ - title : Exploring your input parameters
165+ description : view the results of adding input parameter
166+ event : pull_request.synchronize # ideally would like workflow complete to trigger this
154167 actions :
155168 - type : respond
156- with : 04_hello-result.md
169+ with : 08_input-result.md
170+ data :
171+ actionsUrl : " %payload.repository.html_url%/actions"
172+ - type : removeBranchProtection
157173 - type : respond
158- with : 04_add-input-params .md
174+ with : 08_experiment .md
0 commit comments