Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb6d6276

Browse files
authored
ci: disable chromatic on forks (#1806)
1 parent5833e37 commitb6d6276

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎.github/workflows/chromatic.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
# storybook snapshots will require manual approval/review in order for
4343
# the check to pass. This is desired in PRs, but not in mainline.
4444
-name:Publish to Chromatic (non-mainline)
45-
if:github.ref != 'refs/heads/main'
45+
if:github.ref != 'refs/heads/main' && github.repository_owner == 'coder'
4646
uses:chromaui/action@v1
4747
with:
4848
buildScriptName:"storybook:build"
@@ -59,7 +59,7 @@ jobs:
5959
# commits, but it's good to be defensive in case, otherwise CI remains
6060
# infinitely "in progress" in mainline unless we re-review each build.
6161
-name:Publish to Chromatic (mainline)
62-
if:github.ref == 'refs/heads/main'
62+
if:github.ref == 'refs/heads/main' && github.repository_owner == 'coder'
6363
uses:chromaui/action@v1
6464
with:
6565
autoAcceptChanges:true

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp