|
42 | 42 | # storybook snapshots will require manual approval/review in order for
|
43 | 43 | # the check to pass. This is desired in PRs, but not in mainline.
|
44 | 44 | -name:Publish to Chromatic (non-mainline)
|
45 |
| -if:github.ref != 'refs/heads/main' |
| 45 | +if:github.ref != 'refs/heads/main' && github.repository_owner == 'coder' |
46 | 46 | uses:chromaui/action@v1
|
47 | 47 | with:
|
48 | 48 | buildScriptName:"storybook:build"
|
|
59 | 59 | # commits, but it's good to be defensive in case, otherwise CI remains
|
60 | 60 | # infinitely "in progress" in mainline unless we re-review each build.
|
61 | 61 | -name:Publish to Chromatic (mainline)
|
62 |
| -if:github.ref == 'refs/heads/main' |
| 62 | +if:github.ref == 'refs/heads/main' && github.repository_owner == 'coder' |
63 | 63 | uses:chromaui/action@v1
|
64 | 64 | with:
|
65 | 65 | autoAcceptChanges:true
|
|