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

Commit695113b

Browse files
matifalideansheather
authored andcommitted
ci: skip running test-e2e on PRs from forks (#15784)
Co-authored-by: Dean Sheather <dean@deansheather.com>
1 parent6fffb71 commit695113b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -630,11 +630,8 @@ jobs:
630630
working-directory:site
631631

632632
test-e2e:
633-
# test-e2e fails on 2-core 8GB runners, so we use the 4-core 16GB runner
634633
runs-on:${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest' }}
635634
needs:changes
636-
if:needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
637-
timeout-minutes:20
638635
strategy:
639636
fail-fast:false
640637
matrix:
@@ -643,6 +640,9 @@ jobs:
643640
name:test-e2e
644641
-premium:true
645642
name:test-e2e-premium
643+
# Skip test-e2e on forks as they don't have access to CI secrets
644+
if:(needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main') && !(github.event.pull_request.head.repo.fork)
645+
timeout-minutes:20
646646
name:${{ matrix.variant.name }}
647647
steps:
648648
-name:Harden Runner
@@ -749,7 +749,7 @@ jobs:
749749
# Prevent excessive build runs on minor version changes
750750
skip:"@(renovate/**|dependabot/**)"
751751
# Run TurboSnap to trace file dependencies to related stories
752-
# and tell chromatic to only take snapshots ofrelevent stories
752+
# and tell chromatic to only take snapshots ofrelevant stories
753753
onlyChanged:true
754754
# Avoid uploading single files, because that's very slow
755755
zip:true
@@ -776,7 +776,7 @@ jobs:
776776
workingDir:"./site"
777777
storybookBaseDir:"./site"
778778
# Run TurboSnap to trace file dependencies to related stories
779-
# and tell chromatic to only take snapshots ofrelevent stories
779+
# and tell chromatic to only take snapshots ofrelevant stories
780780
onlyChanged:true
781781
# Avoid uploading single files, because that's very slow
782782
zip:true

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp