Skip to content

Commit 758c8db

Browse files
author
Alex Holmansky
authored
Merge pull request #4 from alexh97/project-assigner
Rebuild the distro
2 parents 4c9f3b6 + 663f4fd commit 758c8db

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

project-assigner/dist/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20076,15 +20076,15 @@ async function handleLabeled(octokit, projectName, projectColumnId, labelToMatch
2007620076
core.setFailed(`Unrecognized event: ${github.context.eventName}`);
2007720077
}
2007820078

20079-
console.log(`Creating a new card for ${state} ${contentType} #${contentId} in project [${projectName}] column ${columnId} mathing label [${labelToMatch}], labeled by ${github.context.payload.sender.login}`);
20079+
console.log(`Creating a new card for ${state} ${contentType} #${contentId} in project [${projectName}] column ${projectColumnId} mathing label [${labelToMatch}], labeled by ${github.context.payload.sender.login}`);
2008020080
octokit.projects.createCard({
2008120081
column_id: projectColumnId,
2008220082
content_id: contentId,
2008320083
content_type: contentType
2008420084
}).then(function (response) {
20085-
console.log(`${contentType} #${contentId} added to project ${projectName} column ${columnId}`);
20085+
console.log(`${contentType} #${contentId} added to project ${projectName} column ${projectColumnId}`);
2008620086
}).catch(function(error) {
20087-
core.setFailed(`Error adding ${contentType} #${contentId} to project ${projectName} column ${columnId}: ${error.message}`);
20087+
core.setFailed(`Error adding ${contentType} #${contentId} to project ${projectName} column ${projectColumnId}: ${error.message}`);
2008820088
});
2008920089
}
2009020090
}

0 commit comments

Comments
 (0)