@@ -188,7 +188,7 @@ jobs:
188
188
189
189
# Check for any typos
190
190
- name : Check for typos
191
- uses : crate-ci/typos@2872c382bb9668d4baa5eade234dcbc0048ca2cf # v1.28.2
191
+ uses : crate-ci/typos@d1c850b2b5d502763520c25fb4a6a1128ad99bd9 # v1.28.3
192
192
with :
193
193
config : .github/workflows/typos.toml
194
194
@@ -630,11 +630,8 @@ jobs:
630
630
working-directory : site
631
631
632
632
test-e2e :
633
- # test-e2e fails on 2-core 8GB runners, so we use the 4-core 16GB runner
634
633
runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest' }}
635
634
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
638
635
strategy :
639
636
fail-fast : false
640
637
matrix :
@@ -643,6 +640,9 @@ jobs:
643
640
name : test-e2e
644
641
- premium : true
645
642
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
646
646
name : ${{ matrix.variant.name }}
647
647
steps :
648
648
- name : Harden Runner
@@ -749,7 +749,7 @@ jobs:
749
749
# Prevent excessive build runs on minor version changes
750
750
skip : " @(renovate/**|dependabot/**)"
751
751
# Run TurboSnap to trace file dependencies to related stories
752
- # and tell chromatic to only take snapshots of relevent stories
752
+ # and tell chromatic to only take snapshots of relevant stories
753
753
onlyChanged : true
754
754
# Avoid uploading single files, because that's very slow
755
755
zip : true
@@ -776,7 +776,7 @@ jobs:
776
776
workingDir : " ./site"
777
777
storybookBaseDir : " ./site"
778
778
# Run TurboSnap to trace file dependencies to related stories
779
- # and tell chromatic to only take snapshots of relevent stories
779
+ # and tell chromatic to only take snapshots of relevant stories
780
780
onlyChanged : true
781
781
# Avoid uploading single files, because that's very slow
782
782
zip : true
@@ -895,7 +895,7 @@ jobs:
895
895
needs : changes
896
896
# We always build the dylibs on Go changes to verify we're not merging unbuildable code,
897
897
# but they need only be signed and uploaded on coder/coder main.
898
- if : needs.changes.outputs.docs-only == 'false ' || github.ref == 'refs/heads/main'
898
+ if : needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true ' || github.ref == 'refs/heads/main'
899
899
runs-on : ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest' }}
900
900
steps :
901
901
- name : Harden Runner
@@ -976,7 +976,7 @@ jobs:
976
976
- changes
977
977
- build-dylib
978
978
if : github.ref == 'refs/heads/main' && needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork
979
- runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest ' }}
979
+ runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04 ' }}
980
980
permissions :
981
981
packages : write # Needed to push images to ghcr.io
982
982
env :
0 commit comments