Skip to content

fix(pre-commit): install vale-sync from the cmd/vale package (5.1) - #14799

Merged
DonLakeFlyer merged 2 commits into
mavlink:Stable_V5.1from
DonLakeFlyer:stable51-vale-sync
Aug 9, 2026
Merged

fix(pre-commit): install vale-sync from the cmd/vale package (5.1)#14799
DonLakeFlyer merged 2 commits into
mavlink:Stable_V5.1from
DonLakeFlyer:stable51-vale-sync

Conversation

@DonLakeFlyer

Copy link
Copy Markdown
Contributor

Cherry-pick of #14753 to Stable_V5.1.

TSC21 added 2 commits August 9, 2026 09:13
The vale module root carries no Go package (the vale binary lives
under cmd/vale), so the hook's environment install fails:

    go: module github.com/errata-ai/vale/v3@v3.14.2 found, but does
    not contain package github.com/errata-ai/vale/v3

pre-commit aborts the whole run on the install error before a single
hook fires and exits with code 3, so every hook in the config is
silently skipped wherever this configuration runs, the CI runner
included. Installing the cmd/vale package restores the gate.
Three inline-bash hook entries run past the 200 column line limit
yamllint enforces, so the configuration fails its own gate the first
time it is linted as a changed file. Folded block scalars carry the
same commands: YAML joins the folded lines with single spaces, so
the entries shlex to byte-identical argv.
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

⚠️ Build results unavailable — artifact download from one or more platform workflows failed (likely artifact retention expiry or transient API error). The combined report cannot be generated for this run.

See the Build Results workflow run for details.

@DonLakeFlyer
DonLakeFlyer merged commit 344b0fd into mavlink:Stable_V5.1 Aug 9, 2026
28 checks passed
@DonLakeFlyer
DonLakeFlyer deleted the stable51-vale-sync branch August 9, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants