@@ -7,7 +7,8 @@ template:
77before :
88- type : createIssue
99 title : Welcome
10- body : welcome.md
10+ body : 00_welcome.md
11+ - type : updateBranchProtection
1112
1213# Course artifacts:
1314# 1. Issue: Welcome
@@ -28,37 +29,37 @@ steps:
2829 event : issues.edited
2930 actions :
3031 - type : respond
31- with : innersource-v-opensource.md
32+ with : 01_innersource-v-opensource.md
33+ data :
34+ url : ' %actions.ownerPR.data.html_url%'
3235 - type : closeIssue
3336 - type : createPullRequest
3437 title : Repository ownership and names
3538 head : repo-owner
36- body : repo -owner.md
39+ body : 01_repo -owner.md
3740 action_id : ownerPR
38- - type : respond
39- with : goto-pr.md
40- data :
41- url : ' %actions.ownerPR.data.html_url%'
4241
4342# 2
4443- title : Answer the ownership challenge
4544 description : Discover how repository ownership affects visibility and access.
4645 link : ' {{ repoUrl }}/pull/2'
4746 event : pull_request.edited
4847 actions :
48+ - type : removeBranchProtection
4949 - type : respond
50- with : repo -owner-answer.md
50+ with : 02_repo -owner-answer.md
5151
5252# 3
5353- title : Merge the ownership pull request
5454 description : Beef up your innersource toolkit with resources about repository ownership.
5555 link : ' {{ repoUrl }}/pull/2'
5656 event : pull_request.closed
5757 actions :
58+ - type : updateBranchProtection
5859 - type : createPullRequest
5960 title : Create discoverable repos
6061 head : discoverable-repos
61- body : discoverable .md
62+ body : 03_discoverable .md
6263 action_id : discoverablePR
6364 - type : respond
6465 with : goto-pr.md
@@ -71,19 +72,21 @@ steps:
7172 link : ' {{ repoUrl }}/pull/3'
7273 event : issue_comment.created
7374 actions :
75+ - type : removeBranchProtection
7476 - type : respond
75- with : discoverability -answer.md
77+ with : 04_discoverability -answer.md
7678
7779# 5
7880- title : Merge the discoverability pull request
7981 description : Add resources for making discoverable repositories to your innersource toolkit.
8082 link : ' {{ repoUrl }}/pull/3'
8183 event : pull_request.closed
8284 actions :
85+ - type : updateBranchProtection
8386 - type : createPullRequest
8487 title : Issue and PR templates
8588 head : templates
86- body : templates .md
89+ body : 05_templates .md
8790 action_id : templatesPR
8891 - type : respond
8992 with : goto-pr.md
@@ -96,19 +99,21 @@ steps:
9699 link : ' {{ repoUrl }}/pull/4'
97100 event : pull_request.edited
98101 actions :
102+ - type : removeBranchProtection
99103 - type : respond
100- with : templates -answer.md
104+ with : 06_templates -answer.md
101105
102106# 7
103107- title : Merge the templates pull request
104108 description : Add starter templates to your innersource toolkit.
105109 link : ' {{ repoUrl }}/pull/4'
106110 event : pull_request.closed
107111 actions :
112+ - type : updateBranchProtection
108113 - type : createPullRequest
109114 title : Workflows
110115 head : workflows
111- body : workflows .md
116+ body : 07_workflows .md
112117 action_id : workflowsPR
113118 - type : respond
114119 with : goto-pr.md
@@ -121,19 +126,21 @@ steps:
121126 link : ' {{ repoUrl }}/pull/5'
122127 event : pull_request.edited
123128 actions :
129+ - type : removeBranchProtection
124130 - type : respond
125- with : workflows -answer.md
131+ with : 08_workflows -answer.md
126132
127133# 9
128134- title : Merge the workflows pull request
129135 description : Add branching and workflow strategies to your innersource toolkit.
130136 link : ' {{ repoUrl }}/pull/5'
131137 event : pull_request.closed
132138 actions :
139+ - type : updateBranchProtection
133140 - type : createPullRequest
134141 title : Managing projects on GitHub
135142 head : projects
136- body : projects .md
143+ body : 09_projects .md
137144 action_id : projectsPR
138145 - type : respond
139146 with : goto-pr.md
@@ -146,19 +153,21 @@ steps:
146153 link : ' {{ repoUrl }}/pull/6'
147154 event : pull_request.edited
148155 actions :
156+ - type : removeBranchProtection
149157 - type : respond
150- with : projects -answer.md
158+ with : 10_projects -answer.md
151159
152160# 11
153161- title : Merge the project management pull request
154162 description : Beef up your innersource toolkit with project management tips.
155163 link : ' {{ repoUrl }}/pull/6'
156164 event : pull_request.closed
157165 actions :
166+ - type : updateBranchProtection
158167 - type : createPullRequest
159168 title : Measuring success
160169 head : metrics
161- body : metrics .md
170+ body : 11_metrics .md
162171 action_id : metricsPR
163172 - type : respond
164173 with : goto-pr.md
@@ -171,18 +180,20 @@ steps:
171180 link : ' {{ repoUrl }}/pull/7'
172181 event : issue_comment.created
173182 actions :
183+ - type : removeBranchProtection
174184 - type : respond
175- with : metrics -answer.md
185+ with : 12_metrics -answer.md
176186
177187# 13
178188- title : Merge the metrics pull request
179189 description : Add possible metrics to your innersource toolkit.
180190 link : ' {{ repoUrl }}/pull/7'
181191 event : pull_request.closed
182192 actions :
193+ - type : updateBranchProtection
183194 - type : createIssue
184195 title : Publish your toolkit
185- body : publish .md
196+ body : 13_publish .md
186197 action_id : publishIssue
187198 - type : respond
188199 with : goto-pr.md
@@ -195,9 +206,10 @@ steps:
195206 link : ' {{ repoUrl }}/pull/8'
196207 event : deployment
197208 actions :
209+ - type : removeBranchProtection
198210 - type : respond
199211 issue : Publish your toolkit
200- with : congratulations .md
212+ with : 14_congratulations .md
201213 data :
202214 deploymentURL : ' https://%payload.repository.owner.login%.github.io/%payload.repository.name%'
203215 learningPathURL : ' https://github-learning-lab-staging.herokuapp.com/githubtraining/paths/innersource:-theory-to-practice'
0 commit comments