diff --git a/actions-languageservice/src/context-providers/needs.ts b/actions-languageservice/src/context-providers/needs.ts index 559aa94..92ec131 100644 --- a/actions-languageservice/src/context-providers/needs.ts +++ b/actions-languageservice/src/context-providers/needs.ts @@ -10,8 +10,8 @@ export function getNeedsContext(workflowContext: WorkflowContext): data.Dictiona } for (const jobID of workflowContext.job.needs) { - const job = workflowContext.template?.jobs.find(job => job.id.value === jobID); - d.add(jobID, needsJobContext(job)); + const job = workflowContext.template?.jobs.find(job => job.id.value === jobID.value); + d.add(jobID.value, needsJobContext(job)); } return d;