Repository navigation
Conversation
|
🟢 No design token changes found |
There was a problem hiding this comment.
🔵 Needs a closer look
End-to-end fork validation remains pending, leaving repository-specific approval behavior, larger macOS runner access, and required-check routing unverified.
No open issues 🎉
What changed in this PR
This PR separates fork CI from workflows that need write access, aiming to unblock contributions such as #1520 while preserving maintainer automation.
Changes:
- Add read-only fork workflows with summaries and downloadable reports; fork visual-test failures are explicitly nonblocking.
- Restrict write-enabled workflows to same-repository pull requests, narrow token permissions, and disable persisted checkout credentials where applicable.
- Document maintainer approval expectations for running untrusted fork code.
| File | Description |
|---|---|
CONTRIBUTING.md |
Update CI expectations and document fork workflow approval. |
.github/workflows/visual_test_storybook.yml |
Restrict commenting workflow to same-repository PRs and harden access. |
.github/workflows/visual_test_storybook_forks.yml |
Add nonblocking fork visual tests with report artifacts. |
.github/workflows/update_visual_snapshots.yml |
Restrict snapshot updates to open, same-repository PRs. |
.github/workflows/ui_test_primitives_diff.yml |
Restrict commenting workflow and disable persisted credentials. |
.github/workflows/ui_test_primitives_diff_forks.yml |
Add read-only token comparison reports for forks. |
.github/workflows/ui_test_diff_comment.yml |
Restrict coverage comments to same-repository PRs and harden access. |
.github/workflows/ui_test_diff_comment_forks.yml |
Add fork coverage summaries and report artifacts. |
.github/workflows/ui_test_accessibility.yml |
Set read-only permissions and disable persisted credentials. |
.github/workflows/integration_test_nextjs.yml |
Harden permissions and checkout for Next.js integration tests. |
.github/workflows/integration_test_astro.yml |
Harden permissions and checkout for Astro integration tests. |
.github/workflows/deploy_docs_preview.yml |
Restrict previews to same-repository PRs and narrow permissions. |
.github/workflows/deploy_docs_preview_forks.yml |
Clarify base-preview naming and narrow permissions. |
.github/workflows/ci.yml |
Set read-only permissions and disable persisted credentials. |
.github/workflows/bundle_size.yml |
Restrict commenting workflow, harden access, and pin the comment action. |
.github/workflows/bundle_size_forks.yml |
Add read-only bundle-size summaries and artifacts for forks. |
Review effort: Balanced
🟢 No unit test coverage changes foundAll components and hooks with tests maintain the same coverage as the main branch. |
🟢 Bundle size report
|
🟢 No visual differences foundOur visual comparison tests did not find any differences in the UI. |
|
|
||
| - name: Measure bundle size (main branch) | ||
| working-directory: /tmp/main | ||
| run: npx size-limit --json > /tmp/main-sizes.json 2>/dev/null || echo "[]" > /tmp/main-sizes.json |

Summary
Towards unblocking #1520
Contributions from forks are not able to clear CI easily enough. See above for an example ☝️
This PR adds parallel workflows to allow CI gates to clear on forks, while splitting and hardening our maintainer-only workflows for continuity.
List of notable changes:
Steps to test:
Contributor checklist:
update snapshotslabel to the PR)Reviewer checklist:
Screenshots:
N/A