From 46abfdd1eab1277add97b71107a155bf731b293b Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 14 Dec 2023 10:48:57 +0100 Subject: [PATCH] Add label for deployments --- .github/workflows/deploy-featurebranch.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-featurebranch.yml b/.github/workflows/deploy-featurebranch.yml index c70f2fff20..b572908505 100644 --- a/.github/workflows/deploy-featurebranch.yml +++ b/.github/workflows/deploy-featurebranch.yml @@ -7,7 +7,10 @@ on: jobs: release: - if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'Budibase/budibase' + if: | + github.event_name != 'pull_request' || + github.event.pull_request.head.repo.full_name == 'Budibase/budibase'|| + contains(github.event.issue.labels.*.name, 'feature-branch') runs-on: ubuntu-latest steps: - uses: actions/checkout@v3