Skip to content

feat: simplify docs pipeline with direct MDX sync and PR previews#206

Open
alan707 wants to merge 6 commits intomainfrom
workflow-direct-sync-clean
Open

feat: simplify docs pipeline with direct MDX sync and PR previews#206
alan707 wants to merge 6 commits intomainfrom
workflow-direct-sync-clean

Conversation

@alan707
Copy link
Collaborator

@alan707 alan707 commented Feb 9, 2026

This PR refactors the documentation pipeline to leverage pre-converted MDX files from the upstream Bazel repository.

Key changes:

  • Direct Sync: Replaced the Go-based transformation logic with a direct sync of MDX files from bazelbuild/bazel/docs.
  • Improved Change Detection: Integrated tj-actions/changed-files@v47.0.1 to efficiently detect documentation changes in upstream PRs.
  • PR Previews: Implemented a polling workflow that generates unique previews for upstream PRs and posts status comments back to the original PR.

Closes #63

- Refactored pull-from-bazel-build.yml to pull pre-converted MDX directly from upstream.
- Integrated tj-actions/changed-files@v47.0.1 for robust upstream change detection.
- Implemented matrix-based polling workflow in preview-bazel-docs-pr.yml.
- Added automated commenting on upstream PRs with success/failure feedback.
Synchronized pre-converted MDX files from upstream Bazel repository.
Synchronized pre-converted MDX files from upstream Bazel repository.
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.

Create a new flow that shows a preview of a PR on bazel.build

1 participant

Comments