Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GithubActions: skip tinybird, docker push and docker login in forks #12639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/aws-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aws-tests-mamr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/aws-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
Loading