diff --git a/.github/workflows/publish-docker-image.yml b/.github/workflows/publish-docker-image.yml index 4cbcf3e2..5205ff45 100644 --- a/.github/workflows/publish-docker-image.yml +++ b/.github/workflows/publish-docker-image.yml @@ -14,8 +14,11 @@ env: jobs: build-and-publish: - # Skip if PR is from a fork - if: github.event_name != 'pull_request' || github.event.repository.full_name == github.event.pull_request.head.repo.full_name + # Skip if PR is from a fork or triggered by Dependabot + if: > + github.event_name != 'pull_request' || + (github.event.repository.full_name == github.event.pull_request.head.repo.full_name && + github.actor != 'dependabot[bot]') runs-on: ubuntu-latest steps: