You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
table.push(`| [${slug}](https://github.com/${orgName}/${repo}/actions/runs/${runId}#user-content-result-${slug}) |  | New drift detected. Created new issue [#${issueNumber}](https://github.com/${orgName}/${repo}/issues/${issueNumber}) |`);
300
-
}elseif(erroredComponents.hasOwnProperty(slug)){
300
+
}elseif(erroredComponents.includes(slug)){
301
301
table.push(`| [${slug}](https://github.com/${orgName}/${repo}/actions/runs/${runId}#user-content-result-${slug}) |  | Failure detected. Created new issue [#${issueNumber}](https://github.com/${orgName}/${repo}/issues/${issueNumber}) |`);
table.push(`| [${slug}](https://github.com/${orgName}/${repo}/actions/runs/${runId}#user-content-result-${slug}) |  | New drift detected. Issue was not created because maximum number of created issues ${maxOpenedIssues} reached |`);
311
-
}elseif(erroredComponents.hasOwnProperty(slug)){
311
+
}elseif(erroredComponents.includes(slug)){
312
312
table.push(`| [${slug}](https://github.com/${orgName}/${repo}/actions/runs/${runId}#user-content-result-${slug}) |  | Failure detected. Issue was not created because maximum number of created issues ${maxOpenedIssues} reached |`);
0 commit comments