Skip to content

Commit

Permalink
update config to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipse-langium-bot committed Mar 11, 2024
1 parent 21c4a3c commit ac397f9
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions otterdog/eclipse-langium.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ orgs.newOrg('eclipse-langium') {
"vscode"
],
web_commit_signoff_required: false,
workflows+: {
actions_can_approve_pull_request_reviews: false,
},
webhooks: [
orgs.newRepoWebhook('https://services.gitpod.io/apps/ghe/') {
content_type: "json",
Expand Down Expand Up @@ -74,9 +71,6 @@ orgs.newOrg('eclipse-langium') {
has_projects: false,
has_wiki: false,
web_commit_signoff_required: false,
workflows+: {
actions_can_approve_pull_request_reviews: false,
},
environments: [
orgs.newEnvironment('github-pages') {
branch_policies+: [
Expand Down Expand Up @@ -104,9 +98,11 @@ orgs.newOrg('eclipse-langium') {
"website"
],
web_commit_signoff_required: false,
workflows+: {
actions_can_approve_pull_request_reviews: false,
},
secrets: [
orgs.newRepoSecret('DEPLOY_PREVIEW_TOKEN') {
value: "pass:bots/ecd.langium/github.com/preview-token",
},
],
branch_protection_rules: [
orgs.newBranchProtectionRule('main') {
required_approving_review_count: 1,
Expand All @@ -121,12 +117,7 @@ orgs.newOrg('eclipse-langium') {
],
deployment_branch_policy: "selected",
},
orgs.newEnvironment('pull-request-preview') {},
],
secrets: [
orgs.newRepoSecret('DEPLOY_PREVIEW_TOKEN') {
value: "pass:bots/ecd.langium/github.com/preview-token",
},
orgs.newEnvironment('pull-request-preview'),
],
},
],
Expand Down

0 comments on commit ac397f9

Please sign in to comment.