We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5833e37 commit b6d6276Copy full SHA for b6d6276
.github/workflows/chromatic.yaml
@@ -42,7 +42,7 @@ jobs:
42
# storybook snapshots will require manual approval/review in order for
43
# the check to pass. This is desired in PRs, but not in mainline.
44
- name: Publish to Chromatic (non-mainline)
45
- if: github.ref != 'refs/heads/main'
+ if: github.ref != 'refs/heads/main' && github.repository_owner == 'coder'
46
uses: chromaui/action@v1
47
with:
48
buildScriptName: "storybook:build"
@@ -59,7 +59,7 @@ jobs:
59
# commits, but it's good to be defensive in case, otherwise CI remains
60
# infinitely "in progress" in mainline unless we re-review each build.
61
- name: Publish to Chromatic (mainline)
62
- if: github.ref == 'refs/heads/main'
+ if: github.ref == 'refs/heads/main' && github.repository_owner == 'coder'
63
64
65
autoAcceptChanges: true
0 commit comments