-
Notifications
You must be signed in to change notification settings - Fork 1
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
ci: apply protection rules to missing branches #2
ci: apply protection rules to missing branches #2
Conversation
This is your friendly self-service bot. Thank you for raising a pull request to update the configuration of your GitHub organization. The following conditions need to fulfilled for auto-merging to be available:
Otterdog commands and optionsYou can trigger otterdog actions by commenting on this PR:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
994e696
to
d880fc1
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
/otterdog validate info |
This comment has been minimized.
This comment has been minimized.
This is your friendly self-service bot. Diff for 3bd314eOrganization iot.kura[id=eclipse-kura]
there have been 6 validation infos, enable verbose output with '-v' to to display them.
! branch_protection_rule[pattern="develop", repository="kura"] {
! required_status_checks = "['eclipse-eca-validation:eclipsefdn/eca']" -> "['eclipse-eca-validation:eclipsefdn/eca', 'Lint PR', 'any:continuous-integration/jenkins/pr-merge']"
! }
+ add branch_protection_rule[pattern="docs-develop", repository="kura"] {
+ allows_deletions = false
+ allows_force_pushes = false
+ blocks_creations = false
+ bypass_force_push_allowances = []
+ bypass_pull_request_allowances = []
+ dismisses_stale_reviews = true
+ is_admin_enforced = false
+ lock_allows_fetch_and_merge = false
+ lock_branch = false
+ pattern = "docs-develop"
+ require_last_push_approval = true
+ required_approving_review_count = "1"
+ required_status_checks = [
+ "eclipse-eca-validation:eclipsefdn/eca"
+ ],
+ requires_code_owner_reviews = false
+ requires_commit_signatures = false
+ requires_conversation_resolution = false
+ requires_deployments = false
+ requires_linear_history = false
+ requires_pull_request = true
+ requires_status_checks = true
+ requires_strict_status_checks = true
+ restricts_pushes = false
+ restricts_review_dismissals = false
+ }
+ add branch_protection_rule[pattern="release-*", repository="kura"] {
+ allows_deletions = false
+ allows_force_pushes = false
+ blocks_creations = false
+ bypass_force_push_allowances = []
+ bypass_pull_request_allowances = []
+ dismisses_stale_reviews = true
+ is_admin_enforced = false
+ lock_allows_fetch_and_merge = false
+ lock_branch = false
+ pattern = "release-*"
+ require_last_push_approval = true
+ required_approving_review_count = "1"
+ required_status_checks = [
+ "eclipse-eca-validation:eclipsefdn/eca"
+ "Lint PR"
+ "any:continuous-integration/jenkins/pr-merge"
+ ],
+ requires_code_owner_reviews = false
+ requires_commit_signatures = false
+ requires_conversation_resolution = false
+ requires_deployments = false
+ requires_linear_history = false
+ requires_pull_request = true
+ requires_status_checks = true
+ requires_strict_status_checks = true
+ restricts_pushes = false
+ restricts_review_dismissals = false
+ }
+ add branch_protection_rule[pattern="docs-release-*", repository="kura"] {
+ allows_deletions = false
+ allows_force_pushes = false
+ blocks_creations = false
+ bypass_force_push_allowances = []
+ bypass_pull_request_allowances = []
+ dismisses_stale_reviews = true
+ is_admin_enforced = false
+ lock_allows_fetch_and_merge = false
+ lock_branch = false
+ pattern = "docs-release-*"
+ require_last_push_approval = true
+ required_approving_review_count = "1"
+ required_status_checks = [
+ "eclipse-eca-validation:eclipsefdn/eca"
+ ],
+ requires_code_owner_reviews = false
+ requires_commit_signatures = false
+ requires_conversation_resolution = false
+ requires_deployments = false
+ requires_linear_history = false
+ requires_pull_request = true
+ requires_status_checks = true
+ requires_strict_status_checks = true
+ restricts_pushes = false
+ restricts_review_dismissals = false
+ }
Plan: 3 to add, 1 to change, 0 to delete. |
This is your friendly self-service bot. The current configuration is in-sync with the live settings. 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will protect the develop code branch, maintenance branches and documentation ones
This is your friendly self-service bot.
In order to automatically merge and apply the changes, add a comment |
/otterdog merge |
This is your friendly self-service bot. The following changes have been successfully applied: Organization iot.kura[id=eclipse-kura]
there have been 6 validation infos, enable verbose output with '-v' to to display them.
! branch_protection_rule[pattern="develop", repository="kura"] {
! required_status_checks = "['eclipse-eca-validation:eclipsefdn/eca']" -> "['eclipse-eca-validation:eclipsefdn/eca', 'Lint PR', 'any:continuous-integration/jenkins/pr-merge']"
! }
+ add branch_protection_rule[pattern="docs-develop", repository="kura"] {
+ allows_deletions = false
+ allows_force_pushes = false
+ blocks_creations = false
+ bypass_force_push_allowances = []
+ bypass_pull_request_allowances = []
+ dismisses_stale_reviews = true
+ is_admin_enforced = false
+ lock_allows_fetch_and_merge = false
+ lock_branch = false
+ pattern = "docs-develop"
+ require_last_push_approval = true
+ required_approving_review_count = "1"
+ required_status_checks = [
+ "eclipse-eca-validation:eclipsefdn/eca"
+ ],
+ requires_code_owner_reviews = false
+ requires_commit_signatures = false
+ requires_conversation_resolution = false
+ requires_deployments = false
+ requires_linear_history = false
+ requires_pull_request = true
+ requires_status_checks = true
+ requires_strict_status_checks = true
+ restricts_pushes = false
+ restricts_review_dismissals = false
+ }
+ add branch_protection_rule[pattern="release-*", repository="kura"] {
+ allows_deletions = false
+ allows_force_pushes = false
+ blocks_creations = false
+ bypass_force_push_allowances = []
+ bypass_pull_request_allowances = []
+ dismisses_stale_reviews = true
+ is_admin_enforced = false
+ lock_allows_fetch_and_merge = false
+ lock_branch = false
+ pattern = "release-*"
+ require_last_push_approval = true
+ required_approving_review_count = "1"
+ required_status_checks = [
+ "eclipse-eca-validation:eclipsefdn/eca"
+ "Lint PR"
+ "any:continuous-integration/jenkins/pr-merge"
+ ],
+ requires_code_owner_reviews = false
+ requires_commit_signatures = false
+ requires_conversation_resolution = false
+ requires_deployments = false
+ requires_linear_history = false
+ requires_pull_request = true
+ requires_status_checks = true
+ requires_strict_status_checks = true
+ restricts_pushes = false
+ restricts_review_dismissals = false
+ }
+ add branch_protection_rule[pattern="docs-release-*", repository="kura"] {
+ allows_deletions = false
+ allows_force_pushes = false
+ blocks_creations = false
+ bypass_force_push_allowances = []
+ bypass_pull_request_allowances = []
+ dismisses_stale_reviews = true
+ is_admin_enforced = false
+ lock_allows_fetch_and_merge = false
+ lock_branch = false
+ pattern = "docs-release-*"
+ require_last_push_approval = true
+ required_approving_review_count = "1"
+ required_status_checks = [
+ "eclipse-eca-validation:eclipsefdn/eca"
+ ],
+ requires_code_owner_reviews = false
+ requires_commit_signatures = false
+ requires_conversation_resolution = false
+ requires_deployments = false
+ requires_linear_history = false
+ requires_pull_request = true
+ requires_status_checks = true
+ requires_strict_status_checks = true
+ restricts_pushes = false
+ restricts_review_dismissals = false
+ }
Applying changes:
Done.
Executed plan: 3 added, 1 changed, 0 deleted. |
This PR updates the branch protection rules to cover the missing important branches