You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by gi...@apache.org on 2026/07/30 08:47:31 UTC
(texera) branch gh-readonly-queue/main/pr-7123-8c255b823ccba6ca2a06621fec2edb3aba59d3cb created (now ebfd1db5f9)
This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a change to branch gh-readonly-queue/main/pr-7123-8c255b823ccba6ca2a06621fec2edb3aba59d3cb
in repository https://gitbox.apache.org/repos/asf/texera.git
at ebfd1db5f9 fix(ci): use **/* excludes in branch-creation ruleset to unfreeze the merge queue (#7123)
This branch includes the following new commits:
new ebfd1db5f9 fix(ci): use **/* excludes in branch-creation ruleset to unfreeze the merge queue (#7123)
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(texera) 01/01: fix(ci): use **/* excludes in branch-creation ruleset to unfreeze the merge queue (#7123)
Posted by gi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-7123-8c255b823ccba6ca2a06621fec2edb3aba59d3cb
in repository https://gitbox.apache.org/repos/asf/texera.git
commit ebfd1db5f9c8c427a406cf09318e7012436edbde
Author: Yicong Huang <17...@users.noreply.github.com>
AuthorDate: Thu Jul 30 04:47:10 2026 -0400
fix(ci): use **/* excludes in branch-creation ruleset to unfreeze the merge queue (#7123)
### What changes were proposed in this PR?
Fix the `Restrict Branch Creation` ruleset excludes so all allowlisted
prefixes match at any depth: `release/**/*`, `backport/**/*`,
`dependabot/**/*`, and `gh-readonly-queue/**/*` (previously
`gh-readonly-queue/*`; `main` and `gh-pages` stay exact).
GitHub ruleset globs do not cross `/`, and — contrary to intuition —
even a trailing `**` still only matches a single segment. The merge
queue's temp branches nest the base ref and are multi-segment
(`gh-readonly-queue/main/pr-N`, `gh-readonly-queue/release/v1.2/pr-N`),
so `gh-readonly-queue/*` (and `**`) never matched them; the `creation`
rule blocked the queue from creating its temp branch, freezing merges to
`main` and every release branch. `**/*` matches at any depth (and still
matches single-segment refs), so the queue can form again. Dependabot
branches are multi-segment too, hence `dependabot/**/*`.
### Any related issues, documentation, discussions?
Regression from #7121, which activated the `Restrict Branch Creation`
ruleset. Unblocks backport PRs such as #7101.
### How was this PR tested?
Verified empirically against the live GitHub rulesets API on a fork:
built the ruleset from this exact `.asf.yaml` and queried `GET
/rules/branches/...`. `creation` is no longer active on
`gh-readonly-queue/main/pr-1`, `gh-readonly-queue/release/v1.2/pr-7101`,
`release/v1.2`, `release/v1.1`, `backport/*`, `dependabot/npm/*`,
`main`, or `gh-pages` (all allowed); unrelated branches (`feature/*`)
stay blocked. The earlier `gh-readonly-queue/**` was confirmed to still
leave `creation` active on those multi-segment refs.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 4.8)
Co-authored-by: Claude Opus 4.8 (1M context) <no...@anthropic.com>
---
.asf.yaml | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index f0ddaa602b..07a8865648 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -137,13 +137,14 @@ github:
include:
- "~ALL"
exclude:
+ # Globs don't cross '/' (even a trailing **), so use **/* to
+ # match branches at any depth under a prefix.
- "refs/heads/main"
- - "refs/heads/release/*"
- - "refs/heads/backport/*"
+ - "refs/heads/release/**/*"
+ - "refs/heads/backport/**/*"
- "refs/heads/gh-pages"
- # Temporary branches GitHub's merge queue creates to test
- # queued groups; must stay creatable or the queue breaks.
- - "refs/heads/gh-readonly-queue/*"
+ - "refs/heads/dependabot/**/*"
+ - "refs/heads/gh-readonly-queue/**/*"
bypass_actors:
# apache/root — ASF Infra team.
- actor_id: 118420