Skip to content

CI: skip the native builds for docs-only pull requests - #1087

Merged
enaboapps merged 2 commits into
mainfrom
ci/docs-only-skip-native
Oct 15, 2026
Merged

enaboapps merged 2 commits into
mainfrom
ci/docs-only-skip-native

Conversation

@enaboapps

Copy link
Copy Markdown
Contributor

Closes #1086

Every pull request currently waits about 35 minutes for the Windows and macOS native builds, even when it only touches the docs under site/.

  • New changes job (seconds, Ubuntu): diffs the pull request against its base, or a push against its previous commit, and outputs app=true if anything outside site/ changed. If the comparison fails for any reason, it reports app=true so nothing is silently skipped.
  • The native matrix now needs: changes and runs only when app == 'true'. GitHub reports a conditionally skipped job as a success for required status checks, so docs-only pull requests still merge ("Handling skipped but required checks" in the Actions docs).
  • frontend (which includes the retired-identity grep and the test suite), Dependency audit and CodeQL still run on every pull request.

This pull request touches the workflow itself, so it runs the full matrix. The first docs-only pull request after it merges will show the skip.

Validation

  • YAML parses
  • Full CI on this pull request

🤖 Generated with Claude Code

A new `changes` job compares the pull request with its base (or the push
with its previous commit) and reports whether anything outside site/
changed. The native matrix depends on it and is skipped for docs-only
changes. A skipped job still satisfies the required status check, so
those pull requests can merge without waiting about 35 minutes. If the
comparison cannot be made, everything runs as before.

Closes #1086

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@enaboapps enaboapps added this to the v1.0.0-rc.28 milestone Oct 15, 2026
@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
site Ready Ready Preview Oct 15, 2026 7:35pm UTC

Request Review

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@enaboapps
enaboapps merged commit 1a9ec32 into main Oct 15, 2026
9 checks passed
@enaboapps
enaboapps deleted the ci/docs-only-skip-native branch October 15, 2026 23:35

This branch was successfully deployed

1 active deployment
Preview — 806c91f6 Deployed Oct 15, 2026 by vercel[bot]
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.

CI: skip the native builds for docs-only pull requests

2 participants