Skip to content

Commit 6fc4bb2

Browse files
authored
create samples repo (#16)
1 parent 799f9d3 commit 6fc4bb2

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

otterdog/eclipse-xpanse.jsonnet

+26
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,32 @@ orgs.newOrg('eclipse-xpanse') {
314314
requires_strict_status_checks: true,
315315
},
316316
],
317+
},
318+
orgs.newRepo('xpanse-samples') {
319+
allow_merge_commit: true,
320+
allow_update_branch: false,
321+
delete_branch_on_merge: true,
322+
description: "Repository to host all working samples of services",
323+
homepage: "",
324+
topics+: [
325+
"examples",
326+
],
327+
web_commit_signoff_required: false,
328+
secrets: [
329+
orgs.newRepoSecret('BOT_GITHUB_TOKEN') {
330+
value: "pass:bots/technology.xpanse/github.com/api-token-3208",
331+
},
332+
],
333+
branch_protection_rules: [
334+
orgs.newBranchProtectionRule('main') {
335+
bypass_pull_request_allowances+: [
336+
"@eclipse-xpanse-bot"
337+
],
338+
required_approving_review_count: 0,
339+
requires_status_checks: false,
340+
requires_strict_status_checks: true,
341+
},
342+
],
317343
}
318344
],
319345
}

0 commit comments

Comments
 (0)