Skip to content

Commit

Permalink
ci: add merge limitation (#1248)
Browse files Browse the repository at this point in the history
### Motivation

Improve PR merge.

### Modifications

Add `required_pull_request_reviews` and `required_conversation_resolution` to the `.asf.yaml`.
  • Loading branch information
nodece committed Jul 15, 2024
1 parent 2ff2c2c commit 627999c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ github:
# disable rebase button:
rebase: false

protected_branches:
master:
required_pull_request_reviews:
require_code_owner_reviews: true
required_approving_review_count: 1

# Requires all conversations on code to be resolved before a pull request can be merged.
required_conversation_resolution: true

notifications:
commits: commits@pulsar.apache.org
Expand Down

0 comments on commit 627999c

Please sign in to comment.