From eadf8a5fe165a976c99ab2d6cb32c6d4189761f4 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Tue, 29 Nov 2022 18:31:35 +0100 Subject: [PATCH] fix(ci): fix conditions in netlify workflow Signed-off-by: Tilman Vatteroth --- .github/workflows/frontend-netlify-deploy-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frontend-netlify-deploy-pr.yml b/.github/workflows/frontend-netlify-deploy-pr.yml index ce6b8afd7..1fd5c4fc0 100644 --- a/.github/workflows/frontend-netlify-deploy-pr.yml +++ b/.github/workflows/frontend-netlify-deploy-pr.yml @@ -63,7 +63,7 @@ jobs: deploy: needs: changes - if: "github.event.pull_request.draft == false || contains( github.event.pull_request.labels.*.name, 'ci: force deployment') && (github.event_name == 'pull_request_target') == github.event.pull_request.head.repo.fork" + if: "(github.event.pull_request.draft == false || contains( github.event.pull_request.labels.*.name, 'ci: force deployment')) && ((github.event_name == 'pull_request_target') == github.event.pull_request.head.repo.fork)" runs-on: ubuntu-latest name: Deploys to netlify env: