Browse Source

CLDC-4263: implement minimal label-based approach

pull/3233/head
Nat Dean-Lewis 5 days ago
parent
commit
5c74e1bee6
  1. 3
      .github/workflows/review_pipeline.yml

3
.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:

Loading…
Cancel
Save