From ba0dbf5e8e512b4469e87f2531dfc9669eca12bb Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Fri, 19 Jul 2024 02:55:15 +0530 Subject: [PATCH] ci: empty string makes contains true --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9d01ea3..2b6d8a5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,8 +28,8 @@ jobs: matrix: node_version: [18, 20, 22] exclude: - - node_version: ${{ contains('labeled,ready_for_review', github.event.action) && 18 }} - - node_version: ${{ contains('labeled,ready_for_review', github.event.action) && 20 }} + - node_version: ${{ (github.event.action == 'labeled' || github.event.action == 'ready_for_review') && 18 }} + - node_version: ${{ (github.event.action == 'labeled' || github.event.action == 'ready_for_review') && 20 }} steps: - name: Checkout