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

Commit e05451e

Browse files
committed
include branch protection
1 parent 8717e87 commit e05451e

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ before:
88
- type: createIssue
99
title: Welcome
1010
body: welcome.md
11+
- type: updateBranchProtection
1112

1213
# Course artifacts:
1314
# 1. Issue: Welcome
@@ -46,6 +47,7 @@ steps:
4647
link: '{{ repoUrl }}/pull/2'
4748
event: pull_request.edited
4849
actions:
50+
- type: removeBranchProtection
4951
- type: respond
5052
with: repo-owner-answer.md
5153

@@ -55,6 +57,7 @@ steps:
5557
link: '{{ repoUrl }}/pull/2'
5658
event: pull_request.closed
5759
actions:
60+
- type: updateBranchProtection
5861
- type: createPullRequest
5962
title: Create discoverable repos
6063
head: discoverable-repos
@@ -71,6 +74,7 @@ steps:
7174
link: '{{ repoUrl }}/pull/3'
7275
event: issue_comment.created
7376
actions:
77+
- type: removeBranchProtection
7478
- type: respond
7579
with: discoverability-answer.md
7680

@@ -80,6 +84,7 @@ steps:
8084
link: '{{ repoUrl }}/pull/3'
8185
event: pull_request.closed
8286
actions:
87+
- type: updateBranchProtection
8388
- type: createPullRequest
8489
title: Issue and PR templates
8590
head: templates
@@ -96,6 +101,7 @@ steps:
96101
link: '{{ repoUrl }}/pull/4'
97102
event: pull_request.edited
98103
actions:
104+
- type: removeBranchProtection
99105
- type: respond
100106
with: templates-answer.md
101107

@@ -105,6 +111,7 @@ steps:
105111
link: '{{ repoUrl }}/pull/4'
106112
event: pull_request.closed
107113
actions:
114+
- type: updateBranchProtection
108115
- type: createPullRequest
109116
title: Workflows
110117
head: workflows
@@ -121,6 +128,7 @@ steps:
121128
link: '{{ repoUrl }}/pull/5'
122129
event: pull_request.edited
123130
actions:
131+
- type: removeBranchProtection
124132
- type: respond
125133
with: workflows-answer.md
126134

@@ -130,6 +138,7 @@ steps:
130138
link: '{{ repoUrl }}/pull/5'
131139
event: pull_request.closed
132140
actions:
141+
- type: updateBranchProtection
133142
- type: createPullRequest
134143
title: Managing projects on GitHub
135144
head: projects
@@ -146,6 +155,7 @@ steps:
146155
link: '{{ repoUrl }}/pull/6'
147156
event: pull_request.edited
148157
actions:
158+
- type: removeBranchProtection
149159
- type: respond
150160
with: projects-answer.md
151161

@@ -155,6 +165,7 @@ steps:
155165
link: '{{ repoUrl }}/pull/6'
156166
event: pull_request.closed
157167
actions:
168+
- type: updateBranchProtection
158169
- type: createPullRequest
159170
title: Measuring success
160171
head: metrics
@@ -171,6 +182,7 @@ steps:
171182
link: '{{ repoUrl }}/pull/7'
172183
event: issue_comment.created
173184
actions:
185+
- type: removeBranchProtection
174186
- type: respond
175187
with: metrics-answer.md
176188

@@ -180,6 +192,7 @@ steps:
180192
link: '{{ repoUrl }}/pull/7'
181193
event: pull_request.closed
182194
actions:
195+
- type: updateBranchProtection
183196
- type: createIssue
184197
title: Publish your toolkit
185198
body: publish.md
@@ -195,6 +208,7 @@ steps:
195208
link: '{{ repoUrl }}/pull/8'
196209
event: deployment
197210
actions:
211+
- type: removeBranchProtection
198212
- type: respond
199213
issue: Publish your toolkit
200214
with: congratulations.md

0 commit comments

Comments
 (0)