Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add branch protection rule for release branches #6

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions otterdog/eclipse-ankaios.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@ orgs.newOrg('eclipse-ankaios') {
],
requires_conversation_resolution: true,
},
orgs.newBranchProtectionRule('release-**') {
required_approving_review_count: 1,
required_status_checks+: [
"Build and run system tests Linux amd64",
"Run unit tests Linux amd64",
"Build Linux amd64 debian package",
"Build Linux arm64 debian package",
"Build requirements tracing",
"Check if documentation has changed",
"Deploy documentation",
],
requires_conversation_resolution: true,
},
],
environments: [
orgs.newEnvironment('github-pages') {
Expand Down