From 4cd72649c3597c19351476e71dda0f3428417f95 Mon Sep 17 00:00:00 2001 From: Evan Mattson Date: Mon, 24 Jan 2022 15:06:50 +0200 Subject: [PATCH] Fix if condition in build-zips job. --- .github/workflows/zips.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/zips.yml b/.github/workflows/zips.yml index 791f1a390fb..869e6449f37 100644 --- a/.github/workflows/zips.yml +++ b/.github/workflows/zips.yml @@ -27,7 +27,15 @@ jobs: name: Build Zips runs-on: ubuntu-latest timeout-minutes: 20 - if: false == ( ( github.event_name == 'pull_request' && ( github.event.action == 'closed' || github.event.pull_request.draft == true || contains( github.head_ref, 'dependabot/' ) ) ) || github.event.pull_request.head.repo.fork ) + if: | + false == ( + github.event_name == 'pull_request' && ( + github.event.action == 'closed' || + github.event.pull_request.draft == true || + github.event.pull_request.head.repo.fork || + contains( github.head_ref, 'dependabot/' ) + ) + ) steps: - uses: styfle/cancel-workflow-action@0.8.0 - uses: actions/checkout@v2