Skip to content

ci: skip the no-commit-to-branch hook in the prek gate - #641

Merged
Destynova2 merged 4 commits into
mainfrom
ci/skip-no-commit-to-branch
Oct 14, 2026
Merged

Destynova2 merged 4 commits into
mainfrom
ci/skip-no-commit-to-branch

Conversation

@Destynova2

Copy link
Copy Markdown
Contributor

Why

no-commit-to-branch (added in #627) guards a developer's local commit on main. On a push-to-main CI run the checkout is main, so the prek quality gate has failed on every push to main since 2026-10-05 (PR runs are unaffected because they check out a feature branch).

What

Add --skip no-commit-to-branch to the prek extra-args, next to the other three CI-only skips, with a comment explaining why. The GitHub ruleset already enforces the rule server-side, so nothing is lost.

Also updated

CLAUDE.md lists the three skipped hooks; this adds the fourth to the "Reproduce the CI gate" command and table.

🤖 Generated with Claude Code

Destynova2 and others added 2 commits October 14, 2026 20:22
The hook from #627 refuses a local commit on main. On a push-to-main CI
run the checkout is main, so the quality gate has failed on every main
push since 2026-10-05 while PR runs stayed green. The GitHub ruleset
already enforces the rule server-side.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@Destynova2
Destynova2 enabled auto-merge (squash) October 14, 2026 18:22
Destynova2 added a commit that referenced this pull request Oct 14, 2026
## Why

Four rustls advisories landed on 2026-10-14 against the pinned 0.23.45,
which turned `cargo deny` red on every PR (seen on #641) and the daily
audit red:

- RUSTSEC-2026-0346 — `Debug` impls expose TLS session secrets
- RUSTSEC-2026-0347 — buffered app data sent to outer server after ECH
rejection
- RUSTSEC-2026-0348 — Brotli certificate decompression can allocate 1
GiB pre-auth
- RUSTSEC-2026-0349 — unauthenticated ServerHello downgrades later key
exchange

## What

- `Cargo.lock`: rustls 0.23.45 → 0.23.46 (`cargo update -p rustls`).
`cargo audit -D warnings` and `cargo deny check advisories` are clean
locally.
- `audit-cron.yml`: add `checks: write`. The manual run of the daily
audit ended with "Resource not accessible by integration" because
`rustsec/audit-check` publishes a check run.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
@Destynova2
Destynova2 merged commit a6b7d41 into main Oct 14, 2026
42 checks passed
@Destynova2
Destynova2 deleted the ci/skip-no-commit-to-branch branch October 14, 2026 19:16
Destynova2 added a commit that referenced this pull request Oct 14, 2026
## 🤖 New release

* `grob`: 0.36.124 -> 0.36.125

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.36.125](v0.36.124...v0.36.125)
- 2026-10-14

### Added

- *(effort)* carry the client's effort level to Codex and Anthropic
backends ([#644](#644))

### Other

- skip the no-commit-to-branch hook in the prek gate
([#641](#641))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant