ci: only rebuild docker if event is pull request and is from outside (#32997)

pull/32967/head^2
Guilherme Gazzo 2 years ago committed by GitHub
parent a5196d0e43
commit 45f0bc7069
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/ci-test-e2e.yml

@ -133,7 +133,7 @@ jobs:
# if we are testing a PR from a fork, we need to build the docker image at this point
- uses: ./.github/actions/build-docker
if: github.event.pull_request.head.repo.full_name != github.repository
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
with:
CR_USER: ${{ secrets.CR_USER }}
CR_PAT: ${{ secrets.CR_PAT }}

Loading…
Cancel
Save