This repository was archived by the owner on Sep 1, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,17 @@ steps:
4040 action_id : issue
4141 - type : closeIssue
4242 issue : Welcome
43+ - type : octokit
44+ method : repos.getPages
45+ owner : ' %payload.repository.owner.login%'
46+ repo : ' %payload.repository.name%'
47+ action_id : pagesUrl
4348 - type : respond
4449 issue : Welcome
4550 with : 02_closed-issue.md
4651 data :
4752 url : ' %actions.issue.data.html_url%'
48- pages : ' https://%payload.repository.owner.login%.github.io/%payload.repository.name% ' # TODO Fix link
53+ pages : ' %actions.pagesUrl.data.html_url% '
4954
5055 - title : Find the vulnerable dependency
5156 description : Find the vulnerable dependency, and comment with the suggested update version.
@@ -136,11 +141,16 @@ steps:
136141 number : ' %payload.repository.pull_request.number%'
137142 - type : respond
138143 with : 05_early-close.md
144+ - type : octokit
145+ method : repos.getPages
146+ owner : ' %payload.repository.owner.login%'
147+ repo : ' %payload.repository.name%'
148+ action_id : pagesUrl
139149 - type : createIssue
140150 title : Congratulations!
141151 body : 06b_final-issue.md
142152 data :
143- url : ' https://%user.username%.github.io/%payload.repository.name% ' # TODO Fix URL
153+ url : ' %actions.pagesUrl.data.html_url% '
144154 action_id : finalIssue
145155 - type : respond
146156 with : 06a_nice-merge.md
You can’t perform that action at this time.
0 commit comments