diff --git a/.github/workflows/aws-main.yml b/.github/workflows/aws-main.yml index 013ff5b13f0d7..3d8c2ae9c6966 100644 --- a/.github/workflows/aws-main.yml +++ b/.github/workflows/aws-main.yml @@ -172,7 +172,7 @@ jobs: # push image on master, target branch not set, and the dependent steps were either successful or skipped # TO-DO: enable job after workflow in CircleCI is disabled if: false - # if: github.ref == 'refs/heads/master' && !failure() && !cancelled() + # if: github.ref == 'refs/heads/master' && !failure() && !cancelled() && github.repository == 'localstack/localstack' needs: # all tests need to be successful for the image to be pushed - test @@ -252,7 +252,7 @@ jobs: push-to-tinybird: name: Push Workflow Status to Tinybird - if: always() && github.ref == 'refs/heads/master' + if: always() && github.ref == 'refs/heads/master' && github.repository == 'localstack/localstack' runs-on: ubuntu-latest needs: - test diff --git a/.github/workflows/aws-tests-mamr.yml b/.github/workflows/aws-tests-mamr.yml index afd8bcea22251..f8db67f33a149 100644 --- a/.github/workflows/aws-tests-mamr.yml +++ b/.github/workflows/aws-tests-mamr.yml @@ -66,7 +66,7 @@ jobs: push-to-tinybird: name: Push Workflow Status to Tinybird - if: always() && github.ref == 'refs/heads/master' + if: always() && github.ref == 'refs/heads/master' && github.repository == 'localstack/localstack' runs-on: ubuntu-latest needs: - test-ma-mr diff --git a/.github/workflows/aws-tests.yml b/.github/workflows/aws-tests.yml index 8a6b69bc9ced6..5b01253c0f89a 100644 --- a/.github/workflows/aws-tests.yml +++ b/.github/workflows/aws-tests.yml @@ -284,6 +284,7 @@ jobs: - name: Login to Docker Hub # login to DockerHub to avoid rate limiting issues on custom runners + if: github.repository_owner == 'localstack' uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_PULL_USERNAME }} @@ -431,6 +432,7 @@ jobs: - name: Login to Docker Hub # login to DockerHub to avoid rate limiting issues on custom runners + if: github.repository_owner == 'localstack' uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_PULL_USERNAME }} @@ -679,6 +681,7 @@ jobs: steps: - name: Login to Docker Hub # login to DockerHub to avoid rate limiting issues on custom runners + if: github.repository_owner == 'localstack' uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_PULL_USERNAME }}