From 7dc11180e543920a11b3553208f627f3fec2cfa3 Mon Sep 17 00:00:00 2001 From: Guy Owen Date: Tue, 17 Oct 2023 13:20:51 +1100 Subject: [PATCH] [DDS-1723] Updated build conditionals. --- .github/workflows/build-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index b6be8231..736c5ebc 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -6,7 +6,7 @@ on: workflow_dispatch: pull_request: branches: - - 'build/**' + - '5.x' pull_request_target: types: - closed @@ -15,7 +15,7 @@ env: REGISTRY: ghcr.io jobs: buildx: - if: github.event.pull_request.merged == true || contains(fromJson('["schedule", "workflow_dispatch", "pull_request"]'), github.event_name) + if: github.event.pull_request.merged == true || contains(fromJson('["schedule", "workflow_dispatch"]'), github.event_name) || github.event_name == 'pull_request' && startsWith(github.head_ref,'build/') runs-on: ubuntu-latest strategy: matrix: