Skip to content

Commit

Permalink
ci: apply protection rules to missing branches (#2)
Browse files Browse the repository at this point in the history
* ci: apply protection rules to missing branches

* ci: add required status checks

* fix: job names
  • Loading branch information
mattdibi authored Sep 30, 2024
1 parent dd2dc02 commit 42ce6f9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions otterdog/eclipse-kura.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,34 @@ orgs.newOrg('eclipse-kura') {
require_last_push_approval: true,
required_approving_review_count: 1,
requires_strict_status_checks: true,
required_status_checks : [
"eclipse-eca-validation:eclipsefdn/eca",
"Lint PR",
"any:continuous-integration/jenkins/pr-merge",
],
},
orgs.newBranchProtectionRule('docs-develop') {
dismisses_stale_reviews: true,
require_last_push_approval: true,
required_approving_review_count: 1,
requires_strict_status_checks: true,
},
orgs.newBranchProtectionRule('release-*') {
dismisses_stale_reviews: true,
require_last_push_approval: true,
required_approving_review_count: 1,
requires_strict_status_checks: true,
required_status_checks : [
"eclipse-eca-validation:eclipsefdn/eca",
"Lint PR",
"any:continuous-integration/jenkins/pr-merge",
],
},
orgs.newBranchProtectionRule('docs-release-*') {
dismisses_stale_reviews: true,
require_last_push_approval: true,
required_approving_review_count: 1,
requires_strict_status_checks: true,
},
],
environments: [
Expand Down

0 comments on commit 42ce6f9

Please sign in to comment.