From 5c74e1bee68d904797dd8b92500504d1b2676ea1 Mon Sep 17 00:00:00 2001 From: Nat Dean-Lewis Date: Fri, 13 Mar 2026 13:55:35 +0000 Subject: [PATCH] CLDC-4263: implement minimal label-based approach --- .github/workflows/review_pipeline.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/review_pipeline.yml b/.github/workflows/review_pipeline.yml index b31f81e23..da45db9b1 100644 --- a/.github/workflows/review_pipeline.yml +++ b/.github/workflows/review_pipeline.yml @@ -9,6 +9,7 @@ on: - opened - synchronize - reopened + - labeled workflow_dispatch: defaults: @@ -18,6 +19,7 @@ defaults: jobs: infra: name: Deploy review app infrastructure + if: contains(github.event.pull_request.labels.*.name, 'deploy-review') uses: communitiesuk/submit-social-housing-lettings-and-sales-data-infrastructure/.github/workflows/create_review_app_infra.yml@main with: key: ${{ github.event.pull_request.number }} @@ -40,6 +42,7 @@ jobs: comment: name: Add link to PR + if: contains(github.event.pull_request.labels.*.name, 'deploy-review') needs: [code] runs-on: ubuntu-latest permissions: