diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 7e93a94..ef82e34 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -15,11 +15,13 @@ env: jobs: lint: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: elastx/actions/docker-lint@main build-and-push-latest: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository runs-on: - self-hosted - non-persistent