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}) |`);
298
+
if(driftingComponents.hasOwnProperty(slug)){
299
+
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)){
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 |`);
309
+
if(driftingComponents.hasOwnProperty(slug)){
310
+
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)){
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