diff --git a/.github/workflows/docker-build-scan.yaml b/.github/workflows/docker-build-scan.yaml index 9ddb4cad499e..470067488888 100644 --- a/.github/workflows/docker-build-scan.yaml +++ b/.github/workflows/docker-build-scan.yaml @@ -29,6 +29,7 @@ jobs: if: | contains(needs.detect-files-changed.outputs.files-changed, 'op-chain-ops/cmd/celo-migrate') || contains(needs.detect-files-changed.outputs.files-changed, 'op-chain-ops/Dockerfile') || + contains(needs.detect-files-changed.outputs.files-changed, '.github/workflows/docker-build-scan.yaml') || github.event_name == 'workflow_dispatch' permissions: contents: read @@ -64,6 +65,7 @@ jobs: contains(needs.detect-files-changed.outputs.files-changed, 'op-batcher/') || contains(needs.detect-files-changed.outputs.files-changed, 'op-proposer/') || contains(needs.detect-files-changed.outputs.files-changed, 'op-service/') || + contains(needs.detect-files-changed.outputs.files-changed, '.github/workflows/docker-build-scan.yaml') || github.event_name == 'workflow_dispatch' permissions: contents: read