From 142bebc1eb2bf2fc6d4b0a4bfe6befb098697500 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Tue, 17 Jan 2023 07:35:00 +0100
Subject: [PATCH] fix(github-actions): defensive non-null check

---
 lib/modules/manager/github-actions/extract.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/modules/manager/github-actions/extract.ts b/lib/modules/manager/github-actions/extract.ts
index 6fcabfc79c..cc67a0e0ef 100644
--- a/lib/modules/manager/github-actions/extract.ts
+++ b/lib/modules/manager/github-actions/extract.ts
@@ -105,7 +105,7 @@ function extractWithYAMLParser(
   }
 
   for (const job of Object.values(pkg?.jobs ?? {})) {
-    const dep = extractContainer(job.container);
+    const dep = extractContainer(job?.container);
     if (dep) {
       dep.depType = 'container';
       deps.push(dep);
-- 
GitLab