This repository was archived by the owner on Sep 1, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,24 +100,29 @@ steps:
100100 operator : ===
101101 right : approved
102102 - type : mergePullRequest
103+ - type : createPullRequest
104+ title : Setup the learner's repo
105+ body : 02.0_add-template.md
106+ head : repo-setup
107+ action_id : repoPR
103108 - type : respond
104- with : 02.0_add -template.md
109+ with : goto -template-pr .md
105110 data :
106- fileUrl : ' %payload.repository .html_url%/edit/add-metadata/README.md '
107-
108- # Move to the next PR
109- # - type: octokit
110- # method: pullRequests.createComment
111- # owner: '%payload.repository .owner.login%'
112- # repo: '%payload.repository .name%'
113- # number: '%payload .number%'
114- # commit_id: '%payload.pull_request .head.sha%'
115- # path: config.yml
116- # body: |
117- # ```suggestion
118- # repo: lab-starter-template
119- # ```
120- # position: 13
111+ url : ' %repoPR.data .html_url%'
112+ - type : assignRegistrant
113+ issue : ' %actions.repoPR.data.number% '
114+ - type : octokit
115+ method : pullRequests.createComment
116+ owner : ' %actions.repoPR.data.head.repo .owner.login%'
117+ repo : ' %actions.repoPR.data.head.repo .name%'
118+ number : ' %actions.repoPR.data .number%'
119+ commit_id : ' %actions.repoPR.data .head.sha%'
120+ path : config.yml
121+ body : |
122+ ```suggestion
123+ repo: lab-starter-template
124+ ```
125+ position : 13
121126
122127# 3
123128- title : Point to the template repo
Original file line number Diff line number Diff line change 1+ Let's go to the [ next PR] ({{ url }}).
You can’t perform that action at this time.
0 commit comments