From 5f62004675c292805a513977859c2fcda62aeed9 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 14 Dec 2023 10:52:29 +0100 Subject: [PATCH] Fix condition --- .github/workflows/deploy-featurebranch.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy-featurebranch.yml b/.github/workflows/deploy-featurebranch.yml index b572908505..9bbab42436 100644 --- a/.github/workflows/deploy-featurebranch.yml +++ b/.github/workflows/deploy-featurebranch.yml @@ -8,8 +8,7 @@ on: jobs: release: if: | - github.event_name != 'pull_request' || - github.event.pull_request.head.repo.full_name == 'Budibase/budibase'|| + (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: