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 - opened
- synchronize - synchronize
- reopened - reopened
- labeled
workflow_dispatch: workflow_dispatch:
defaults: defaults:
@ -18,6 +19,7 @@ defaults:
jobs: jobs:
infra: infra:
name: Deploy review app infrastructure 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 uses: communitiesuk/submit-social-housing-lettings-and-sales-data-infrastructure/.github/workflows/create_review_app_infra.yml@main
with: with:
key: ${{ github.event.pull_request.number }} key: ${{ github.event.pull_request.number }}
@ -40,6 +42,7 @@ jobs:
comment: comment:
name: Add link to PR name: Add link to PR
if: contains(github.event.pull_request.labels.*.name, 'deploy-review')
needs: [code] needs: [code]
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:

Loading…
Cancel
Save