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-egit-bot committed Mar 11, 2024
1 parent fb8f3c4 commit e00f1ec
Showing 1 changed file with 65 additions and 55 deletions.
120 changes: 65 additions & 55 deletions otterdog/eclipse-egit.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -24,100 +24,97 @@ orgs.newOrg('eclipse-egit') {
_repositories+:: [
orgs.newRepo('egit') {
allow_merge_commit: true,
"branch_protection_rules": [
{
"allows_force_pushes": true,
"pattern": "*",
"push_restrictions": [
"@eclipse-egit-bot"
],
"restricts_pushes": true
}
],
default_branch: "master",
description: "EGit, the git integration of Eclipse IDE",
has_discussions: true,
homepage: "https://www.eclipse.org/egit/",
workflows+: {
actions_can_approve_pull_request_reviews: false,
default_workflow_permissions: "write",
},
},
orgs.newRepo('egit-github') {
allow_merge_commit: true,
"branch_protection_rules": [
{
"allows_force_pushes": true,
"pattern": "*",
"push_restrictions": [
branch_protection_rules: [
orgs.newBranchProtectionRule('*') {
allows_force_pushes: true,
push_restrictions+: [
"@eclipse-egit-bot"
],
"restricts_pushes": true
}
required_approving_review_count: null,
requires_pull_request: false,
requires_status_checks: false,
requires_strict_status_checks: true,
restricts_pushes: true,
},
],
},
orgs.newRepo('egit-github') {
allow_merge_commit: true,
default_branch: "master",
description: "EGit GitHub API client",
has_discussions: true,
homepage: "https://www.eclipse.org/egit/",
workflows+: {
actions_can_approve_pull_request_reviews: false,
default_workflow_permissions: "write",
},
},
orgs.newRepo('egit-permissions') {
allow_merge_commit: true,
"branch_protection_rules": [
{
"allows_force_pushes": true,
"pattern": "*",
"push_restrictions": [
branch_protection_rules: [
orgs.newBranchProtectionRule('*') {
allows_force_pushes: true,
push_restrictions+: [
"@eclipse-egit-bot"
],
"restricts_pushes": true
}
required_approving_review_count: null,
requires_pull_request: false,
requires_status_checks: false,
requires_strict_status_checks: true,
restricts_pushes: true,
},
],
default_branch: "master",
},
orgs.newRepo('egit-permissions') {
allow_merge_commit: true,
description: "GerritHub permissions for EGit repositories",
homepage: "https://www.eclipse.org/egit/",
workflows+: {
actions_can_approve_pull_request_reviews: false,
default_workflow_permissions: "write",
},
},
orgs.newRepo('egit-pipelines') {
allow_merge_commit: true,
"branch_protection_rules": [
{
"allows_force_pushes": true,
"pattern": "*",
"push_restrictions": [
branch_protection_rules: [
orgs.newBranchProtectionRule('*') {
allows_force_pushes: true,
push_restrictions+: [
"@eclipse-egit-bot"
],
"restricts_pushes": true
}
required_approving_review_count: null,
requires_pull_request: false,
requires_status_checks: false,
requires_strict_status_checks: true,
restricts_pushes: true,
},
],
},
orgs.newRepo('egit-pipelines') {
allow_merge_commit: true,
default_branch: "master",
description: "CI pipelines for EGit",
has_discussions: true,
homepage: "https://www.eclipse.org/egit/",
workflows+: {
actions_can_approve_pull_request_reviews: false,
default_workflow_permissions: "write",
},
branch_protection_rules: [
orgs.newBranchProtectionRule('*') {
allows_force_pushes: true,
push_restrictions+: [
"@eclipse-egit-bot"
],
required_approving_review_count: null,
requires_pull_request: false,
requires_status_checks: false,
requires_strict_status_checks: true,
restricts_pushes: true,
},
],
},
orgs.newRepo('egit-website') {
allow_merge_commit: true,
allow_update_branch: false,
"branch_protection_rules": [
{
"allows_force_pushes": true,
"pattern": "*",
"push_restrictions": [
"@eclipse-egit-bot"
],
"restricts_pushes": true
}
],
default_branch: "master",
delete_branch_on_merge: false,
secret_scanning: "disabled",
Expand All @@ -126,6 +123,19 @@ orgs.newOrg('eclipse-egit') {
workflows+: {
enabled: false,
},
branch_protection_rules: [
orgs.newBranchProtectionRule('*') {
allows_force_pushes: true,
push_restrictions+: [
"@eclipse-egit-bot"
],
required_approving_review_count: null,
requires_pull_request: false,
requires_status_checks: false,
requires_strict_status_checks: true,
restricts_pushes: true,
},
],
},
],
}

0 comments on commit e00f1ec

Please sign in to comment.