Commit 2a70efb
fix(ci): improve Chromatic workflow — auto-accept on main, path filter
- Run on push to main to establish baselines (was PR-only)
- autoAcceptChanges on main — no manual review needed for source of truth
- Narrow path filter for main push (components, styles, storybook only)
- Broad path filter for PRs (frontend/**) to catch indirect regressions
- Fix if condition to handle both push and pull_request events
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 807185b commit 2a70efb
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
4 | 13 | | |
5 | 14 | | |
6 | 15 | | |
| |||
14 | 23 | | |
15 | 24 | | |
16 | 25 | | |
17 | | - | |
| 26 | + | |
18 | 27 | | |
19 | 28 | | |
20 | 29 | | |
| |||
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
| 55 | + | |
0 commit comments