From 96779d9f19d190941308def8f05988e999d3ae86 Mon Sep 17 00:00:00 2001 From: Will Gillis <40799239+t-will-gillis@users.noreply.github.com> Date: Mon, 4 Nov 2024 14:25:01 -0800 Subject: [PATCH] Update check-labels.js added explicit semicolon to address CodeQL alert --- .../trigger-issue/add-missing-labels-to-issues/check-labels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js b/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js index 367f058fc7..05f4da7061 100644 --- a/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js +++ b/github-actions/trigger-issue/add-missing-labels-to-issues/check-labels.js @@ -25,7 +25,7 @@ async function main({ g, c }) { const issueNum = context.payload.issue.number; const issueTitle = context.payload.issue.title; const templateTrigger = context.payload.issue.labels[0].name; - let labels = [] + let labels = []; // If the issue is a template, extract the labelKeys then convert to labels if (templateTrigger === 'Template Label Placeholder') {