diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 42f0449f..90af2c2b 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -15,7 +15,7 @@ env: jobs: build-and-publish: - + if: github.event_name != 'pull_request' || github.event.repository.full_name == github.event.pull_request.head.repo.full_name runs-on: ubuntu-latest steps: @@ -23,7 +23,7 @@ jobs: run: | if [ "${{ github.event_name }}" == "pull_request" ] && [ "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.event.repository.full_name }}" ]; then echo "Skipping workflow as this pull request is from a fork." - exit 0 + exit 78 fi - uses: actions/checkout@v2