Skip to content

Run the docs check on pull requests, not only on main - #5

Merged
xbmlz merged 1 commit into
mainfrom
pr-check-workflow
Aug 25, 2026
Merged

Run the docs check on pull requests, not only on main#5
xbmlz merged 1 commit into
mainfrom
pr-check-workflow

Conversation

@xbmlz

@xbmlz xbmlz commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

The deploy workflow already gates on npm run check, so a dead link or an
out-of-sync translation can't reach the published site. But it only runs on
main, which means the failure arrives after the merge: main goes red and
the site quietly keeps serving the previous build until someone notices.

This runs the same command, on the same Node version, on the pull request —
where it can still be acted on. Nothing else changes; deploy.yml keeps its own
gate.

Noticed while adding the platform/binary-size section in
#4, which had no
check to wait on.

🤖 Generated with Claude Code

The deploy workflow already gates on `npm run check`, so a dead link or an
out-of-sync translation cannot reach the site. But it only runs on main, so the
failure lands after the merge: main goes red, and the site quietly keeps serving
the previous build until someone notices and pushes a fix.

Same command, same Node version, on the pull request instead -- where it can
still be acted on.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@xbmlz
xbmlz merged commit e4a0072 into main Aug 25, 2026
1 check passed
@xbmlz
xbmlz deleted the pr-check-workflow branch August 25, 2026 03:40
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