From patchwork Mon Aug 12 11:01:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Maximets X-Patchwork-Id: 1971537 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WjBRN70nqz1yYl for ; Mon, 12 Aug 2024 21:01:52 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 83CAB40214; Mon, 12 Aug 2024 11:01:50 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id EpUdy9bpYTMX; Mon, 12 Aug 2024 11:01:49 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.9.56; helo=lists.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 29D5C40238 Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 29D5C40238; Mon, 12 Aug 2024 11:01:49 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id DA59AC0035; Mon, 12 Aug 2024 11:01:48 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0C395C0033 for ; Mon, 12 Aug 2024 11:01:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D64358118A for ; Mon, 12 Aug 2024 11:01:46 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id BSd8qYiLBGbW for ; Mon, 12 Aug 2024 11:01:46 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.67; helo=mail-ed1-f67.google.com; envelope-from=i.maximets.ovn@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org CF07B81176 Authentication-Results: smtp1.osuosl.org; dmarc=none (p=none dis=none) header.from=ovn.org DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org CF07B81176 Received: from mail-ed1-f67.google.com (mail-ed1-f67.google.com [209.85.208.67]) by smtp1.osuosl.org (Postfix) with ESMTPS id CF07B81176 for ; Mon, 12 Aug 2024 11:01:45 +0000 (UTC) Received: by mail-ed1-f67.google.com with SMTP id 4fb4d7f45d1cf-5bb8e62570fso5005667a12.1 for ; Mon, 12 Aug 2024 04:01:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723460504; x=1724065304; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LQVK7ba0TXQCdeBqkMEJ64cax3J66Q0D0hqqE22ARrs=; b=YapA5+nkOm+CAiwxWMe47XnzoAP9TpLgNbBRMy0IoHCFMy2tWPhAq6U2p6lWgzbyoP Q+xwSf3SjfuiRpp6BcKPek30AAw+g+Ns3CxItCqBNhRKFMWw4nYHlT0NRF6vniyvcYfP 4FAJ1Q0WmU47wSP74b2zmq2UJgNFIhybxTCST32zG7FdJaZF8orvm4pUZhnTlaOn6d2f aIgLF+RjH1dENwzD5+wFQ4t8rJKVcrtA6cSCfvK5wzptXbthU/wz3E/InlBEzGVVyRB0 Vxjv8c2MHgSlT/k52OljDn4nWXGj4cf0BsYGU+aN4/IVblW4ckrpiuuAZHAxiwqVLdXW 6LkQ== X-Gm-Message-State: AOJu0YwFOeFbmaLCf8xJUQEl5X5Luz0acDBSoda0hCzv/V9UKgCiuLuu 9SUQtCZ2EDqs/sVLZnmY4aGPsbc8RVlDI42LM+WaAPn9AGNTViwfKhwj7sY3apc= X-Google-Smtp-Source: AGHT+IFiqQB3cjJPiCIOQyv2f7qfk0EfA8Gl53cyd7bPCJyCp60IRR9qTwztaGQeZME3Q6TbQM+PXQ== X-Received: by 2002:a17:906:f585:b0:a7a:b070:92cc with SMTP id a640c23a62f3a-a80aa660114mr658378666b.45.1723460503436; Mon, 12 Aug 2024 04:01:43 -0700 (PDT) Received: from im-t490s.redhat.com (ip-86-49-44-151.bb.vodafone.cz. [86.49.44.151]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a80bb0e1240sm221057866b.73.2024.08.12.04.01.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Aug 2024 04:01:42 -0700 (PDT) From: Ilya Maximets To: ovs-dev@openvswitch.org Date: Mon, 12 Aug 2024 13:01:34 +0200 Message-ID: <20240812110139.631261-1-i.maximets@ovn.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Subject: [ovs-dev] [PATCH ovn] github: containers: Fix job condition. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dumitru Ceara , Ilya Maximets Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Unlike 'jobs..steps.if', the 'jobs..if' doesn't allow use of the 'env' context. This breaks the workflow parsing: Invalid workflow file: .github/workflows/containers.yml#L18 The workflow is not valid. .github/workflows/containers.yml (Line: 18, Col: 9): Unrecognized named-value: 'env'. Located at position 28 within expression: github.repository_owner == env.IMAGE_NAMESPACE Use the name directly, as we do in other workflows. Fixes: 2e5a69d12849 ("github: Don't run scheduled workflows on forks.") Signed-off-by: Ilya Maximets --- .github/workflows/containers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 9c062971e..bfef352a7 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -15,7 +15,7 @@ env: jobs: container: - if: github.repository_owner == env.IMAGE_NAMESPACE + if: github.repository_owner == 'ovn-org' runs-on: ubuntu-24.04 strategy: matrix: