Skip to content

Commit 632ebd7

Browse files
committed
Only push devcontainer from rails/rails
1 parent a628975 commit 632ebd7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
imageName: ghcr.io/rails/smoke-test-devcontainer
4141
cacheFrom: ghcr.io/rails/smoke-test-devcontainer
4242
imageTag: sqlite3
43-
push: ${{ github.repository_owner == 'rails' && 'filter' || 'never' }}
43+
push: ${{ github.repository == 'rails/rails' && 'filter' || 'never' }}
4444
refFilterForPush: refs/heads/main
4545
runCmd: bin/rails g scaffold Post && bin/rails db:migrate && bin/rails test
4646

@@ -57,7 +57,7 @@ jobs:
5757
imageName: ghcr.io/rails/smoke-test-devcontainer
5858
cacheFrom: ghcr.io/rails/smoke-test-devcontainer
5959
imageTag: postgresql
60-
push: ${{ github.repository_owner == 'rails' && 'filter' || 'never' }}
60+
push: ${{ github.repository == 'rails/rails' && 'filter' || 'never' }}
6161
refFilterForPush: refs/heads/main
6262
runCmd: bin/rails g scaffold Post && bin/rails db:migrate && bin/rails test && bin/rails test:system
6363

@@ -74,7 +74,7 @@ jobs:
7474
imageName: ghcr.io/rails/smoke-test-devcontainer
7575
cacheFrom: ghcr.io/rails/smoke-test-devcontainer
7676
imageTag: mysql
77-
push: ${{ github.repository_owner == 'rails' && 'filter' || 'never' }}
77+
push: ${{ github.repository == 'rails/rails' && 'filter' || 'never' }}
7878
refFilterForPush: refs/heads/main
7979
runCmd: bin/rails g scaffold Post && bin/rails db:migrate && bin/rails test
8080

@@ -91,7 +91,7 @@ jobs:
9191
imageName: ghcr.io/rails/smoke-test-devcontainer
9292
cacheFrom: ghcr.io/rails/smoke-test-devcontainer
9393
imageTag: trilogy
94-
push: ${{ github.repository_owner == 'rails' && 'filter' || 'never' }}
94+
push: ${{ github.repository == 'rails/rails' && 'filter' || 'never' }}
9595
refFilterForPush: refs/heads/main
9696
runCmd: bin/rails g scaffold Post && bin/rails db:migrate && bin/rails test
9797

0 commit comments

Comments
 (0)