From fdebe0b67666b82146a5510bc5bf474775dc0561 Mon Sep 17 00:00:00 2001 From: Sam Armstrong <88863522+Sam-Armstrong@users.noreply.github.com> Date: Thu, 16 Jan 2025 12:36:03 +0000 Subject: [PATCH] fix: only build dockerfile on workflow dispatch or push --- .github/workflows/dockerfile-image.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/dockerfile-image.yml b/.github/workflows/dockerfile-image.yml index b17b2890391e..e728520b507b 100644 --- a/.github/workflows/dockerfile-image.yml +++ b/.github/workflows/dockerfile-image.yml @@ -4,16 +4,10 @@ on: workflow_dispatch: push: branches: [ "main" ] - pull_request: - types: [review_requested] - branches: [ "main" ] jobs: - build: - if: ${{(github.event_name == 'push') || contains(github.event.pull_request.labels.*.name, 'Exhaustive CI') || contains(github.event.pull_request.labels.*.name, 'Build Docker Files')}} runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - name: Build Dockerfile