Skip to content

Commit

Permalink
fix(github-actions): check job before services
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jan 17, 2023
1 parent ef174ce commit 8868938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/manager/github-actions/extract.ts
Expand Up @@ -111,7 +111,7 @@ function extractWithYAMLParser(
deps.push(dep);
}

for (const service of Object.values(job.services ?? {})) {
for (const service of Object.values(job?.services ?? {})) {
const dep = extractContainer(service);
if (dep) {
dep.depType = 'service';
Expand Down

0 comments on commit 8868938

Please sign in to comment.