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-jgit-bot committed Mar 11, 2024
1 parent d63f03d commit 1af7b14
Showing 1 changed file with 52 additions and 44 deletions.
96 changes: 52 additions & 44 deletions otterdog/eclipse-jgit.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -25,79 +25,74 @@ orgs.newOrg('eclipse-jgit') {
_repositories+:: [
orgs.newRepo('jgit') {
allow_merge_commit: true,
"branch_protection_rules": [
{
"allows_force_pushes": true,
"pattern": "*",
"push_restrictions": [
"@eclipse-jgit-bot"
],
"restricts_pushes": true
}
],
default_branch: "master",
description: "JGit, the Java implementation of git",
has_discussions: true,
homepage: "https://www.eclipse.org/jgit/",
workflows+: {
actions_can_approve_pull_request_reviews: false,
default_workflow_permissions: "write",
},
},
orgs.newRepo('jgit-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-jgit-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('jgit-permissions') {
allow_merge_commit: true,
description: "GerritHub permissions for JGit repositories",
homepage: "https://www.eclipse.org/jgit/",
workflows+: {
actions_can_approve_pull_request_reviews: false,
default_workflow_permissions: "write",
},
},
orgs.newRepo('jgit-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-jgit-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('jgit-pipelines') {
allow_merge_commit: true,
default_branch: "master",
description: "CI pipelines for JGit",
has_discussions: true,
homepage: "https://www.eclipse.org/jgit/",
workflows+: {
actions_can_approve_pull_request_reviews: false,
default_workflow_permissions: "write",
},
branch_protection_rules: [
orgs.newBranchProtectionRule('*') {
allows_force_pushes: true,
push_restrictions+: [
"@eclipse-jgit-bot"
],
required_approving_review_count: null,
requires_pull_request: false,
requires_status_checks: false,
requires_strict_status_checks: true,
restricts_pushes: true,
},
],
},
orgs.newRepo('jgit-website') {
allow_merge_commit: true,
allow_update_branch: false,
"branch_protection_rules": [
{
"allows_force_pushes": true,
"pattern": "*",
"push_restrictions": [
"@eclipse-jgit-bot"
],
"restricts_pushes": true
}
],
default_branch: "master",
delete_branch_on_merge: false,
secret_scanning: "disabled",
Expand All @@ -106,6 +101,19 @@ orgs.newOrg('eclipse-jgit') {
workflows+: {
enabled: false,
},
branch_protection_rules: [
orgs.newBranchProtectionRule('*') {
allows_force_pushes: true,
push_restrictions+: [
"@eclipse-jgit-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 1af7b14

Please sign in to comment.