Repository navigation
chore(hooks): add an hk pre-push hook that runs the CI checks (RIG-9081) - #70
Merged
mattwilkinsonn merged 1 commit intoNov 11, 2026
Conversation
Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Rigel public design docs preview: https://web-rig-9081-add-an-hk-pre-p.docs-2ui.pages.dev Deployed from |
Contributor
Author
|
Review on
Checked: the steps match All-clear on |
mattwilkinsonn
approved these changes
Nov 11, 2026
mattwilkinsonn
deleted the
web/rig-9081-add-an-hk-pre-push-hook-that-runs-the-ci
branch
November 11, 2026 00:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is part of a stack containing 2 PRs:
mainSummary
Adds an hk pre-push hook. Our submit tool refuses to push to a repo with no hook config, so every PR here was blocked.
hk.pkl: pre-push runs the same checks asci.yml, in order: frozen install,bun test,rumdl check .,biome ci .,bun run ref-gate,bun run build. The design-ledger gate stays CI-only because it needs PR context.tools/toolchain/hk.nix: hk 2.11.1 pinned per platform, the same derivation and hashes as meissa.flake.nixexportshk.devenv.nixadds it to the shell and setsHK_STATE_DIR.Verification
hk --versionin the dev shell: 2.11.1.hk validate: valid.hk run pre-push --all, every step passed:Risks
Refs RIG-9081
Co-authored-by: Matt Wilkinson matt@rigel.build