File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ jobs:
172
172
# push image on master, target branch not set, and the dependent steps were either successful or skipped
173
173
# TO-DO: enable job after workflow in CircleCI is disabled
174
174
if : false
175
- # if: github.ref == 'refs/heads/master' && !failure() && !cancelled()
175
+ # if: github.ref == 'refs/heads/master' && !failure() && !cancelled() && github.repository == 'localstack/localstack'
176
176
needs :
177
177
# all tests need to be successful for the image to be pushed
178
178
- test
@@ -252,7 +252,7 @@ jobs:
252
252
253
253
push-to-tinybird :
254
254
name : Push Workflow Status to Tinybird
255
- if : always() && github.ref == 'refs/heads/master'
255
+ if : always() && github.ref == 'refs/heads/master' && github.repository == 'localstack/localstack'
256
256
runs-on : ubuntu-latest
257
257
needs :
258
258
- test
Original file line number Diff line number Diff line change 66
66
67
67
push-to-tinybird :
68
68
name : Push Workflow Status to Tinybird
69
- if : always() && github.ref == 'refs/heads/master'
69
+ if : always() && github.ref == 'refs/heads/master' && github.repository == 'localstack/localstack'
70
70
runs-on : ubuntu-latest
71
71
needs :
72
72
- test-ma-mr
Original file line number Diff line number Diff line change @@ -284,6 +284,7 @@ jobs:
284
284
285
285
- name : Login to Docker Hub
286
286
# login to DockerHub to avoid rate limiting issues on custom runners
287
+ if : github.repository_owner == 'localstack'
287
288
uses : docker/login-action@v3
288
289
with :
289
290
username : ${{ secrets.DOCKERHUB_PULL_USERNAME }}
@@ -431,6 +432,7 @@ jobs:
431
432
432
433
- name : Login to Docker Hub
433
434
# login to DockerHub to avoid rate limiting issues on custom runners
435
+ if : github.repository_owner == 'localstack'
434
436
uses : docker/login-action@v3
435
437
with :
436
438
username : ${{ secrets.DOCKERHUB_PULL_USERNAME }}
@@ -679,6 +681,7 @@ jobs:
679
681
steps :
680
682
- name : Login to Docker Hub
681
683
# login to DockerHub to avoid rate limiting issues on custom runners
684
+ if : github.repository_owner == 'localstack'
682
685
uses : docker/login-action@v3
683
686
with :
684
687
username : ${{ secrets.DOCKERHUB_PULL_USERNAME }}
You can’t perform that action at this time.
0 commit comments