From 25c10e7638836bd9f0ff2eba5fa065e57118f5de Mon Sep 17 00:00:00 2001 From: Andrew Novoselac Date: Mon, 15 Apr 2024 10:43:07 -0400 Subject: [PATCH] Test dont push on main on fork --- .github/workflows/devcontainer-smoke-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/devcontainer-smoke-test.yml b/.github/workflows/devcontainer-smoke-test.yml index cf28f6660ac8a..76711e7c394dc 100644 --- a/.github/workflows/devcontainer-smoke-test.yml +++ b/.github/workflows/devcontainer-smoke-test.yml @@ -46,5 +46,6 @@ jobs: imageName: ghcr.io/rails/smoke-test-devcontainer cacheFrom: ghcr.io/rails/smoke-test-devcontainer imageTag: ${{ matrix.DATABASE }} + push: ${{ github.repository_owner == 'rails' && 'filter' || 'never' }} refFilterForPush: refs/heads/main runCmd: bin/rails g scaffold Post && bin/rails db:migrate && bin/rails test \ No newline at end of file