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

Commit d102693

Browse files
committed
make branch protections optional, in case learner already protected
1 parent a3e412b commit d102693

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ steps:
5858
event: pull_request.closed
5959
actions:
6060
- type: updateBranchProtection
61+
required: false
6162
- type: createPullRequest
6263
title: Create discoverable repos
6364
head: discoverable-repos
@@ -86,6 +87,7 @@ steps:
8687
event: pull_request.closed
8788
actions:
8889
- type: updateBranchProtection
90+
required: false
8991
- type: createPullRequest
9092
title: Issue and PR templates
9193
head: templates
@@ -114,6 +116,7 @@ steps:
114116
event: pull_request.closed
115117
actions:
116118
- type: updateBranchProtection
119+
required: false
117120
- type: createPullRequest
118121
title: Workflows
119122
head: workflows
@@ -142,6 +145,7 @@ steps:
142145
event: pull_request.closed
143146
actions:
144147
- type: updateBranchProtection
148+
required: false
145149
- type: createPullRequest
146150
title: Managing projects on GitHub
147151
head: projects
@@ -170,6 +174,7 @@ steps:
170174
event: pull_request.closed
171175
actions:
172176
- type: updateBranchProtection
177+
required: false
173178
- type: createPullRequest
174179
title: Measuring success
175180
head: metrics
@@ -198,6 +203,7 @@ steps:
198203
event: pull_request.closed
199204
actions:
200205
- type: updateBranchProtection
206+
required: false
201207
- type: createIssue
202208
title: Publish your toolkit
203209
body: 13_publish.md

0 commit comments

Comments
 (0)