Skip to content

Commit 6d3fd5b

Browse files
authored
Merge pull request rails#51569 from Shopify/dont-push-devcontainer-image-from-fork
Fix devcontainer smoke test for forked repos
2 parents 778039b + 9928479 commit 6d3fd5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/devcontainer-smoke-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ jobs:
4646
imageName: ghcr.io/rails/smoke-test-devcontainer
4747
cacheFrom: ghcr.io/rails/smoke-test-devcontainer
4848
imageTag: ${{ matrix.DATABASE }}
49+
push: ${{ github.repository_owner == 'rails' && 'filter' || 'never' }}
4950
refFilterForPush: refs/heads/main
5051
runCmd: bin/rails g scaffold Post && bin/rails db:migrate && bin/rails test

0 commit comments

Comments
 (0)