mirror of https://github.com/astral-sh/uv
don't check for pull-request state in workflow that can run on non-pulls
This commit is contained in:
parent
92de53f4eb
commit
bd2013d9f6
|
|
@ -90,7 +90,6 @@ jobs:
|
|||
|
||||
# Login to DockerHub (when not pushing, it's to avoid rate-limiting)
|
||||
- uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
||||
if: ${{ github.event.pull_request.head.repo.full_name == 'astral-sh/uv' }}
|
||||
with:
|
||||
username: ${{ needs.docker-plan.outputs.push == 'true' && 'astral' || 'astralshbot' }}
|
||||
password: ${{ needs.docker-plan.outputs.push == 'true' && secrets.DOCKERHUB_TOKEN_RW || secrets.DOCKERHUB_TOKEN_RO }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue