Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Commit 197a223

Browse files
committed
Fix verify_components: ignore generated docs stubs
The ruby_ui generator creates docs component stubs that conflict with the app's existing Components::ComponentSetup namespace (superclass mismatch). Revert those generated files before the git status check.
1 parent 8fa4bfb commit 197a223

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
- name: Build
7070
run: bin/rails g ruby_ui:component:all --force true
7171

72+
- name: Remove generated docs stubs (conflict with app overrides)
73+
run: git checkout -- app/components/ruby_ui/docs/ 2>/dev/null || rm -rf app/components/ruby_ui/docs/
74+
7275
- uses: CatChen/check-git-status-action@v2
7376
with:
7477
fail-if-not-clean: true

0 commit comments

Comments
 (0)