Yicong-Huang opened a new issue, #4603:
URL: https://github.com/apache/texera/issues/4603
### Task Summary
Follow-up to #4579 / #4582.
The `Release Branch Protection` ruleset added in #4582 is currently a no-op:
GitHub API confirms `release/v1.1.0-incubating` has no active rules and the
repository has no rulesets at all (`/repos/apache/texera/rulesets` returns
`[]`).
Root cause: in `apache/infrastructure-asfyaml`, the `rulesets` directive is
gated behind a staged-rollout flag — see `asfyaml/feature/github/rulesets.py`:
```python
@directive
def rulesets(self):
if "github_rulesets" not in self.instance.environments_enabled:
return
```
The schema accepts `rulesets:` (so no parse error fires), but the directive
returns early unless the project opts in via `meta:` (see `asfyaml/asfyaml.py`).
This task: add the opt-in so the existing `Release Branch Protection`
ruleset actually gets reconciled into GitHub.
```yaml
meta:
environment: github_rulesets
```
### Priority
P1 – High
### Task Type
- [x] DevOps / Deployment
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]