You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds lefthook `env` support. This is needed for `generate` and `docs`
make targets in some repos, as the `USERNAME` must be set to `siderolabs` (the GH
org name). On Zsh, `USERNAME` will always evaluate to the Linux
username, even with an export/override. Without setting `"USERNAME":
"siderolabs"` for these make targets, lefthook will generate artifacts
with mismatched repo/image identifiers (containing the local username).
This diff adds a "USERNAME" env override to all make targets invoked by
lefthook.
Refactors commit-msg hook to be pre-push instead. Using commit-msg
caused an edge case issue, where the user was unable to amend the commit
message with `make conformance` running at that stage. post-commit is more
suitable for this scenario.
Signed-off-by: Maja Bojarska <maja.bojarska@siderolabs.com>
0 commit comments