Skip to content

Fix the separator so Vale is passed a file list it can read - #274

Merged
kcmartin merged 2 commits into
mainfrom
vale-separator-fix
Oct 21, 2026
Merged

kcmartin merged 2 commits into
mainfrom
vale-separator-fix

Conversation

@kcmartin

Copy link
Copy Markdown
Collaborator

Same bug as superfly/docs#2590, found while diagnosing https://github.com/superfly/docs-tracking/issues/375.

tj-actions/changed-files emits a space-separated list, and this step told vale-action it was comma-separated. The action split on a comma that wasn't there, so Vale received a single argument holding every path joined by spaces. Vale answers an unmatched path with an empty result and exit 0, so this check has reported nothing since it was set up in #264.

Reproduced both ways with the same binary and config:

vale --output=JSON 'a.mdx b.mdx'   -> {}
vale --output=JSON a.mdx b.mdx     -> the findings in b.mdx

In superfly/docs the same one-line change produced that repo's first real Vale annotation.

Also fixes the one finding this check should have caught: open-source to open source on the platform integrations page, which was the only Vale finding in the repo.

How to verify this one, since fixing that finding leaves nothing to annotate: the job log should show Vale invoked with each path as its own argument, and should no longer carry the User-specified path (a.mdx b.mdx) is in warning that revealed the bug.

fetch-depth: 2 on the checkout step is a separate, smaller problem in both repos, tracked in https://github.com/superfly/docs-tracking/issues/377

Same bug as superfly/docs#2590. tj-actions/changed-files emits a
space-separated list, and the step told vale-action it was comma-separated,
so Vale received one argument holding every path joined by spaces. Vale
answers an unmatched path with an empty result and exit 0, so this check has
reported nothing since it was set up in #264.

Also fixes the one finding it should have caught: open-source to open source
on the platform integrations page.

docs-tracking#375
@mintlify

mintlify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
fly-io 馃煝 Ready View Preview Oct 21, 2026, 6:03 PM

馃挕 Tip: Enable Automations to automatically generate PRs for you.

@kcmartin
kcmartin merged commit 602ba28 into main Oct 21, 2026
2 checks passed
@kcmartin
kcmartin deleted the vale-separator-fix branch October 21, 2026 18:18
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