Skip to content

Commit

Permalink
Fix E2E tests for forks (#892)
Browse files Browse the repository at this point in the history
* Fix E2E tests for forks

* Revert to Claudio's original solution
  • Loading branch information
mvitale1989 authored Oct 28, 2024
1 parent 1620c68 commit 7134b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
- name: e2e/docker-login
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
# Do not authenticate on Forks
if: "github.event.repository.full_name == github.repository"
if: "! github.event.pull_request.head.repo.fork"
with:
username: ${{ secrets.DOCKERHUB_DEV_USERNAME }}
password: ${{ secrets.DOCKERHUB_DEV_TOKEN }}
Expand Down

0 comments on commit 7134b75

Please sign in to comment.