Skip to content

Commit 9d0fc24

Browse files
committed
Check issue cleaned
1 parent adbda84 commit 9d0fc24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/action.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ const postDriftDetectionSummary = async (context, maxOpenedIssues, componentsToI
295295
for (let slug of Object.keys(componentsToNewlyCreatedIssues)) {
296296
const issueNumber = componentsToNewlyCreatedIssues[slug];
297297

298-
if (driftingComponent.includes(slug)) {
298+
if (driftingComponents.includes(slug)) {
299299
table.push( `| [${slug}](https://github.com/${orgName}/${repo}/actions/runs/${runId}#user-content-result-${slug}) | ![drifted](https://shields.io/badge/DRIFTED-important?style=for-the-badge "Drifted") | New drift detected. Created new issue [#${issueNumber}](https://github.com/${orgName}/${repo}/issues/${issueNumber}) |`);
300300
} else if (erroredComponents.includes(slug)) {
301301
table.push( `| [${slug}](https://github.com/${orgName}/${repo}/actions/runs/${runId}#user-content-result-${slug}) | ![failed](https://shields.io/badge/FAILED-ff0000?style=for-the-badge "Failed") | Failure detected. Created new issue [#${issueNumber}](https://github.com/${orgName}/${repo}/issues/${issueNumber}) |`);

0 commit comments

Comments
 (0)