Skip to content

[CELEBORN-2438][INFRA] Remove empty protected_branches in .asf.yaml - #3819

Closed
pan3793 wants to merge 1 commit into
apache:mainfrom
pan3793:CELEBORN-2438
Closed

[CELEBORN-2438][INFRA] Remove empty protected_branches in .asf.yaml#3819
pan3793 wants to merge 1 commit into
apache:mainfrom
pan3793:CELEBORN-2438

Conversation

@pan3793

@pan3793 pan3793 commented Aug 20, 2026

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Remove the empty protected_branches key from .asf.yaml.

Why are the changes needed?

ASF infra validation rejects .asf.yaml because github.protected_branches
expects a mapping, and the empty value fails schema parsing. Branch
protection is already handled by github.rulesets, so the key is redundant.

Does this PR resolve a correctness bug?

  • Yes

Does this PR introduce any user-facing change?

  • Yes

How was this patch tested?

Parsed .asf.yaml with a YAML parser to confirm it loads.

Assisted-by: DeepSeek V4 Pro

@pan3793

pan3793 commented Aug 20, 2026

Copy link
Copy Markdown
Member Author

It's a non-code change, I'm going to merge this and see what happens

@pan3793 pan3793 closed this in 52fa5ff Aug 20, 2026
@pan3793

pan3793 commented Aug 20, 2026

Copy link
Copy Markdown
Member Author

Merge Summary:

Posted by merge_pr.py

@pan3793

pan3793 commented Aug 20, 2026

Copy link
Copy Markdown
Member Author

Seems to work as expected, asf infra stops complaining about errors on .asf.yaml, I'm going to backport it to branch-0.7 too

pan3793 added a commit that referenced this pull request Aug 20, 2026
### What changes were proposed in this pull request?

Remove the empty protected_branches key from `.asf.yaml`.

### Why are the changes needed?

ASF infra validation rejects .asf.yaml because github.protected_branches
expects a mapping, and the empty value fails schema parsing. Branch
protection is already handled by github.rulesets, so the key is redundant.

### Does this PR resolve a correctness bug?

- [ ] Yes

### Does this PR introduce _any_ user-facing change?

- [ ] Yes

### How was this patch tested?

Parsed .asf.yaml with a YAML parser to confirm it loads.

Assisted-by: DeepSeek V4 Pro

Closes #3819 from pan3793/CELEBORN-2438.

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant