Skip to content

Commit 34877fd

Browse files
authored
Merge pull request #1232 from openclaw/fix/release-signer-policy
fix(release): unblock release-admin self-merge
2 parents e73b02f + 01d5fdd commit 34877fd

8 files changed

Lines changed: 653 additions & 79 deletions

File tree

‎.github/release-allowed-signers‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
[email protected] ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII9XsaCcr8TInPnHcuTVfvXXcsoUFrOE7menfbEIHFW9 [email protected]
2+
[email protected] ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMYJHwFnesHbwtPLErQBRMffbET0Wrbzh+PjkndZRNyy [email protected] git signing

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -254,42 +254,3 @@ jobs:
254254

255255
- name: Check docs
256256
run: scripts/check-docs.sh
257-
258-
release-check:
259-
name: Release Check
260-
runs-on: macos-15
261-
timeout-minutes: 45
262-
263-
steps:
264-
- name: Check out
265-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
266-
with:
267-
fetch-depth: 0
268-
269-
- name: Verify Apple Silicon runner
270-
run: test "$(uname -m)" = arm64
271-
272-
- name: Set up Go
273-
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
274-
with:
275-
go-version-file: go.mod
276-
cache: false
277-
278-
- name: Snapshot release build
279-
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3
280-
with:
281-
distribution: goreleaser
282-
version: "~> v2"
283-
args: release --snapshot --clean --skip=publish --parallelism 1
284-
285-
- name: Verify snapshot helper embeds VM daemon
286-
run: |
287-
helper="$(find dist -type f -name crabbox-apple-vm-helper -print -quit)"
288-
if [ -z "$helper" ] || [ ! -x "$helper" ]; then
289-
echo "::error::snapshot Apple VM helper not found"
290-
exit 1
291-
fi
292-
if ! "$helper" vmd-info | grep -q '"embedded":true'; then
293-
echo "::error::snapshot Apple VM helper is missing the embedded VM daemon"
294-
exit 1
295-
fi

‎CHANGELOG.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 0.41.0 - 2026-08-03
3+
## 0.41.0 - 2026-08-06
44

55
### Added
66

@@ -31,6 +31,12 @@
3131

3232
### Fixed
3333

34+
- Expanded protected release-tag signing from one maintainer to the approved
35+
release-admin key set.
36+
- Allowed the release-admin team to bypass approval only through pull requests,
37+
while a protected cross-repository ruleset workflow independently enforces the
38+
release snapshot build and separate no-bypass rules retain protected history
39+
and stable release tag immutability.
3440
- Retried idempotent remote workspace setup, Git and manifest sync preparation,
3541
sync finalization, and post-sync Actions hydration marker cleanup once after
3642
a transient SSH transport failure, while preserving redacted terminal

‎docs/RELEASING.md‎

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,22 @@ verifier, publisher, or Homebrew updater.
4141
The publishing checkout must have `HEAD` exactly equal to the protected verifier
4242
commit, and every release-policy or executable tooling file must match that
4343
commit with no staged, unstaged, or untracked replacement. Fetch every detailed
44-
repository ruleset. One active no-bypass branch ruleset must cover the default
45-
branch and require deletion/non-fast-forward protection, code-owner pull
46-
requests with stale-review dismissal, last-push approval and at least one
47-
approval, plus strict required status checks. A separate active no-bypass tag
48-
ruleset must cover every `refs/tags/v*` release tag and prevent deletion and
49-
updates. Before publication, an administrator must also freeze all
50-
default-branch, tag, and Releases API writers for the non-atomic final gate.
44+
repository ruleset. One active approval ruleset must cover the default branch,
45+
require code-owner pull requests with stale-review dismissal, last-push
46+
approval and at least one approval, and grant exactly one bypass to the
47+
`openclaw-secops` release team (GitHub team ID `16654667`) in `pull_request`
48+
mode. That allows a release admin to merge their own PR without granting a
49+
direct-push path. A separate active no-bypass branch ruleset must enforce
50+
deletion and non-fast-forward protection. The default branch must also be
51+
covered by the no-bypass OpenClaw organization workflow
52+
`.github/workflows/crabbox-release-check.yml` from
53+
`openclaw/release-workflows` repository ID `1304559357` at
54+
`refs/heads/main`. That protected external workflow owns the credential-free
55+
macOS release snapshot check, so a Crabbox pull request cannot redefine the
56+
check that gates its own merge. A separate active no-bypass tag ruleset must
57+
cover every `refs/tags/v*` release tag and prevent deletion and updates. Before
58+
publication, an administrator must also freeze all default-branch, tag, and
59+
Releases API writers for the non-atomic final gate.
5160

5261
GitHub omits ruleset bypass actors from the ordinary workflow token. Configure
5362
`CRABBOX_RULESET_READ_TOKEN` as a fine-grained repository secret scoped only to

‎docs/security.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,14 @@ Homebrew tap. The source identity is an annotated `vMAJOR.MINOR.PATCH` tag whose
498498
signature verifies against the repository-pinned signer policy. Verification
499499
captures the exact tag-object and peeled commit IDs, confirms the remote tag has
500500
not moved, and requires the peeled commit to be an ancestor of protected
501-
`main`. Existing valid tags are preserved when release hardening lands later;
502-
they are never rewritten to point at verifier code.
501+
`main`. Protected `main` grants the release-admin team a PR-only approval
502+
bypass, so release admins can merge their own release PRs without gaining a
503+
direct-push path. Separate no-bypass rules protect branch history and stable
504+
release tags. The required release snapshot workflow is loaded from protected
505+
`openclaw/release-workflows` rather than Crabbox, so a Crabbox pull request
506+
cannot weaken the check that gates its own merge. Existing valid tags are
507+
preserved when release hardening lands later; they are never rewritten to point
508+
at verifier code.
503509

504510
Release orchestration and verification come from the exact protected-default
505511
workflow commit, not from the tagged candidate. Trusted and candidate trees are

0 commit comments

Comments
 (0)